Repository navigation
fix(release): revalidate staged approval and CDN verification - #7987
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
No blocking or Medium findings. Release-hardening PR binds cosign verification to the original producer commit/branch/repo/push event, adds a final-head approval recheck after staging all four signed assets, and makes CDN tuple download/checksum failures fail-closed (fixing errexit suppression inside verify_once). Producer-SHA uses RELEASE_SHA^1 correctly under both normal and same-version-recovery flows; cosign flags are valid; full history is available at every call site; changeset patch scope is correct; new negative-control tests cover the added branches.
Checks: no high_risk flag, gated_paths is false, no no-auto-approve team match, no prior decision. Rows 1–8 do not fire (no critical/high/medium findings), so the decision falls through to row 9.
Non-blocking follow-up (not a finding): CDN curls still lack --max-time (pre-existing).
* fix(compliance): make four media-buy storyboards runnable by non-guaranteed sellers (3.1.x backport) (#7761) Backport of #7756 (cherry picked from commit 6fd64c4) onto the 3.1.x versions of canonical_formats, billing_finality_delivery, measurement_accountability, and vendor_metric_accountability. Fixture products and canonical_formats' discovery filters move from guaranteed to non_guaranteed so sellers declaring only sales-non-guaranteed no longer fail create_media_buy with DELIVERY_MODE_NOT_SUPPORTED. Pricing stays fixed_price because the create steps send no bid. measurement_accountability's fixture declares completed_views so it matches its own required_metrics filter. Storyboards bump 1.0.0 -> 1.0.1. No 3.2-only fields, capabilities, or syntax are imported. Refs #7754 Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * compliance(media-buy): backport #7765 delivery_reporting to non_guaranteed fixtures (#7771) * Version Packages (#7766) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(compliance): correct evaluator feature membership on 3.1 (#7916) * fix(compliance): route 3.1 governance boards through the hosted buyer (#7964) * fix(release): fence maintained 3.1 publication (#7983) * fix(release): fence maintained 3.1 publication * fix(release): bind publication reads to opened files * fix(release): revalidate staged approval and CDN verification (#7987) * Version Packages (#7971) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(deploy): omit unconfigured docs snapshots from runtime image --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: sujan kumar reddy challa <[email protected]> Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(compliance): make four media-buy storyboards runnable by non-guaranteed sellers (3.1.x backport) (#7761) Backport of #7756 (cherry picked from commit 6fd64c4) onto the 3.1.x versions of canonical_formats, billing_finality_delivery, measurement_accountability, and vendor_metric_accountability. Fixture products and canonical_formats' discovery filters move from guaranteed to non_guaranteed so sellers declaring only sales-non-guaranteed no longer fail create_media_buy with DELIVERY_MODE_NOT_SUPPORTED. Pricing stays fixed_price because the create steps send no bid. measurement_accountability's fixture declares completed_views so it matches its own required_metrics filter. Storyboards bump 1.0.0 -> 1.0.1. No 3.2-only fields, capabilities, or syntax are imported. Refs #7754 Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * compliance(media-buy): backport #7765 delivery_reporting to non_guaranteed fixtures (#7771) * Version Packages (#7766) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(compliance): correct evaluator feature membership on 3.1 (#7916) * fix(compliance): route 3.1 governance boards through the hosted buyer (#7964) * fix(release): fence maintained 3.1 publication (#7983) * fix(release): fence maintained 3.1 publication * fix(release): bind publication reads to opened files * fix(release): revalidate staged approval and CDN verification (#7987) * Version Packages (#7971) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(schema): backport macro-bearing asset URLs to 3.1.x (#8004) * Version Packages (#8007) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: sujan kumar reddy challa <[email protected]> Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
A dismissed final-head approval or revoked maintainer permission could be missed while the four signed release assets were being staged. The workflow now rechecks review state and current permission after every asset has been read back and byte-compared, immediately before making the release public. The completed tuple stays draft if authority is revoked.
Both local and CDN signature checks bind the original release merge’s first-parent producer commit, maintained branch, repository and push event. During CDN retries, each download and checksum now explicitly returns failure before signature verification; Bash suppresses implicit errexit inside a function used as an
ifcondition, so a valid signature previously hid failed downloads or checksums. The committed archive and signature bytes remain unchanged.Validation:
6fba725d051471bc2357fb3f872e56313aaf4874.19b7e933714d5a9a654806977ee39177df38a679, preserving the reviewed tree. Actual Changesets2.31status --since=origin/3.1.xreports only PATCH, and protocol scope passes. Server unit and docs/storyboard preflight checks legitimately skip unchanged surfaces; the full native suite runs separately. Current-head CI remains required before merge. The first full-run wrapper’s metadata-path error and unknown npm exit are retained; the final frozen repeat records the genuine exit0.This source PR refreshes the generated 3.1.26 candidate. Previous approvals of #7971 at
ad591154or the held5f8de3efcandidate authorize no refreshed head. The new generated release requires fresh exact-head approval from a non-author human maintainer. Historical CDN recovery is excluded; publication still preserves GitHub Latest and uses version-scoped conditional R2 writes. The final review barrier narrows the remote approval race but does not make the GitHub edit atomic with the approval API calls.Open workspace in Conductor