Skip to content

test(sync): exercise durable Cloud Tasks worker handoff hermetically #10001

Closed

Description

@Git-on-my-level

Sync v2 is already declared high-risk, but its hermetic lifecycle E2E forces SYNC_DISPATCH_MODE=inline and manually drains in-process coroutines. The real admission-to-worker boundary—POST /v2/sync-local-files → production tasks_v2.Task → protected POST /v2/sync-jobs/run → Redis job/lease, Firestore ledger, and staged-blob transitions—therefore remains composed only in production. Add a credential-free, process-isolated test that preserves this durable handoff and proves retry/idempotency behavior. This improves confidence around the dispatch boundary implicated by #7240 and #3893 and complements the retry-material repair in #9586; it does not claim to fix their product behavior or the session-reconstruction gap in #8006.

Activity

  1. added a commit that references this issue on Jul 19, 2026
    ae38a64
  2. added a commit that references this issue on Sep 29, 2026
    a4fb1fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendreliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions