Skip to content

Add $compact command tests#172

Open
danielfrankcom wants to merge 1 commit intodocumentdb:mainfrom
danielfrankcom:pr/compact
Open

Add $compact command tests#172
danielfrankcom wants to merge 1 commit intodocumentdb:mainfrom
danielfrankcom:pr/compact

Conversation

@danielfrankcom
Copy link
Copy Markdown
Collaborator

This change adds tests for the $compact collection command. As with other commands, the intent is to test the input/output spec rather than the actual compaction functionality of the underlying engine.

As part of this change I removed commands/utils/target_collection.py as I noticed it was still hanging around. This was originally intended to be moved to the framework/target_collection.py file, but it seems a new file was created without deleting the original version in the commands dir.

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom danielfrankcom requested a review from a team as a code owner May 8, 2026 17:06
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels May 8, 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.85 (mixed)

Reasoning

component from path globs (test-coverage, test-framework); effort from diff stats (2631+227 LOC, 19 files); LLM: Adds new test coverage for the $compact command and removes a stale duplicate utility file, both scoped to the test-coverage component.

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