Skip to content

ENG-1924: Promote staging files without adding a release/ prefix#3851

Merged
mitchell-as merged 1 commit into
version/0-48-1-RC4from
mitchell/eng-1924
Jul 21, 2026
Merged

ENG-1924: Promote staging files without adding a release/ prefix#3851
mitchell-as merged 1 commit into
version/0-48-1-RC4from
mitchell/eng-1924

Conversation

@mitchell-as

Copy link
Copy Markdown
Collaborator

ENG-1924: Promote staging files without adding a release/ prefix

The promote-staging-to-production step was moving beta release files to release/update/state/beta/ instead of update/state/beta/, which forced a manual copy in the S3 console after every promotion. The promoter stripped the staging/ prefix and then prepended release/, so files landed one directory too deep. Because the updater only ever fetches from update/state//, this actually misplaced files for every channel, not just beta.

The fix drops the release/ prefix so promotion maps staging/ straight to ; the channel (beta, release, ...) is already part of the path. Beta files now land in update/state/beta/ and release-channel files in update/state/release/, matching what the updater serves.

Base branch: targets version/0-48-1-RC3.

🤖 Generated with Claude Code

The S3 promoter stripped the staging/ prefix and then prepended release/, so
every promoted object landed under release/... instead of at the bucket root.
Beta update files went to release/update/state/beta/ rather than
update/state/beta/, and release-channel files gained a doubled release/ segment.
Since the updater only ever fetches from update/state/<channel>/, the prefix
broke updates for every channel.

Promotion now maps staging/<key> to <key>: the channel is already encoded in the
path, so no prefix is added.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mitchell-as
mitchell-as changed the base branch from version/0-48-1-RC3 to version/0-48-1-RC4 July 21, 2026 14:29
@mitchell-as

Copy link
Copy Markdown
Collaborator Author

Tested this when promoting RC3 to production and it worked.

@mitchell-as
mitchell-as merged commit 568de6d into version/0-48-1-RC4 Jul 21, 2026
15 of 16 checks passed
@mitchell-as
mitchell-as deleted the mitchell/eng-1924 branch July 21, 2026 14:30
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