Skip to content

Clean up merged commands based on cross-cutting feature discussion#246

Merged
eerxuan merged 4 commits into
documentdb:mainfrom
danielfrankcom:pr/command-cleanup
May 27, 2026
Merged

Clean up merged commands based on cross-cutting feature discussion#246
eerxuan merged 4 commits into
documentdb:mainfrom
danielfrankcom:pr/command-cleanup

Conversation

@danielfrankcom
Copy link
Copy Markdown
Collaborator

From comments and offline discussion in the context of #191, there are a few scope issues with commands that were already merged. This PR fixes those scope issues, primarily by removing writeConcern-related logic that is not strictly part of the spec.

I've also updated the docs/testing documentation to better describe the distinction for cross-cutting concerns, following the discussion in #191.

Remove fsync, getLastError, and provenance tests from writeConcern
validation. These are deprecated/internal fields not part of the
compatibility surface. Only documented spec options (w, j, wtimeout)
are tested.
Signed-off-by: Daniel Frankcom <[email protected]>
…on types

Add guidance to FOLDER_STRUCTURE.md distinguishing cross-cutting
parameters (collation, namespace) from command-specific parameters
(readConcern, writeConcern), and documenting collection type as input.
Update TEST_COVERAGE.md collection variants section.
Signed-off-by: Daniel Frankcom <[email protected]>
@danielfrankcom danielfrankcom requested a review from a team as a code owner May 27, 2026 21:18
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related documentation Improvements or additions to documentation enhancement New feature or request labels May 27, 2026
@documentdb-triage-tool
Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

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

Reasoning

component from path globs (test-coverage, docs); effort from diff stats (139+1722 LOC, 13 files); LLM: Cleanup/polish of already-merged command scoping (removing out-of-spec writeConcern logic) plus docs update — no functional bug or blocker, primarily polish following a design discussion.

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.

Copy link
Copy Markdown
Collaborator

@eerxuan eerxuan left a comment

Choose a reason for hiding this comment

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

LGTM

eerxuan

This comment was marked as off-topic.

@eerxuan eerxuan merged commit fefae11 into documentdb:main May 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants