Skip to content

ci(witness): run the slim verdict whenever the full one ran (B27) - #614

Merged
DrunkOnJava merged 3 commits into
mainfrom
ci/b27-witness-one-cycle
Oct 3, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
ci/b27-witness-one-cycle

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

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 runs if: !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 the octetproof-core-interior artifact (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.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 3, 2026 18:30
@DrunkOnJava
DrunkOnJava merged commit ca1767b into main Oct 3, 2026
22 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/b27-witness-one-cycle branch October 3, 2026 19:02
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