GitNexus/gitnexus/test
rgb-vgx cb9edf4305 fix(group): decode Go string escapes in HTTP route literals
unquoteLiteral only strips surrounding quotes, so an interpreted Go
string kept its escape sequences verbatim: r.Group("/api\x2fv1") was
recorded as /api\x2fv1 although the runtime registers /api/v1. The
ingestion extractor already decodes Go strings fully (strconv.Unquote
semantics: simple/hex/octal/\u/\U escapes, raw-string carriage returns,
fail-closed on undecodable bytes), so the graph and the source-scan
plugin disagreed on the same route's contract id — both survive the
merge as a wrong-path duplicate.

Extract that decoding into route-extractors/go-shared.ts and use it
from both layers: go-gin-echo.ts imports it unchanged, and every
string capture in the group Go plugin (group prefixes, framework paths,
HandleFunc, http client, NewRequest, resty) now goes through it.
Raw (backtick) strings keep Go semantics: no escape processing.

Covers it with two tests: hex escapes decoded in a prefix and a route
path, and escapes left literal inside a raw-string prefix.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-04 01:32:25 +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): decode Go string escapes in HTTP route literals 2026-10-04 01:32:25 +07:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00