fix(sync): enforce V2 fair-use policy parity#10020
Merged
Merged
Conversation
added 2 commits
July 19, 2026 12:50
Collaborator
Author
|
@cursor address merge conflict |
|
Merge conflict resolved and pushed. Conflict: Resolution:
Verification:
PR #10020 is now MERGEABLE (no remaining conflicts). CI may still be running ( |
Reconcile backend-routers.json ratchet baseline with current line counts from both branches and keep raise justifications from main plus the V2 fair-use sync.py entry from this PR. Verification: - python3 .github/scripts/test_check_product_file_line_count_ratchet.py (8 passed) - cd backend && .venv/bin/python -m pytest -q tests/unit/test_sync_v2.py tests/unit/test_sync_cloud_tasks.py tests/unit/test_fair_use_plan_aware.py (261 passed) Co-authored-by: David Zhang <Git-on-my-level@users.noreply.github.com>
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
Closes #10002
Product invariants
none
Failure class
Failure-Class: none
This is a narrowly scoped V2 parity repair; no registered semantic failure class applies.
Verification
cd backend && .venv/bin/python -m pytest -q tests/unit/test_sync_v2.py tests/unit/test_sync_cloud_tasks.py tests/unit/test_fair_use_plan_aware.py(261 passed)cd backend && BACKEND_PYTEST_WORKERS=4 bash test.shnpm run test:sync-cloud-tasks-stack:emulatorbackend/.venv/bin/python backend/scripts/scan_async_blockers.py --dirs backend/routers backend/utilscd backend && bash scripts/typecheck.sh(0 errors).github/scripts/check_product_file_line_count_ratchet.pyagainstorigin/main