docs(cd): state that the workflow ref is load-bearing for cosign verification - #147
Conversation
…fication The comment above the publish-manifests pin said the platform verifier matches `@.+$`, so the ref does not affect cosign verification. That has been false since platform#2816 narrowed the subject matcher, and the ref is now the one part of this line that is load-bearing. The comment did not merely describe the old state — it granted permission the code no longer gives, immediately above the line where the constraint applies. Acting on it breaks nothing here: the artifact still publishes, signed under an identity the platform rejects, and the consuming tenant silently stops reconciling. State the constraint and its consequence instead, without naming a matcher regex that a future narrowing would falsify again. Part of devantler-tech/platform#3044
@coderabbitai review |
|
✅ Action performedReview finished.
|
📝 WalkthroughWalkthroughThe continuous delivery workflow comments now state that the reusable workflow ref must use a 40-hex commit format and pass verifier acceptance. The comments also state that reconciliation can stop after artifact publication when the ref is not accepted. Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Readiness at
|
Why
The comment above the publish-workflow pin told the next person to edit this file
that the ref shape is free — "the platform verifier matches
@.+$, so the ref doesnot affect cosign verification". That stopped being true when the platform narrowed
its cosign subject matcher, and it sits directly above the one line where the ref is
now load-bearing.
Acting on it fails nothing here. The artifact still publishes, signed under an
identity the platform rejects, and the consuming tenant quietly stops reconciling
some time later. Renovate keeps the pin's value correct, so nothing would force
the mistake to surface.
What
The comment now states the real constraint — keep it a 40-hex commit — and what
breaks if it changes. It deliberately does not quote the current matcher regex,
since that is what went stale here twice.
Comment-only; the pinned SHA and everything else are untouched.
Part of devantler-tech/platform#3044