fix(ci): remove duplicate continue-on-error that made js-ci.yml unloadable - #50
Merged
Conversation
…dable #49 added `continue-on-error: true` to js-ci's SARIF upload step, which already had one. GitHub rejects the whole file: klarlabs-studio/.github/.github/workflows/js-ci.yml@main : (Line: 176, Col: 9): 'continue-on-error' is already defined Every repo calling js-ci.yml has been failing at workflow load since #49 merged -- no jobs start, no logs are produced, and the run reports a bare "failure" with nothing to inspect. Surfaced on pet-medical-www#24. js-ci already carried this fix, with a comment saying the same thing; only go-ci was missing it. #49 should have touched go-ci alone. The guard that let this through was mine and too narrow: it searched only the first 400 characters after the step name for an existing continue-on-error, and js-ci's is behind a longer comment block. Worse, the YAML validation could not catch it either -- PyYAML accepts duplicate mapping keys silently, last one wins. Validation now uses a loader that rejects duplicates, which is what GitHub does. Claude-Session: https://claude.ai/code/session_01LMVPJFeTCEtUk2CSNBBBdK
Contributor
Author
|
Merged. Blast radius, checked across the three repos that call
So nothing of anyone else's was affected. That is luck rather than good process: had any JS repo opened a PR in that window it would have hit a bare The lasting fix is the validation, not the revert. |
This was referenced Jul 25, 2026
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.
Urgent — this is a regression I introduced in #49, and it is breaking every repo on
js-ci.ymlright now.#49 added
continue-on-error: trueto js-ci's SARIF upload step. That step already had one. GitHub rejects the entire file:Why it was invisible
A workflow that fails to load produces no jobs, no logs, and no check contexts — just a bare
failurewith nothing to inspect.gh run view --logreturns "log not found". I only found it because pet-medical-www#24 showedWarden provenanceas its sole check while the CI run sat atfailure, and dispatching the workflow manually printed the parse error that the PR run never surfaced.Two failures in my own process
continue-on-errorwithin 400 characters after the step name. js-ci's sits behind a longer comment block, so the assertion passed on a file that already had it. js-ci had already been fixed for this — with a comment saying the same thing — and only go-ci needed the change.yaml.safe_loadreported the file as valid. GitHub does not. Validation now uses a loader that rejects duplicates:go-ci's three
continue-on-erroroccurrences are in three distinct steps — confirmed by the same strict loader, not by eye.Fix
Remove the block #49 added to js-ci, keeping the original. go-ci is untouched and correct.