Skip to content

feat: add opt-in notices after verified Pay staging releases - #20

Draft
ADWilkinson wants to merge 7 commits into
mainfrom
feature/sekko-release-notices
Draft

ADWilkinson wants to merge 7 commits into
mainfrom
feature/sekko-release-notices

Conversation

@ADWilkinson

@ADWilkinson ADWilkinson commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Successful Pay staging deployments currently cannot notify Sekko that the exact new build is publicly available. This adds an optional, disabled-by-default notice after the existing successful-deploy gate. Existing deployment behavior and permissions remain unchanged.

The hook checks the fixed public Pay staging /readyz response against the artifact source SHA, then sends a purpose-separated HMAC release envelope. It is restricted to Pay API staging image deployments with the exact environment map. Five-second backdating accommodates small clock skew without changing consumer validation. Bounded retries reuse identical bytes, including after transient 502/504 responses. Failures preserve a safe report and exact unsigned public payload for separate recovery without redeploying. No key or signature is uploaded.

The stdlib helper is pinned to 31dc29755140fd21c62836409d56bcc386b92ce3; no private Sekko checkout, cross-repository token or additional deployment permission is required. This changes no Pay caller, configuration, secret or resource. Before caller adoption, the final helper must be reachable on main and the workflow repinned, with reviewed scope, endpoint and key registration. This PR remains draft; no merge, dispatch or activation is included.

Validation at 64b3fe53e875295df3565f202bfc6dac18acc3ce: 15 notice tests, 46 actual Docker/yq deploy tests and strict actionlint of both affected workflows pass in run 42626429237. The baseline patch-node24 matrix also passes. Independent local review passed this exact head. Cross-consumer checks verify signatures and receiver skew at 1s/5s, rejection beyond 5s and expiry. The pinned linter does not recognize an unrelated baseline Ubuntu 26.04 label, so CI lint is scoped to the changed workflows. No live endpoint, AWS operation, model or provider was called.

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