Skip to content

ci: re-enable CI on PRs targeting stable cp-7.76.0#29986

Merged
chloeYue merged 3 commits into
mainfrom
ci/restore-ci-on-stable-prs
May 12, 2026
Merged

ci: re-enable CI on PRs targeting stable cp-7.76.0#29986
chloeYue merged 3 commits into
mainfrom
ci/restore-ci-on-stable-prs

Conversation

@chloeYue

@chloeYue chloeYue commented May 11, 2026

Copy link
Copy Markdown
Contributor

Description

Re-enables the ci workflow on pull requests whose base is stable (the release release/X.Y.Z -> stable PRs).

PR #29305 accidentally added branches-ignore: stable in .github/workflows/ci.yml, which makes the workflow refuse to run on any PR whose base branch is stable.

We have branch protection on stable, which requires the Check all jobs pass and All jobs pass status checks.
So Check all jobs pass / All jobs pass never appeared (no ci run) on the release PR : #29584, so the release PR currently cannot be merged.

Changelog

CHANGELOG entry: null

Related issues

Refs: #29584 (release/7.76.0 PR currently blocked by the missing CI checks)
Refs: #29305 (introduced the regression)

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.

Note

Low Risk
Low risk: only adjusts GitHub Actions trigger filters so CI runs on stable-based pull requests again, with no production code changes.

Overview
Re-enables the ci GitHub Actions workflow for pull requests targeting stable by removing the pull_request.branches-ignore: stable filter, allowing required CI checks to run on release PRs again.

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

@chloeYue chloeYue self-assigned this May 11, 2026
@metamaskbotv2 metamaskbotv2 Bot added the team-qa QA team label May 11, 2026
@github-actions

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 pr-not-ready-for-e2e Skip E2E and block merging. Remove this label once the PR is ready to run the E2E tests. size-XS labels May 11, 2026
Restore CI runs for pull requests whose base is `stable` (i.e. the
release/X.Y.Z -> stable release PRs).

PR #29305 added `branches-ignore: stable` under `pull_request:` here,
which makes the `ci` workflow skip every release PR targeting `stable`.
The classic branch protection on `stable` still requires the
`Check all jobs pass` and `All jobs pass` status checks (both produced
by this workflow), so those PRs end up `BLOCKED` in `mergeStateStatus`
with no way for non-admin release managers to merge — they neither get
the checks nor have bypass rights.

Concretely this broke release/7.76.0 (PR #29584): no `ci` runs at all,
and the merge button stays disabled. Older release PRs (29443, 29290,
29674, ...) had their release branches cut from `main` before #29305
landed, so they did not carry the `branches-ignore` line and CI ran
normally.

Removing only the `branches-ignore` block restores the previous
trigger surface. Future release branches cut from `main` will inherit
the fix; release/7.76.0 itself still needs the same removal applied
directly to that branch to unblock the current merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chloeYue chloeYue force-pushed the ci/restore-ci-on-stable-prs branch from deef202 to 40d6ef5 Compare May 11, 2026 15:44
@chloeYue chloeYue added team-mobile-delivery and removed pr-not-ready-for-e2e Skip E2E and block merging. Remove this label once the PR is ready to run the E2E tests. team-qa QA team labels May 11, 2026
@chloeYue chloeYue marked this pull request as ready for review May 11, 2026 15:49
@chloeYue chloeYue requested a review from a team as a code owner May 11, 2026 15:49
@chloeYue chloeYue changed the title ci: re-enable CI on PRs targeting stable ci: re-enable CI on PRs targeting stable cp-7.76.0 May 11, 2026

@Gudahtt Gudahtt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This change was copied from extension, where we use push triggers for release candidates instead of pull_request. This was originally done to ensure we still get builds on PRs with a conflict, but I don't know if that's still a problem we're having.

Reverting the change for now sounds good to me. We can move to a push trigger in a separate PR if we want to.

@chloeYue chloeYue added this pull request to the merge queue May 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@chloeYue chloeYue added this pull request to the merge queue May 12, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: None (no tests recommended)
  • Selected Performance tags: None (no tests recommended)
  • Risk Level: low
  • AI Confidence: 97%
click to see 🤖 AI reasoning details

E2E Test Selection:
The only change in this PR is removing the branches-ignore: - stable filter from the pull_request trigger in .github/workflows/ci.yml. This means CI will now run on PRs targeting the stable branch (previously excluded). This is a pure CI configuration change with no impact on:

  • App source code or functionality
  • Test logic or test infrastructure
  • Shared components (Browser, TabBar, Modals, Confirmations, etc.)
  • Controllers, Engine, or any critical app paths

No E2E test tags are needed because no app behavior has changed. The change only affects when the CI pipeline triggers, not what it tests or how the app behaves.

Performance Test Selection:
This is a pure CI trigger configuration change (removing a branch exclusion filter). No app code, rendering logic, state management, or performance-sensitive paths were modified. Performance tests are not warranted.

View GitHub Actions results

@sonarqubecloud

Copy link
Copy Markdown

@chloeYue chloeYue added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit b9f3ee5 May 12, 2026
61 of 64 checks passed
@chloeYue chloeYue deleted the ci/restore-ci-on-stable-prs branch May 12, 2026 08:49
@github-actions github-actions Bot locked and limited conversation to collaborators May 12, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.78.0 Issue or pull request that will be included in release 7.78.0 label May 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.78.0 Issue or pull request that will be included in release 7.78.0 size-XS team-mobile-delivery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants