Skip to content

ci: add sanitizing baseline and text gates (refs #3167) - #3170

Merged
mblua merged 4 commits into
mainfrom
ci/3167-sanitizing-baseline-text
Oct 22, 2026
Merged

mblua merged 4 commits into
mainfrom
ci/3167-sanitizing-baseline-text

Conversation

@mblua

@mblua mblua commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Rust text debt currently has no CI guard against growth relative to the PR merge base. This adds per-file line-length and file-size gates: existing debt may stay level or decrease, while new or increased debt fails with actionable diagnostics. Snapshot and Rust scanner helpers provide the shared foundation for later sanitizing phases.

Scope: eight files covering Node built-in-only scripts, npm commands, tests, and the existing test-debt workflow job. The native self-test runs separately from the two debt gates; execution errors block CI. Product Rust, dependencies, lockfiles, and versions are unchanged. Git execution resolves its absolute executable path before spawning; scanner test-path alternatives are explicitly grouped. Environment keys use an explicit UTF-16 comparator preserving the default string order.

Validation on 9ff9138: developer and both independent reviewers report 31/31 native tests; real text gates, existing arc/cycle wrappers, version checks, and diff checks passed. Corpus 266/266 and site replay 1325/1325 are reused evidence with equivalent scanner behavior and unchanged sources. Positive and negative controls detect the old runner, swallowed resolution errors, and incorrect path classification. Both independent reviewers approved this exact revision. Local Node 26.10 results do not establish parity with CI Node 22/npm 11.6.2 or Unix. Full CI including Sonar on this exact revision remains a merge gate; findings 010/011 remain open pending that result.

P01 of parent Epic #3166. Later phases remain separate.

Closes #3167

@mblua mblua added the ci:full Run the full PR regression gates on this PR label Oct 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@mblua
mblua merged commit 04ea622 into main Oct 22, 2026
26 checks passed
@mblua
mblua deleted the ci/3167-sanitizing-baseline-text branch October 22, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the full PR regression gates on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: establish sanitizing snapshots and Rust text gates

1 participant