Repository navigation
fix(skill-curator): promote-digest test works without sha256sum - #1265
Merged
Merged
Conversation
…PATH Case 6 wrote a sha256sum PATH stub that execs a binary absent from the nightly PATH (no /sbin), shadowing the shasum fallback and making promote refuse with rc=4. Create the stub only when a real sha256sum exists.
tieubao
marked this pull request as ready for review
December 2, 2026 22:44
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.
gh event listen --resource #1265 --event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1
--timeoutto stop waiting after a while, for example--timeout 30m; it then exits with status 8.gh event listen --helpfor other event types.fix/skill-curator-promote-digest-test
Fixes the nightly kit-regression failure of 2026-12-03 04:38 ICT (suite lib-skill-curator-test-promote-digest, case [6]). Test-only change, no product code.
Cause: case [6] writes a sha256sum PATH stub that execs a binary missing from the nightly PATH (no /sbin there). The stub shadows the shasum fallback in promote.sh, the digest comes back empty, and promote refuses with rc=4. The stub is now created only when a real sha256sum exists.
Proof: docs/verification/skill-curator-promote-digest-test-path.md (green under the nightly PATH; the unfixed script fails with the same assertion).
no-board-row: test-only fix for one nightly suite, tracked on the logs-sweep ticket