GitNexus/gitnexus/test
rgb-vgx d0bfc3ee8d fix(group): match Go route extraction to framework argument order
Address the three nexus-check findings on PR #3458:

- Echo handler position: `e.GET("/x", h.Handler, auth.Middleware)` puts the
  handler SECOND (echo: path, handler, middleware...), gin puts it last
  (path, middleware..., handler). An echo-only import (matched on the import
  path, alias-safe) now selects the first argument after the path; gin-only,
  mixed, and import-less files keep the last-argument anchor.
- For-loop post binding: findBinding scanned every named child of a
  for_clause, including `update`, which runs after the body — a
  `g = r.Group("/new")` post statement shadowed the group the body sees.
  Only the `initializer` slot binds before the body.
- Duplicate slashes: joinRoutePath collapsed "//" only at the join boundary,
  while ingestion's normalizeExtractedRoutePath collapses every run and the
  downstream contract-id normalizer does not — a path keeping "//" split into
  two contract ids across the strategies. Collapse the final result on every
  return branch instead.

Tests: +6 (echo-only handler, both-imports fallback, for-post scoping,
duplicate-slash collapse); go-gin suite 36, group suite 1297, ingestion Go 71.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-04 02:20:32 +07:00
..
fixtures fix(search): report partially missing FTS indexes in query results (#3448) 2026-10-03 07:36:27 +01:00
helpers refactor(analyze): move detected-branch sanitization off CLI config (#3325) 2026-09-18 11:03:24 +01:00
integration fix(staleness): detect rollback with one Git query (#3445) 2026-10-03 07:42:26 +00:00
unit fix(group): match Go route extraction to framework argument order 2026-10-04 02:20:32 +07:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00