Angular HttpClient calls can be linked to the wrong cross-repo route
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- angular, java, spring, typescript
- Área
- backend-api-design, devtools
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 45.8k
- Forks
- 3.8k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 208
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DeusData/codebase-memory-mcp
-
bug editor/integration
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DeusData/codebase-memory-mcp#2787 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
editor/integration parsing/quality
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
DeusData/codebase-memory-mcp#2286 ·
Los mantenedores suelen responder en 2 días
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsAbiertobug editor/integration priority/high stability/performance ux/behavior
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DeusData/codebase-memory-mcp#2239 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug priority/high ux/behavior
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DeusData/codebase-memory-mcp#2232 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
documentation editor/integration parsing/quality priority/normal
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
DeusData/codebase-memory-mcp#2169 ·
Los mantenedores suelen responder en 2 días
Todos los issues de DeusData/codebase-memory-mcp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
HexaCluster/credcheck#86 ·
-
Wheels for Python 3.15Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
mongodb/winkerberos#175 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
Add `CPC_TAKE_TILL_CHARS`Abiertodifficulty: easy
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100