Repository navigation
test(sync): fix receipts/wait deletion test after #26390 renamed the poll helper (SCA-4464) - #26483
Merged
Merged
Conversation
…letion test #26390 (SCA-4464) replaced routers.sync.sync_job_poll_response with with_custody_hold_poll_hint; the account-deletion receipt test added by SCA-4084 still patched the old name, so main shard 2 failed with AttributeError. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This fixes a semantic merge conflict that is failing Backend Unit Tests shard 2 on main. The fix is test only.
routers.sync.sync_job_poll_response(status, uid, surface_open)withwith_custody_hold_poll_hint(status).test_sync_receipts_wait_account_deletion.py) still monkeypatched the old name. On main carrierd7d76281, 6 cases fail withAttributeError: module 'routers.sync' has no attribute 'sync_job_poll_response'.with_custody_hold_poll_hintwith an identity function, the same stand-in it used before. No production code changes.Verification (m1,
backend/test.sh)tests/unit/test_sync_receipts_wait_account_deletion.py: 6 passed.tests/unit/test_terminal_relevance.py: 101 passed. It also failed in that shard and passes on current main.Product invariants affected
none
🤖 Generated with Claude Code