Skip to content

SCA-2671: Keep desktop frame requests draining at quota - #25712

Merged
Git-on-my-level merged 2 commits into
mainfrom
agent/multica-worker-1-codex-sol/55bbcbf1f5c7
Nov 18, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
agent/multica-worker-1-codex-sol/55bbcbf1f5c7

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Treat a device's enqueue quota refusal as backpressure. Keep the conversation keyframe job pending for the next sync and continue delivering the existing queue.
  • Use the existing bounded expiry cleanup before listing recoverable requests. Restrict that scan to expired rows.
  • The desktop client (ScreenActivitySyncService) consumes the metadata-only frame_requests field from POST /v1/screen-activity/sync. The quota, authority checks, account generation checks, and retention policy are preserved.

Verification

  • Ran three HTTP tests against a loopback Firestore emulator. They cover a full queue with no sync error log and successful retry after a slot frees up, expired rows becoming pruned, and normal enqueue and delivery.
  • Ran 113 targeted backend tests covering screen sync, conversation keyframes, the frame request API and policy, and retention.
  • The Firestore index guard passed. The expiry query uses the existing indexes.
  • Production follow-up after 24 hours of serving. Check Cloud Error Reporting group COHq8orguOqqdQ for events after rollout.

Failure-Class: none

View guided diff Turn on auto-fix

@Git-on-my-level
Git-on-my-level merged commit 24d814d into main Nov 18, 2026
68 checks passed
@Git-on-my-level
Git-on-my-level deleted the agent/multica-worker-1-codex-sol/55bbcbf1f5c7 branch November 18, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant