Add $bucketAuto _id override and reshaped-upstream compatibility tests - #721
Merged
eerxuan merged 1 commit intoAug 21, 2026
Conversation
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, docs); effort from diff stats (204+1 LOC, 4 files); LLM: Adds new compatibility test cases for $bucketAuto edge cases and updates TEST_COVERAGE.md, touching test files and docs within a single component. If a label is wrong, remove it manually and ping |
eerxuan
reviewed
Aug 21, 2026
jingyaog
force-pushed
the
test/bucketAuto-id-override-reshaped-upstream
branch
from
August 21, 2026 22:00
217c846 to
c1f33a9
Compare
…E.md Signed-off-by: Aaron Gong <[email protected]>
jingyaog
force-pushed
the
test/bucketAuto-id-override-reshaped-upstream
branch
from
August 21, 2026 22:17
c1f33a9 to
ecef501
Compare
eerxuan
approved these changes
Aug 21, 2026
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.
Summary
_id-in-outputoverride tests for$bucketAuto(accumulator overrides thedefault
{min, max}boundary; non-accumulator_idis rejected with 40234) —contrasting
$bucket, which reserves_id.$bucketAutoafter$unwind,$project,$addFields,$unset,$replaceRoot(plus a pass-through$matchcontrol), with wide docs and
buckets> distinct groupBy values.TEST_COVERAGE.md§15.Test plan
All new tests pass against the reference server (MongoDB 8.2.4, the target spec version).