Repository navigation
fix(python-sdk): normalize async PITR wildcard scopes - #30944
mergify[bot] merged 2 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 7bb85c72b6b433b543ce167c263aa8efd7ea2f4b
Assessment: approve
Reviewed the complete two-file delta and affected callers. Normalizing wildcard scopes in the existing async row parser restores synchronous API parity across get/list and create/alter results. The design adds no duplicate execution path, extra I/O or material performance cost. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1517-7f90-b3f9-c5f9f9e7031b · slot 0 · generation 1
Validation:
-
Verified the frozen HEAD and clean source; independently checked parser parity, client/session callers, SHOW PITR semantics and the added public-get assertions.
-
Reused six successful exact-head Python SDK offline CI variants recorded in evidence.json and checked their workflow scope.
-
git diff --check and the static evidence audit passed. Both check-run receipts match the assessed HEAD and exit code 0; retained logs are attempt-1/diff-check.log and attempt-1/audit.log.
Limitations:
-
No local Python suite rerun; raw CI and author test logs were unavailable. Online SDK tests were skipped, an accepted limitation for this parser-only correction.
-
Linked issue #30943's original body was unavailable; the concrete wildcard-normalization contract was reviewed from the supplied PR evidence.
Merge Queue Status
This pull request spent 4 hours 14 minutes 21 seconds in the queue, including 45 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #30943
What this PR does / why we need it:
SHOW PITRuses*for scope columns that do not apply. The synchronous Python SDK parser converts those sentinels toNone, matching the publicOptional[str]model, butAsyncPitrManagerreturned the raw*values.This change applies the same normalization in the async shared row parser. The regression exercises the public async
get()path and pins the synchronous behavior used as the contract reference.Reproduction proof
AssertionError: '*' is not None.Validation
python -m pytest -q clients/python/tests/offline/test_pitr.py— passed (28 tests).python -m pytest -q clients/python/tests/offline— passed (1305 tests; two existing SQLAlchemy/sqlite deprecation warnings).python -m flake8 ... --select=E9,F63,F7,F82— passed for both changed files.python -m compileall -q ...— passed.git diff --check— passed.Online SDK tests and the remote multi-version CI matrix are not claimed; CI will provide the repository-supported matrix.