Skip to content

Feature: query-and-write find command#611

Open
imforster wants to merge 1 commit into
documentdb:mainfrom
imforster:forstaia/find/query-and-write
Open

Feature: query-and-write find command#611
imforster wants to merge 1 commit into
documentdb:mainfrom
imforster:forstaia/find/query-and-write

Conversation

@imforster

@imforster imforster commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

#39
Test cases: 150
Docs: https://www.mongodb.com/docs/v8.2/reference/command/find/

Adds compatibility test coverage for the query-and-write find command, validating its full surface area - from core behavior and response structure to BSON type filter matching, null/missing/NaN/Infinity handling, numeric equivalence, sort/projection/skip/limit semantics, cursor batch behavior, hint/min/max bounds, $expr/let variables, field type validation, cross-cutting option acceptance, view restrictions, and tailable cursors on capped collections.

150 test cases across 13 files following project test guidelines.

Supersedes test_find_basic_queries.py, test_find_projections.py, and test_find_with_expr.py which are now covered by the comprehensive new files.

@imforster imforster requested a review from a team as a code owner June 16, 2026 17:26
@imforster imforster force-pushed the forstaia/find/query-and-write branch from fa68bfc to 058ab1b Compare June 16, 2026 17:35
Test cases: 150
Docs: https://www.mongodb.com/docs/v8.2/reference/command/find/

Adds compatibility test coverage for the query-and-write find command,
validating its full surface area - from core behavior and response
structure to BSON type filter matching, null/missing/NaN/Infinity
handling, numeric equivalence, sort/projection/skip/limit semantics,
cursor batch behavior, hint/min/max bounds, $expr/let variables,
field type validation, cross-cutting option acceptance, view
restrictions, and tailable cursors on capped collections.

150 test cases across 13 files following project test guidelines.

Supersedes test_find_basic_queries.py, test_find_projections.py, and
test_find_with_expr.py which are now covered by the comprehensive
new files.

Signed-off-by: Ian Forster <forstaia@amazon.com>
@imforster imforster force-pushed the forstaia/find/query-and-write branch from 3165188 to 8c561e0 Compare June 16, 2026 18:08
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Jun 16, 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 XL · Status Needs Review
Confidence: 0.90 (mixed)

Reasoning

component from path globs (test-coverage); effort from diff stats (1823+262 LOC, 16 files); LLM: Adds 150 new compatibility test cases across 13 files for the find command, superseding existing test files — multi-file, single component, no schema change.

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.

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.

1 participant