Skip to content

Fix repeated deployments with duplicate SHA tags - #38

Merged
sarthakagrawal927 merged 2 commits into
mainfrom
agent/rolepatch-ci-token-20261012
Oct 12, 2026
Merged

sarthakagrawal927 merged 2 commits into
mainfrom
agent/rolepatch-ci-token-20261012

Conversation

@sarthakagrawal927

@sarthakagrawal927 sarthakagrawal927 commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Repeated manual deploys of one commit upload multiple Worker versions with the same source tag. Selecting that tag then fails as ambiguous. Deploy the exact UUID returned by the upload step, while retaining the full source SHA annotation. The parser fails closed on absent, malformed or multiple version IDs.

The existing OAuth tamper test also changed unused base64url bits and occasionally left the decoded signature unchanged. Its fixture now guarantees a different signature byte. Production auth logic is unchanged.

Validation: focused deploy/auth tests and full main CI passed at eb355d0. All six linked-checkout deploy gates passed. Approved deployments 38218537052 and 38218837704 both succeeded for that same SHA, including production smoke checks. Cloudflare independently confirmed each uploaded UUID at 100% traffic with the full source tag. Public home returned HTTP 200.

@sarthakagrawal927
sarthakagrawal927 merged commit eb355d0 into main Oct 12, 2026
6 checks passed
@sarthakagrawal927
sarthakagrawal927 deleted the agent/rolepatch-ci-token-20261012 branch October 16, 2026 19:39
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