Skip to content

Conversation

nirinchev
Copy link
Collaborator

@nirinchev nirinchev commented Mar 28, 2025

Description

Changes the CI workflows to always run all tests, not just changed ones and fixes the tests failing on main.

Open Questions

Checklist

@nirinchev nirinchev requested a review from addaleax March 29, 2025 08:23
@nirinchev nirinchev marked this pull request as ready for review March 29, 2025 08:23
@nirinchev nirinchev requested a review from lerouxb March 29, 2025 08:23
command: string,
args: ReadonlyArray<string>
): Promise<void> => {
const proc = spawn(command, args);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Using execFile from child_process was causing ENOENT trying to run npx on windows.

toISOString: (${newDate}).toISOString(),
valueOf: (${newDate}.valueOf()),
}`;
expect(parse(input, options)).to.deep.equal({
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Had to rework this test due to race conditions where the test run could span multiple milliseconds, resulting in failures when comparing the fields that have millisecond precision.

@nirinchev nirinchev merged commit f14cf05 into main Mar 31, 2025
6 checks passed
@nirinchev nirinchev deleted the ni/run-checks branch March 31, 2025 12:38
@nirinchev nirinchev changed the title chore(ci): run all checks always chore(ci): run all checks always MONGOSH-2125 Mar 31, 2025
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