Skip to content

Upstream $tolower/$toupper tests#74

Open
eerxuan wants to merge 2 commits intodocumentdb:mainfrom
eerxuan:upstream-toLower-toUpper-tests
Open

Upstream $tolower/$toupper tests#74
eerxuan wants to merge 2 commits intodocumentdb:mainfrom
eerxuan:upstream-toLower-toUpper-tests

Conversation

@eerxuan
Copy link
Copy Markdown
Collaborator

@eerxuan eerxuan commented Apr 9, 2026

#10

@eerxuan eerxuan requested a review from a team as a code owner April 9, 2026 23:17
@eerxuan eerxuan force-pushed the upstream-toLower-toUpper-tests branch from 21c2266 to 8fe8876 Compare April 9, 2026 23:39
@eerxuan eerxuan force-pushed the upstream-toLower-toUpper-tests branch 3 times, most recently from 4616303 to 7d958d4 Compare April 15, 2026 01:09
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Apr 29, 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.72 (mixed)

Reasoning

component from path globs (test-coverage, test-framework, ci); effort from diff stats (2310+1 LOC, 27 files); LLM: Upstreaming test cases for $toLower/$toUpper operators adds test coverage for existing functionality, scoped to the compatibility tests directory.

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.

danielfrankcom and others added 2 commits April 30, 2026 12:34
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
- Add __init__.py for package resolution
- Add BSON_TO_STRING_CONVERSION_ERROR, STRING_SIZE_LIMIT_ERROR, FAILED_TO_PARSE_ERROR, INVALID_DOLLAR_FIELD_PATH to error_codes.py
- Add STRING_SIZE_LIMIT_BYTES, DECIMAL128_MIN_POSITIVE, DECIMAL128_MAX_NEGATIVE to test_constants.py
- Fix pytest_params import (moved to parametrize module)
- Use relative imports for operator common utils
- Pin CI MongoDB to 8.2.4
- Run isort/black formatting

Signed-off-by: Yunxuan Shi <yunxuan@amazon.com>
@eerxuan eerxuan force-pushed the upstream-toLower-toUpper-tests branch from ac86250 to 436ac49 Compare April 30, 2026 19:34
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.

2 participants