Skip to content

fix(boringstack): extractFailures parses lint:meta i18n violations on .json locale files#150

Merged
agjs merged 1 commit into
mainfrom
fix/extract-failures-lintmeta-json
Jul 20, 2026
Merged

fix(boringstack): extractFailures parses lint:meta i18n violations on .json locale files#150
agjs merged 1 commit into
mainfrom
fix/extract-failures-lintmeta-json

Conversation

@agjs

@agjs agjs commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Stacked on #147. build10 trapped at 1 error because a standalone i18n-locale-keys-used violation whose file header is a .json locale file fell to opaqueGateError (sourceFileFromLine rejected .json + leading whitespace). Now parsed → structured error with rule set. Validated: build11 reached the i18n wall as an actionable error. Panel-approved; 49 tests.

…n files (unblocks i18n park)

build10 cleared every code wall (apps/api fully green) but parked at 1 on a single
unused i18n key. Reproduced: extractFailures returned 0 signatures for that apps/ui
output → opaqueGateError. Root: sourceFileFromLine matched only /\.[cm]?[jt]sx?$/, so a
lint:meta violation whose file HEADER is a .json locale file (i18n-locale-keys-used
reports common.json) never set currentFile → consumeLintMeta dropped it. Consequences:
no structured error (opaque, unactionable) AND #61's completion-phase couldn't see
rule=i18n-locale-keys-used, so WS-B reverted the model's wiring edits → trapped at 1.
Fix: accept .json in sourceFileFromLine (a bare path-only line is unambiguous). Repro now
yields 1 signature (rule=i18n-locale-keys-used); 49 extract-failures tests green (no
mis-parse regression). Validating end-to-end via build11.
Base automatically changed from feat/testing-idioms-guide to main July 20, 2026 21:02
@agjs
agjs merged commit 36e7d07 into main Jul 20, 2026
1 check passed
@agjs
agjs deleted the fix/extract-failures-lintmeta-json branch July 20, 2026 21:02
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