Skip to content

Fix unmatched_reason doc drift; promote reason strings to constants - #94

Merged
dejo1307 merged 1 commit into
mainfrom
fix/gap-lk-10-unmatched-reason-doc-drift
Jul 10, 2026
Merged

Fix unmatched_reason doc drift; promote reason strings to constants#94
dejo1307 merged 1 commit into
mainfrom
fix/gap-lk-10-unmatched-reason-doc-drift

Conversation

@dejo1307

Copy link
Copy Markdown
Collaborator

Both doc comments named an unmatched_reason value "no_match" the linker never emits (it emits method_mismatch/path_unknown). Correct both comments and hoist the four reason strings to exported crossrepo.Reason* constants so the list lives once. No cacheVersion bump — emitted strings unchanged, facts.jsonl byte-identical. Add TestUnmatchedReasonConstants and method_mismatch/generic_path cases to TestFlagUnmatchedRoutes_ClientSide.

Both doc comments named an unmatched_reason value "no_match" the linker
never emits (it emits method_mismatch/path_unknown). Correct both comments
and hoist the four reason strings to exported crossrepo.Reason* constants so
the list lives once. No cacheVersion bump — emitted strings unchanged,
facts.jsonl byte-identical. Add TestUnmatchedReasonConstants and
method_mismatch/generic_path cases to TestFlagUnmatchedRoutes_ClientSide.
@dejo1307
dejo1307 merged commit 6e48cdf into main Jul 10, 2026
4 checks passed
@dejo1307
dejo1307 deleted the fix/gap-lk-10-unmatched-reason-doc-drift branch July 17, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant