Skip to content

Conversation

mark-wiemer
Copy link
Member

@mark-wiemer mark-wiemer commented Mar 28, 2025

PR Checklist

Overview

When moving to Node 20.19.0, we are seeing consistent test failures, and it's unclear why. For now, it's best to clarify that we only support Node 20.18.3 and continue investigation on issues with Node ^20.19.0 separately.

We will still have flaky issues with Windows 20.18.3 as clarified in #5052. I had to mark this PR as "fixing" the issue in order to pass a separate PR validation. I will reopen #5052 after this PR is merged for further investigation.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

🧪

@mark-wiemer
Copy link
Member Author

@JoshuaKGoldberg

I don't have permissions to merge, not sure if this is by design for the main repo, just FYI. I'm OK merging these changes :)

Merging is blocked
You're not authorized to push to this branch. Visit https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches for more information.

@JoshuaKGoldberg
Copy link
Member

I think VoxPelli was looking into getting you those permissions. In the meantime I can merge it 👍

@JoshuaKGoldberg JoshuaKGoldberg merged commit 18699a0 into mochajs:main Mar 31, 2025
75 of 76 checks passed
@voxpelli
Copy link
Member

voxpelli commented Apr 1, 2025

@mark-wiemer @JoshuaKGoldberg I tried to improve it now

@voxpelli voxpelli requested a review from Copilot June 12, 2025 07:52
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses test failures on Node 20.19.0 by restricting the CI matrix to supported patch versions and adds a manual trigger for the workflow.

  • Added workflow_dispatch to allow manual runs of the test workflow.
  • Pinned the Node 20 version to 20.18.3 and Node 22 to 22.11.0 in the test matrix.
Comments suppressed due to low confidence (1)

.github/workflows/mocha.yml:71

  • [nitpick] Consider using a semver range (e.g., '18, >=20.18.3 <20.19, 22.11.0') instead of a fixed patch version to avoid needing updates for each new patch release.
node-versions: '18,20.18.3,22.11.0'

@mark-wiemer mark-wiemer deleted the fix-tests branch July 12, 2025 16:44
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.

🛠 Repo: Nondeterministic test failures on the main branch
3 participants