build: CI fixes - #2831
Draft
alenakhineika wants to merge 13 commits into
Draft
Conversation
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.
Experiments to see whether CI goes green.
Flaky GC test MONGOSH-3505 (
packages/cli-repl/src/cli-repl-gc.spec.ts) - retry the heap snapshot so a weak-handle release that spans two GC passes is not reported as a leak, plus a test that a genuine leak is still detected.Windows packaging (
packages/build/src/packaging/package/zip.ts) -package_artifact_win32_x64failed withspawn 7z ENOENTafter the 7zip package was removed from thewindows-2022-latestAMI DEVPROD-42642. Falls back to7z.exeand the two standard 7-Zip install locations.Shrinkwrap generation (
packages/build/src/npm-packages/generate-shrinkwrap.ts) - workspace-nested dependencies were resolved from the registry instead of the lockfile, pinningjs-yaml@5.4.1in the published shrinkwrap while CI tested5.2.2. Re-keys those entries onto the new root and adds--offlineso any future gap fails loudly. Also--no-audit, whose stalled request was timing outtest_buildMONGOSH-3641Avoid loading the deprecated domain module - Node removed the REPL's dependency on it in favour of
_handleError(nodejs/node@a9da9ffc), but we patched both unconditionally, so require domain still emitted a DEP0032 runtime warning on Node 27 - polluting mongosh's output and failingtest_e2e_node_nightly. Now uses_handleErroralone where available, keeping the domain path for Node < 25.Dump the container logs before tearing the stack down, so that a failure is diagnosable (e.g. mongod not having started up in time).
Fixes the Kerberos connectivity failures MONGOSH-3642