Repository navigation
ci: remove legacy Node.js CI workflow and harden systems.csv validation - #967
Merged
Merged
Conversation
Remove .github/workflows/nodejs.yml (Node 16, csval). systems_csv_pr_checks.yml already validates systems.csv on every PR that changes it, and direct pushes to master are not allowed.
validate-systems-csv.js now also reports, so it covers everything csval checked:
- text after a closing quote ("Montreal"x)
- a quote inside an unquoted value (Bi"xi)
- lines containing only whitespace
- a carriage return not followed by a line feed
- mixed LF and CRLF line endings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gk89bPMVWtnbSZQMRDbEYD
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.
What problem does your proposal solve? Please begin with the relevant issue number. If there is no existing issue, please also describe alternative solutions you have considered.
No existing issue.
nodejs.yml(Node.js CI) still runs on Node 16 withactions/checkout@v3andactions/setup-node@v3, and only checks thatsystems.csvparses (csvalwith no rules file).systems_csv_pr_checks.ymlalready validates the same file, with stricter checks, on every PR that changes it. This workflow was outdated.Alternative considered: keep
nodejs.ymland move it off Node 16. Not chosen, because it would keep a second, weaker check of the same file.What is the proposal?
.github/workflows/nodejs.yml.scripts/validate-systems-csv.jsso it catches everythingcsvalcaught:"Montreal"x)Bi"xi)systems_csv_pr_checks.ymlfrom Node 24 to Node 26 (LTS).Pushes to
masterno longer run their own validation. Direct pushes tomasterare not allowed, so every change goes through a PR and is checked there.Testing:
systems.csvpasses (1,287 rows, 0 errors).csvalnever failed a file that the updated script passed.systems.csvin git history get the same pass/fail results as with the previous script.Is this a breaking change?
The validator is stricter, so a malformed
systems.csvthat used to pass can now fail. None of the last 300 versions of the file would.Which files are affected by this change?
.github/workflows/nodejs.yml(deleted).github/workflows/systems_csv_pr_checks.ymlscripts/validate-systems-csv.js