Repository navigation
fix(engine): size the connect plan for a full room's lifetime - #560
khaliqgant wants to merge 1 commit into
Conversation
A Relay Connect seat makes about 22 requests a minute (delivery read every 3s, heartbeat every 30s). A full eight-seat room open for its 30-day maximum makes about 7.6M calls, so 3M ran out around day 12. Raise connect.api_calls to 8M, still below pro. Refs AgentWorkforce/cloud#5293 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
khaliqgant has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Codex Review SummaryThis 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
Part of AgentWorkforce/cloud#5293. Follows #558. Khaliq chose this option (A) after the sizing gap below came up in review of cloud#5296.
Problem
#558 sized
connectat 3Mapi_callsfor a two-seat room. A room can have up to 8 participants (CONNECT_PARTICIPANT_CAP) and live 43,200 minutes (CONNECT_MAX_ROOM_LIFETIME_MINUTES). Measured from relay-desktop main (probe/src/relay/connect.rspoll_connects), a seat reads deliveries every 3s and heartbeats every 30s, which is about 22 requests a minute. That matches the 44/min observed for two seats in cloud#5276.Change
PLAN_LIMITS.connect.api_calls: 3,000,000 → 8,000,000. That covers a full room for its maximum lifetime with about 5% headroom and stays belowpro(10M). The other limits are unchanged; 1,200/min already covers 8 × 22.Land order
@relaycast/engineto 10.6.2 and deploys. No relaycast-cloud code change is needed;PLAN_RANKalready hasconnect.connect. Existing rows already onconnectare none, since cloud#5296 has not shipped.Verification
Revert check: setting
api_callsback to 3,000,000:Restored →
Tests 4 passed (4).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Note
Low Risk
Configuration-only quota bump for the connect tier with updated tests and docs; no auth, billing logic, or API behavior changes beyond the higher limit.
Overview
Raises the
connectworkspace plan monthlyapi_callsquota from 3M to 8M inPLAN_LIMITS, so an eight-seat Relay Connect room that polls deliveries every 3s and heartbeats every 30s can run for its full 30-day maximum without hittingplan_limit_exceeded. Other connect limits (agents, rate/min, etc.) are unchanged.Adds a static-entitlements test that encodes that sizing assumption, and updates the README plan table and patch changelog entries.
Reviewed by Cursor Bugbot for commit 1402ee5. Bugbot is set up for automated code reviews on this repo. Configure here.
Agent Relay sessions
claudesession76bc532b· opened viagh pr create· last active 2026-10-18