Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: colbymchenry/codegraph
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: darklordVirtual/codegraph
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 18 files changed
  • 3 contributors

Commits on May 13, 2026

  1. feat: add Cloudflare Worker MCP layer

    Adds a complete Cloudflare-native code-intelligence backend alongside
    the existing local CodeGraph indexer.
    
    Architecture:
    - GitHub Action (codegraph-index.yml) runs the existing CodeGraph
      indexer and uploads the SQLite index to Cloudflare D1
    - Cloudflare Worker (cloudflare/) serves an MCP HTTP endpoint that
      queries D1 for symbols, callers, callees, impact radius, etc.
    - GitHub webhook handler auto-creates the workflow file in newly
      installed repos (GitHub App support)
    
    Setup in three commands (from cloudflare/):
      npm run setup                   # deploy Worker + set secrets
      npm run add-repo owner/repo     # onboard a repo via gh CLI
      npm run configure-mcp owner/repo # write MCP config to ~/.claude/settings.json
    
    Cloudflare resources:
      D1 database: codegraph (1555e587-2b51-4f85-b3e4-691f3dcaecd4, EEUR)
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    darklordVirtual and claude committed May 13, 2026
    Configuration menu
    Copy the full SHA
    c2b28cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2d10dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b53090 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    327a404 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    355bce6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae78d2e View commit details
    Browse the repository at this point in the history
  7. fix: use /query endpoint for D1 uploads, fix workflow

    - d1Batch now uses /query (REST API has no /batch endpoint)
    - Workflow: codegraph init before index, codegraph.db not index.db
    - Workflow: correct cloudflare/scripts/ URL path
    - Workflow: remove npm cache (breaks non-Node repos)
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    darklordVirtual and claude committed May 13, 2026
    Configuration menu
    Copy the full SHA
    badb89d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b56699f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f7dbb32 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    877d3bf View commit details
    Browse the repository at this point in the history

Commits on May 14, 2026

  1. fix: batch D1 inserts to respect 100-param limit

    Rewrote upload_py.py to batch multi-row INSERTs within D1's hard
    100-parameter-per-query limit. Reduces API calls from 75K to ~6K
    for a large repo, cutting upload time from ~50 min to ~4 min.
    Adds size warnings when repos exceed 25K nodes / 50K edges.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
    darklordVirtual and claude committed May 14, 2026
    Configuration menu
    Copy the full SHA
    3b7522e View commit details
    Browse the repository at this point in the history
Loading