CI: classifier self-tests run inside the classifier step (PLAT-986) #5
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-opt/plat-986-selftest-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PLAT-986 follow-up to #4, the same fix as fj#345 (gerri's finding there applies here too).
The gap. The classifier self-tests and the content-unread guard ran in their own step before the classifier. A broken classifier failed that step, and every Rust step then skipped. The job was red, but the full suite never ran.
What changes.
continue-on-errorclassifier step. Any failure there runs every Rust step, then fails the job.CI_EVENT,CI_BASE_SHA,CI_HEAD_SHAandGITHUB_OUTPUTunset. Otherwise their classifier calls appendscope=lines to the step's real outputs; on fj that was about 1,800 lines.GITHUB_OUTPUTkept, and the final step's success guard removed. All were caught.Locally, with a pull request's variables set, the step leaves only the classifier's three output lines.
Known and unchanged: after a classifier failure, a failing Rust step still stops the later ones, as on any full run.
Self-review: one round, no blocking findings.
Implementation: Claude (written before the 2026-12-02 Codex rule reached this lane)