Repository navigation
feat: add opt-in notices after verified Pay staging releases - #20
Draft
ADWilkinson wants to merge 7 commits into
Draft
ADWilkinson wants to merge 7 commits into
ADWilkinson wants to merge 7 commits into
Conversation
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.
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
/readyzresponse 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.