chore(e2e-tests): update server aggregation error warning for latest alpha COMPASS-10839#8239
Draft
Anemy wants to merge 2 commits into
Draft
chore(e2e-tests): update server aggregation error warning for latest alpha COMPASS-10839#8239Anemy wants to merge 2 commits into
Anemy wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates an e2e server-warning allowlist to keep aggregation-cancellation tests stable against newer server alpha behavior, while preserving signal from unexpected server warnings.
Changes:
- Allows
ClientDisconnectin addition toInterruptedfor the relevant aggregate command executor warning (id === 23799) during cancellation. - Adjusts the warning-filter predicate formatting in the affected test.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
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.
COMPASS-10839
Latest alpha now has a different error code when cancelling a sleep in a js function.
I think there was a similar fix we had to do on mongosh. Here's a link for that context mongodb-js/mongosh#2768 (comment) there was a server bug causing it to have different results than we get now
https://jira.mongodb.org/browse/SERVER-130767
Patch (latest alpha suite only runs on main commits) https://spruce.corp.mongodb.com/version/6a579e2e71d2eb0007e0338d/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Opening as a draft as I think the
ClientDisconnectcould be a false positive for other situations and I want to look into if this is the intended behavior or its a temporary bug with the new wasm engine in new alpha. Thread https://mongodb.slack.com/archives/C04PDS7GAFM/p1784141230556669