GitNexus/gitnexus/test
rgb-vgx dd1ed19c6e fix(group): trace grouped receivers to their framework constructor
Review finding on the mixed-import handler choice: a route registered on a
group (`api := e.Group(...); api.GET(...)`) bound its receiver to the
Group() call rather than a constructor, so constructor provenance failed
and the conservative last-argument fallback picked echo's middleware as
the handler name.

receiverBindsToEchoConstructor now walks enclosing Group() calls on the
way to the constructor (depth-capped by MAX_GROUP_DEPTH, mirroring
groupPrefix), so an echo group chain resolves to echo.New()/echo.Default()
and takes the first-argument handler, while a gin chain still fails the
echo-alias check and keeps the last-argument rule. Provenance must still
END at a constructor: parameters and unrelated New() remain fallback.

Tests: 39 in the go-gin file (new: grouped echo + gin chains in one mixed
file); group suite 1302 green; prettier/eslint/tsc clean.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-04 13:13:09 +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): trace grouped receivers to their framework constructor 2026-10-04 13:13:09 +07:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00