Repository navigation
ci: do not run hooks of skipped describe blocks on Jest 24 - #18575
Merged
Merged
Conversation
Collaborator
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/63150 |
|
commit: |
The Node.js 6/8/10 jobs downgrade to Jest 24, whose jest-jasmine2 runs beforeAll/afterAll of a describe.skip block and attaches their errors to the skipped tests. This surfaced as noisy "errors" in passing suites, e.g. config-ts-integration-tsx and transform-script-tags. Backport the fix from jestjs/jest#9931 (released in Jest 25.5.4) through a Yarn patch. The resolution does not match anything until the CI step runs `yarn up jest@24`. Assisted-by: Claude Opus 5.5
JLHwung
force-pushed
the
ci-jest24-skip-pending-hooks
branch
from
November 10, 2026 21:53
b0802e8 to
958c545
Compare
JLHwung
commented
Nov 10, 2026
| } | ||
|
|
||
| - return !node.disabled; | ||
| + return !node.disabled && !node.markedPending; |
Contributor
Author
There was a problem hiding this comment.
This is a simplified backport of jestjs/jest#9931 to Jest 24.
liuxingbaoyu
approved these changes
Nov 11, 2026
Contributor
Author
|
The patch works as expected, the Node.js 6 CI error in https://github.com/babel/babel/actions/runs/43078378269/job/130725133286?pr=18595 is now much more helpful: |
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Nov 17, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime) ([source](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime)) | [`7.29.13` → `7.29.14`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.29.13/7.29.14) |  |  | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information. --- ### Release Notes <details> <summary>babel/babel (@​babel/runtime)</summary> ### [`v7.29.14`](https://github.com/babel/babel/releases/tag/v7.29.14) [Compare Source](babel/babel@v7.29.13...v7.29.14) #### v7.29.14 (2026-11-11) ##### 👓 Spec Compliance - `babel-parser` - [#​18543](babel/babel#18543) fix(parser): require `(` after `import.{source,defer,sync}` ([@​babel-bot](https://github.com/babel-bot)) ##### 🐛 Bug Fix - `babel-helper-module-transforms`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#​18597](babel/babel#18597) Respect `importInterop: none` for dynamic import ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-member-expression-to-functions`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods` - [#​18595](babel/babel#18595) Keep the receiver of TS-wrapped `super` and private member calls ([@​babel-bot](https://github.com/babel-bot)) - `babel-parser` - [#​18596](babel/babel#18596) fix(parser): allow ASI between modifier-like field and [@​dec](https://github.com/dec) ([@​babel-bot](https://github.com/babel-bot)) - [#​18588](babel/babel#18588) fix(parser): rework ts arrow param tracking ([@​babel-bot](https://github.com/babel-bot)) - [#​18542](babel/babel#18542) fix(parser): handle async do await in parameters ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-string-parser`, `babel-parser` - [#​18591](babel/babel#18591) fix(parser): recover from out-of-range `\u{...}` code points ([@​babel-bot](https://github.com/babel-bot)) - `babel-generator` - [#​18585](babel/babel#18585) fix(generator): keep parens that end an optional chain before ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-class-static-block` - [#​18579](babel/babel#18579) fix(class-static-block): skip class body path with stale ancestry ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-typescript`, `babel-traverse`, `babel-types` - [#​18574](babel/babel#18574) fix: improve string module specifiers support ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-flow-comments` - [#​18573](babel/babel#18573) fix(flow-comments): support anonymous classes ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#​18571](babel/babel#18571) fix: rename assignment targets in forXStatement ([@​babel-bot](https://github.com/babel-bot)) - `babel-helpers`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-regenerator`, `babel-preset-env`, `babel-runtime-corejs3` - [#​18569](babel/babel#18569) fix(regenerator): dispatch pending jump after finally to outer finally blocks ([@​babel-bot](https://github.com/babel-bot)) ##### 🏠 Internal - [#​18575](babel/babel#18575) ci: do not run hooks of skipped describe blocks on Jest 24 ([@​JLHwung](https://github.com/JLHwung)) ##### Committers: 2 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 9am on tuesday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2332
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I believe we have been troubled by this issue for a few years, with the help of LLM we can finally resolve this.
The Node.js 6/8/10 jobs downgrade to Jest 24, whose jest-jasmine2 runs
beforeAll/afterAllof adescribe.skipblock and attaches their errors to the skipped tests. This surfaced as noisy "errors" in passing suites, e.g.config-ts-integration-tsxandtransform-script-tags.Backport the Jest 25 check through a Yarn patch. The resolution does not match anything until the CI step runs
yarn up jest@24.Note: The resolution will only be picked up when we downgrade Jest to 24: In 7.x we use Jest 30 which does not depend on
jest-jasmine2@npm:^24.9.0so this patch is not activated for tests on Node.js 12 and above.Assisted-by: Claude Opus 5.5