Repository navigation
Test the workflow-audit classifiers against the shipped path window, not a stale copy - #1122
Merged
Merged
Conversation
… a stale copy The test typed out WINDOW with four paths; the shipped step has eight since .gitattributes and the markdown merge scripts joined the window, so the classifiers were exercised against a narrower window than CI runs. Extract both WINDOW lines from the run block, as the classifier already is, and pin that a regeneration also editing scripts/md-unwrap.mjs is refused.
Deploying mouseterm with
|
| Latest commit: |
b2f0603
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9fdf5c63.mouseterm.pages.dev |
| Branch Preview URL: | https://fix-workflow-audit-test-wind.mouseterm.pages.dev |
This was referenced Oct 13, 2026
nedtwigg
requested a deployment
to
hosted-preview
October 16, 2026 15:58 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/workflow-audit.test.mjsran the shipped classifiers against its own typed-outWINDOWlist, which had four paths. The workflow's list in.github/workflows/workflow-audit.yamlhas eight, since.gitattributes,scripts/setup-git.mjs,scripts/md-merge.mjsandscripts/md-unwrap.mjsjoined it. Sois_tend_regenandis_clean_mergewere tested against a narrower window than CI runs. That's the same drift the workflow's own comment warns about when it derivesWINDOW_NON_WORKFLOWinstead of typing out a second list.The test now reads both
WINDOWlines from the run block, the same way it already reads the classifier, and fails if either line is missing. A new case checks that a regeneration which also editsscripts/md-unwrap.mjsis refused. Run against the old four-path list, that case fails.node --test scripts/workflow-audit.test.mjspasses 29/29.This is a test-only change. The workflow itself is unchanged.