Skip to content

ci(release): fix back-merge credentials and image revision metadata - #1125

Merged
nixuuu merged 2 commits into
devfrom
fix/forward-backmerge-deploy-key
Nov 22, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/forward-backmerge-deploy-key

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

The v0.6.0 recovery published the release and Pages index, but the reusable Back-merge job could not see the existing repository secret. Release calls Back-merge without forwarding any secrets, and the destination environment has no deploy key configured.

Pass only the release deploy key to Back-merge. The environment key remains the first choice when configured. The called workflow still requires a deploy key before checkout and uses the same protected ref policy.

Stamp the selected source SHA on OCI indexes and manifests as well as in the image configuration. The v0.6.0 recovery used the stable source for all four platform images, but the metadata action defaulted the index and manifest annotations to the dev workflow SHA. The published tags retain their existing digests.

Failed Back-merge job

Verification

  • Checked the caller and callee YAML for the secret mapping, precedence and checkout expression. A standalone Back-merge completed with the current repository key.
  • Inspected the published gateway and worker images for amd64 and arm64. All image configurations record the exact v0.6.0 source SHA. Checked that the revised YAML also sends that SHA to both annotation levels.
  • Formatted the workflows and checked the diff. CI covers the repository-wide checks.

@nixuuu
nixuuu enabled auto-merge (squash) November 22, 2026 17:47
@nixuuu nixuuu changed the title ci(release): pass the deploy key to the back-merge workflow ci(release): fix back-merge credentials and image revision metadata Nov 22, 2026
@nixuuu
nixuuu merged commit 6469e20 into dev Nov 22, 2026
17 checks passed
@nixuuu
nixuuu deleted the fix/forward-backmerge-deploy-key branch November 22, 2026 17:58
nixuuu added a commit that referenced this pull request Nov 24, 2026
Backport #1101 and #1125 to the open 0.7.0 beta series. The published beta.1 encountered a required Back-merge failure after publication. The new beta will run Release for the hotfix revision.

- Clear the mobile restart notice when a fresh read confirms the standalone gateway is ready, and ignore replays of the completed restart.
- Pass the release deploy key to the reusable Back-merge workflow. The environment key takes precedence.
- Record the selected source revision on OCI image indexes and manifests.

The mobile source and regression test match #1101. On this branch 22 focused tests passed through check:tmp, including the same-version restart regression. The diff check passed. The Android emulator scenario passed in #1101. CI runs the repository checks for this backport.

A local squash-merge simulation against the current next and dev branches verified the return merge into dev. The merged tree adds one backport note in each of the two domain documents. The implementation and tests already match dev.

The backport retains the existing mobile status text. Only its dismissal conditions change.

Fixes: #370
Related: #1101
Related: #1125
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