Skip to content

Added update array tests for $addToSet#581

Open
vic-tsang wants to merge 3 commits into
documentdb:mainfrom
vic-tsang:array/addToSet/tests
Open

Added update array tests for $addToSet#581
vic-tsang wants to merge 3 commits into
documentdb:mainfrom
vic-tsang:array/addToSet/tests

Conversation

@vic-tsang

Copy link
Copy Markdown
Collaborator

This PR contains:

  • update array tests for $addToSet

Ref:

Signed-off-by: Victor [C] Tsang <vitsangp@amazon.com>
@vic-tsang vic-tsang requested a review from a team as a code owner June 9, 2026 16:35
@vic-tsang vic-tsang changed the title added update array tests for $addToSet Added update array tests for $addToSet Jun 9, 2026
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Jun 9, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: compatibility test, enhancement
Project fields suggested: Component test-coverage · Priority P2 · Effort L · Status Needs Review
Confidence: 0.85 (mixed)

Reasoning

component from path globs (test-coverage); effort from diff stats (1103+0 LOC, 7 files); LLM: Adds new test coverage for the $addToSet update array operator, expanding compatibility test suite.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

Victor [C] Tsang added 2 commits June 11, 2026 17:35
Signed-off-by: Victor [C] Tsang <vitsangp@amazon.com>
Signed-off-by: Victor [C] Tsang <vitsangp@amazon.com>
msg="Should error with unknown modifier in $addToSet",
),
UpdateTestCase(
"each_value_not_array",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

not all modifier tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants