Skip to content

ci: add rc-freeze label to skip auto RC builds cp-7.80.0#30942

Merged
tommasini merged 2 commits into
mainfrom
chore/auto-rc-freeze-label
Jun 3, 2026
Merged

ci: add rc-freeze label to skip auto RC builds cp-7.80.0#30942
tommasini merged 2 commits into
mainfrom
chore/auto-rc-freeze-label

Conversation

@tommasini

@tommasini tommasini commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Description

Adds an rc-freeze label gate to the auto RC build workflow (build-rc-auto.yml).

Why: During the final stage of a release cycle — after QA has signed off and the last cherry-pick has landed — the release branch is being prepared to merge into stable. At this point, it's undesirable for every new push to trigger a fresh RC build (version bump commit + iOS/Android builds). Previously there was no way to stop the automation without disabling the entire workflow.

What: When the rc-freeze label is present on the release PR, the validate-and-find-pr job emits rc-frozen=true and all downstream jobs (generate_rc_build_version, update_rc_build_version, iOS build, Android build) are skipped via an updated if: condition. A ::notice:: annotation is printed so the skip is visible in the Actions log. Removing the label resumes normal auto RC builds immediately on the next push.

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

N/A

Screenshots/Recordings

Before

N/A

After

N/A

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Made with Cursor


Note

Low Risk
CI-only workflow gating with no app, auth, or data-path changes; mistaken label use only delays RC builds until removed.

Overview
Adds an rc-freeze label on the release PR as a manual switch to stop automatic RC builds on pushes to release/*, without disabling the whole workflow.

The validate-and-find-pr job now loads PR labels, sets a rc-frozen output when rc-freeze is present (with a ::notice:: in the Actions log), and downstream jobs—version bump, commit build version, and iOS/Android RC triggers—only run when there is an associated PR and RC is not frozen. Removing the label restores the previous behavior on the next push.

Reviewed by Cursor Bugbot for commit 35b8017. Bugbot is set up for automated code reviews on this repo. Configure here.

@tommasini tommasini self-assigned this Jun 2, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@github-actions github-actions Bot added the pr-not-ready-for-e2e Skip E2E and block merging. Remove this label once the PR is ready to run the E2E tests. label Jun 2, 2026
@mm-token-exchange-service mm-token-exchange-service Bot added the team-mobile-platform Mobile Platform team label Jun 2, 2026
@github-actions github-actions Bot added the size-S label Jun 2, 2026
@tommasini tommasini marked this pull request as ready for review June 3, 2026 14:16
@tommasini tommasini requested a review from a team as a code owner June 3, 2026 14:16
@github-actions github-actions Bot added the risk:medium AI analysis: medium risk label Jun 3, 2026

@joaoloureirop joaoloureirop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@joaoloureirop joaoloureirop changed the title ci: add rc-freeze label to skip auto RC builds ci: add rc-freeze label to skip auto RC builds cp-7.80.0 Jun 3, 2026
@tommasini tommasini added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit c5fc35d Jun 3, 2026
116 of 117 checks passed
@tommasini tommasini deleted the chore/auto-rc-freeze-label branch June 3, 2026 15:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pr-not-ready-for-e2e Skip E2E and block merging. Remove this label once the PR is ready to run the E2E tests. risk:medium AI analysis: medium risk size-S team-mobile-platform Mobile Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants