Skip to content

fix(skill-curator): promote-digest test works without sha256sum - #1265

Merged
tieubao merged 4 commits into
masterfrom
fix/skill-curator-promote-digest-test
Dec 2, 2026
Merged

tieubao merged 4 commits into
masterfrom
fix/skill-curator-promote-digest-test

Conversation

@tieubao

@tieubao tieubao commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

gh event listen --resource #1265 --event com.github.pull_request.review.submitted.v1,com.github.pull_request.state.changed.v1

  • It prints the first event as a JSON line on stdout and exits; run it again to wait for the next one.
  • Add --timeout to stop waiting after a while, for example --timeout 30m; it then exits with status 8.
  • Events carry no details; read the pull request to see what changed.
  • It misses changes made before it starts, so read the pull request once it is running.
  • See gh event listen --help for other event types.
  • Event subscriptions are in preview and may not be enabled for your account.
    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

…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
tieubao marked this pull request as ready for review December 2, 2026 22:44
@tieubao tieubao changed the title fix(skill-curator): promote-digest test no longer needs sha256sum on PATH fix(skill-curator): promote-digest test works without sha256sum Dec 2, 2026
@tieubao
tieubao merged commit 3dba7ac into master Dec 2, 2026
5 checks passed
@tieubao
tieubao deleted the fix/skill-curator-promote-digest-test branch December 2, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant