Repository navigation
ci(witness): run the slim verdict whenever the full one ran (B27) - #614
Merged
Merged
Conversation
…observations come from one run (B27)
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 18:30
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.
The slim (full-project) OctetProof step ran only when every step before it passed, so a change that moves rvt-rs's observation showed the slim drift one push after the full one, and regenerating the witness took two CI rounds (#603: run 37140112338 skipped the slim step).
The full verdict step gets
id: witness_full, and the slim step runsif: !cancelled() && (steps.witness_full.outcome == 'success' || steps.witness_full.outcome == 'failure'). The job still fails if either verdict fails.Verified on scratch draft #610 (run 37144054315): with one extra property set per storey injected, the full verdict failed with REPLAY_DRIFT, the slim verdict ran, and the published artifact held both fresh observations (IFCPROPERTYSET 2963 in each).
Note
Low Risk
CI workflow step ordering and conditions only; no product code or witness logic changes.
Overview
The slim OctetProof verdict step no longer depends on the full verdict passing—only on the full step having finished (success or failure, unless the job was cancelled).
The full verdict step is tagged with
id: witness_full, and the slim step uses a conditional so it still runs when the full verdict fails (e.g.REPLAY_DRIFT). That way a single CI run can publish both fresh observation sets in theoctetproof-core-interiorartifact (B27), instead of skipping slim and forcing a second push to see slim drift. Job failure semantics are unchanged: either verdict failing still fails the job.Reviewed by Cursor Bugbot for commit 6885393. Configure here.