Skip to content

fix(ci): run Node.js 22 and 24 tests on release pull requests - #11191

Merged
Mrtenz merged 1 commit into
mainfrom
mrtenz/fix-release-test-matrix
Oct 29, 2026
Merged

Mrtenz merged 1 commit into
mainfrom
mrtenz/fix-release-test-matrix

Conversation

@Mrtenz

@Mrtenz Mrtenz commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Explanation

The Test (22.x) and Test (24.x) jobs only ran when github.ref_name was main, or when the base ref was a release branch. Release pull requests have a release/* head branch and target main, so neither condition matched and the jobs were skipped (e.g., #11176 only ran the Node.js 26.x tests). This adds a github.head_ref check so the full Node.js matrix runs for release pull requests. The base_ref checks stay, as they cover pull requests that target a release branch.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
Workflow-only change to job if conditions; no application code or runtime behavior is affected.

Overview
Test (22.x) and Test (24.x) in lint-build-test.yml now run when the pull request head branch is release/*, not only on main or when the base is a release branch.

Release PRs (release/* → main) previously skipped those jobs because github.ref_name is the head branch and the old conditions did not treat a release head as eligible—so only Node 26.x tests ran. The existing base_ref / merge-group release checks are unchanged for PRs targeting release branches.

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

The `Test (22.x)` and `Test (24.x)` jobs only ran when `github.ref_name`
was `main` or the base ref was a release branch. Release pull requests
have a `release/*` head branch and target `main`, so neither condition
matched and the jobs were skipped. Add a `github.head_ref` check so the
full Node.js matrix runs for release pull requests.
@Mrtenz
Mrtenz marked this pull request as ready for review October 29, 2026 09:40
@Mrtenz
Mrtenz requested a review from a team as a code owner October 29, 2026 09:40
@Mrtenz
Mrtenz enabled auto-merge October 29, 2026 09:43
@Mrtenz
Mrtenz added this pull request to the merge queue Oct 29, 2026
@Mrtenz Mrtenz mentioned this pull request Oct 29, 2026
4 tasks
Merged via the queue into main with commit 802b80d Oct 29, 2026
270 checks passed
@Mrtenz
Mrtenz deleted the mrtenz/fix-release-test-matrix branch October 29, 2026 09:50
@Prithpal-Sooriya Prithpal-Sooriya mentioned this pull request Oct 29, 2026
1 task done
Naz-Ovh pushed a commit to 0x-fork/metamask-core that referenced this pull request Nov 4, 2026
## Explanation

Re-lands the release that was reverted in MetaMask#11187 (the revert happened
because CI on main was broken; the CI issue has since been fixed via
MetaMask#11191, and Release/1375.0.0 was subsequently shipped by another team in
MetaMask#11192, so this release is now **Release/1376.0.0**).

To avoid cutting two separate releases, this PR also folds in the
`@metamask/profile-controller` patch release that was staged in MetaMask#11197
(that PR is now redundant and closed in favor of this one).

Two packages are released:

**`@metamask/assets-controller` 20.0.2 (patch)** — 20.0.2 was never
published to npm, so this re-release is safe.

- **Fixed:** hand-rolled Multicall3 `aggregate3` codecs for balance
batches (MetaMask#11078)

**`@metamask/profile-controller` 1.2.1 (patch)**

- **Added:** `clearState` method on `ProfileController` (MetaMask#11177)
- **Changed:** bump `@metamask/utils` from `^12.0.0` to `^12.0.1`
(MetaMask#11107)
- **Fixed:** `ProfileService.disconnectX` now calls `DELETE
profiles/x/account` instead of the non-existent `DELETE
profiles/{profileId}/x` endpoint, since the linked X account is resolved
server-side from the verified bearer token (MetaMask#11195)

All functional changes above are already merged on `main`; this diff
contains only version bumps and changelog finalization (plus a merge of
`main` to pick up MetaMask#11195).

- `@metamask/bridge-controller` and
`@metamask/transaction-pay-controller` only have their
`@metamask/assets-controller` dependency range bumped to `^20.0.2`; they
are intentionally not released.

## Checklist

- [x] `yarn changelog:validate` passes

This branch was previously deployed

1 inactive deployment
default-branch — adf8b64b Deployed Oct 29, 2026 by Mrtenz via Determine whether this PR is a release PR #6254
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.

2 participants