Skip to content

fix(mcp): correct project metadata and snippet paths#262

Open
himanshuranjann wants to merge 21 commits intoDeusData:mainfrom
himanshuranjann:feature/uptrace-codebase-memory-intg
Open

fix(mcp): correct project metadata and snippet paths#262
himanshuranjann wants to merge 21 commits intoDeusData:mainfrom
himanshuranjann:feature/uptrace-codebase-memory-intg

Conversation

@himanshuranjann
Copy link
Copy Markdown

No description provided.

himanshuranjann and others added 21 commits April 15, 2026 04:10
Adds GHL-specific additions on top of the forked codebase-memory-mcp:

- ghl/internal/manifest  — REPOS.yaml parser (fleet manifest)
- ghl/internal/mcp       — JSON-RPC 2.0 stdio client for the cbm binary
- ghl/internal/webhook   — GitHub push webhook handler (HMAC-SHA256)
- ghl/internal/bridge    — HTTP ↔ stdio bridge (Bearer token auth)
- ghl/internal/indexer   — Fleet orchestrator with concurrency semaphore
- ghl/cmd/server         — HTTP server (chi): /mcp, /health, /webhooks/github,
                           /index/{repoSlug}, /status; cron scheduler
- REPOS.yaml             — Fleet manifest: 100+ GHL repositories across all teams
- Dockerfile.ghl         — Multi-stage: cbm binary + Go fleet server → distroless
- deployments/ghl/helm/  — Helm chart for GKE: Deployment, Service, PVC,
                           VirtualService, ServiceAccount, ConfigMap

All 37 tests pass (manifest/mcp/webhook/bridge/indexer packages).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces the hand-curated placeholder list with 480 real repositories
auto-fetched via GitHub API (archived repos excluded). Repos are grouped
by team and classified by name patterns into type + tags.

Teams: platform(322) marketing(36) ai(18) calendars(12) funnels(13)
       payments(12) reporting(11) revex(25) saas(8) integrations(6)
       conversations(6) crm(8) phone(3)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The indexer client pool was releasing dead clients (broken pipe) back to
the pool, causing cascading failures for all subsequent indexing. Now
clients are retired on error and replaced asynchronously.

Also adds:
- GCS-backed artifact persistence for index durability across restarts
- Separate CloneCacheDir / CBMCacheDir config (was single CacheDir)
- INDEXER_CLIENT_MAX_USES for proactive client recycling
- index-all HTTP endpoint + RUN_MODE=index-all one-shot mode
- Configurable startup/scheduled indexing toggles

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant