Angular HttpClient calls can be linked to the wrong cross-repo route
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- angular, java, spring, typescript
- Ambito
- backend-api-design, devtools
Direzione di ricerca
Start by tracing how Angular's verb-specific HttpClient.get(...) calls are indexed into HTTP_CALLS, then follow how CROSS_HTTP_CALLS matches those records to API routes. Reproduce with the listed /items routes and inspect the client and API graph records. Done means GET calls record the GET method, link to matching GET routes, and no longer match the listed DELETE or POST routes based only on path resemblance.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Cross-repo HTTP links can point an Angular client call to the wrong API route. In a TypeScript/Angular client, an explicit HttpClient.get(...) call is represented in the graph with an empty HTTP method. When the API exposes routes whose paths overlap under template matching, CROSS_HTTP_CALLS can associate a GET request with a DELETE or POST handler instead of the matching GET route. In one observed indexed client/API pair within a larger shared store, the client graph contained 12 links while the API-side graph contained 9 reverse records.
Environment
- codebase-memory-mcp: v0.12.1
- OS: Linux x86_64 (WSL2)
- Projects: TypeScript/Angular client and Java/Spring API indexed as separate projects in one store
- Model: Not applicable; deterministic static indexing
Reproduction Steps
- Index a TypeScript/Angular client that makes
HttpClient.get(...)calls to/items/list,/items/{id}, and/items/job/{jobId}. - Index a Java/Spring API exposing
GET /items/list,GET /items/{id},DELETE /items/{id},GET /items/job/{jobId}, andPOST /items/{parentId}/{id}. - Run
index_repositoryincross-repo-intelligencemode between the two projects. - Inspect the client's
HTTP_CALLSandCROSS_HTTP_CALLSrecords and the API project's reverse records.
Expected Behavior
The graph records GET for verb-specific HttpClient.get(...) calls and links each call to the corresponding GET route. A GET call should not be associated with a DELETE or POST route solely because its path resembles a parameterized route.
Actual Behavior
In the observed run, HTTP_CALLS.method was empty for explicit GET calls. Cross-repo links associated the list and item GET calls with DELETE /items/{id}, and associated GET /items/job/{jobId} with POST /items/{parentId}/{id}. The client graph contained 12 links to the API, while the API-side view contained 9 reverse records. These are static graph results, not runtime traffic measurements.
Additional Context
Related but distinct reports: #1611 covers method extraction from fetch options; this reproduction uses Angular's verb-specific HttpClient.get(...) API. #1459 tracks ambiguous path-based cross-repo matches.
- Lingua principale
- C
- Stelle
- 45.8k
- Fork
- 3.8k
- Merge medio
- 3g 4h
- PR unite (30g)
- 208
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DeusData/codebase-memory-mcp
-
Generated Pi extension (cbmem.ts) breaks Gemini/Antigravity: Type.Union of Type.Literal serializes to anyOf/constForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug editor/integration
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2787 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
editor/integration parsing/quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DeusData/codebase-memory-mcp#2286 ·
I maintainer di solito rispondono entro 2 giorni
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsApertabug editor/integration priority/high stability/performance ux/behavior
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2239 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug priority/high ux/behavior
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
DeusData/codebase-memory-mcp#2232 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
documentation editor/integration parsing/quality priority/normal
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
DeusData/codebase-memory-mcp#2169 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di DeusData/codebase-memory-mcp
Issue simili
-
dependency component: oneMKL module: dpclang
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
intel/torch-xpu-ops#5880 ·
I maintainer di solito rispondono entro 2 giorni
-
area/ci-build bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
DarkFlippers/qUnleashed#423 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
CVE-2026-111497Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
fink/fink-distributions#1322 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
openvehicles/Open-Vehicle-Monitoring-System-3#1563 ·
I maintainer di solito rispondono entro 2 giorni