Skip to content

[Bug]: test-ci-partial fails with FORCE_COLOR #16497

Description

@MikeMcC399

Version

30.5.2

Steps to reproduce

citgm jest fails as described in nodejs/citgm#1156. The issue is also reproducible using the same script sequence as defined for citgm without actually calling citgm:

Ubuntu 26.04.1, Node.js 24.21.0 LTS

git clone https://github.com/jestjs/jest
cd jest
git checkout v30.5.2
corepack enable yarn
yarn
export CI=1
yarn build:js
yarn remove-examples
yarn test-ci-partial

Expected behavior

yarn test-ci-partial should succeed

Actual behavior

Running yarn test-ci-partial as set up to test in https://github.com/nodejs/citgm fails in

passes fork options down to child_process.fork, adding the defaults

with a mismatch due to

  • "FORCE_COLOR": "1",
    
  • Whereas yarn test-ci-partial fails
  • the related yarn-test-ci-partial:parallel succeeds

Additional context

Environment

System:
    OS: Linux 7.0 Ubuntu 26.04.1 LTS 26.04.1 LTS (Resolute Raccoon)
    CPU: (8) x64 13th Gen Intel(R) Core(TM) i7-13700
  Binaries:
    Node: 24.21.0 - /home/mike/n/bin/node
    Yarn: 4.18.0 - /home/mike/n/bin/yarn
    npm: 11.19.0 - /home/mike/n/bin/npm
  npmPackages:
    jest: workspace:* => 30.5.2

Activity

  1. MikeMcC399 commented on Nov 9, 2026

    @MikeMcC399
    Author

    Is this likely to get resolved soon? If not, then I would submit a PR to exclude jest from citgm testing.

    I see that two related PRs have been submitted:

    Neither of the PRs has been reviewed by the jest team so far.

  2. added a commit that references this issue on Nov 9, 2026
    e0029dd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions