Skip to content

chore(ci): run all checks always MONGOSH-2125 #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 31, 2025
Merged

chore(ci): run all checks always MONGOSH-2125 #523

merged 13 commits into from
Mar 31, 2025

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

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@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.

@@ -448,51 +448,137 @@ describe('@mongodb-js/shell-bson-parser', function () {
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.

None yet

2 participants