Skip to content

fix(server): raise storyboard eval/step rate limits for member dev iteration - #3279

Merged
bokelley merged 1 commit into
mainfrom
claude/issue-3277-storyboard-rate-limit-relaxation
May 13, 2026
Merged

bokelley merged 1 commit into
mainfrom
claude/issue-3277-storyboard-rate-limit-relaxation

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Closes #3277

Storyboard eval rate limits were too tight for member developer iteration: 5 evals/hr = roughly 2 debug cycles before hitting the wall on a single agent. This PR implements Option B from the issue (the author's recommendation): raise the caps to match a realistic iteration cadence.

Changes:

  • storyboardEvalRateLimiter: max 5 → 10/hr
  • storyboardStepRateLimiter: max 30 → 60/hr
  • Both 429 handlers: fix retryAfter to use the real window-position value from the Retry-After header via parseRetryAfterSeconds (was hardcoded Math.ceil(60 * 60) = always 3600s regardless of elapsed time). Pattern matches agentReadRateLimiter in the same file.
  • Error message strings updated to reflect new limits

Non-breaking justification: server-side config change only; no protocol schema, task definition, or API contract changes. Admin bypass (skipForAdmins) and skipFailedRequests: true behavior unchanged.

Option A (per-agent keying) deferred: the issue author recommends "only do A if non-admin reports keep coming." Option A also has an open design question (multiply-vs-fixed ceiling) and the correct key source is req.params.encodedUrl not req.body.agent_url — needs owner input before implementation.

Pre-PR review:

  • code-reviewer: approved — one blocker (missing changeset) fixed; retryAfter pattern is correct; no new security surface
  • internal-tools-strategist: approved — standardHeaders: true sets the Retry-After header before the handler fires so res.getHeader('Retry-After') is always available; window-transition behavior (users at 5/5 before deploy get 5 more in-place) is intentional

Triage-managed PR. This bot does not currently iterate on
review comments or PR conversation threads (only on the source
issue). To unblock:

  • Push fixup commits directly: gh pr checkout <num> →
    fix → push.
  • Or re-trigger: comment /triage execute on the source
    issue.

See #3121
for context.

Session: https://claude.ai/code/session_01SPJGvJCxD961HSCvtwyj3D


Generated by Claude Code

…eration (#3277)

Bumps storyboard eval cap from 5→10/hr and step cap from 30→60/hr so
members can complete a typical 4-5 cycle debug session without hitting
the wall. Admin bypass (skipForAdmins) is unchanged.

Also fixes both 429 handlers to use the real Retry-After window position
instead of a hardcoded Math.ceil(60*60) — matching the existing pattern
used by agentReadRateLimiter in the same file.

https://claude.ai/code/session_01SPJGvJCxD961HSCvtwyj3D
@bokelley

Copy link
Copy Markdown
Contributor Author

claude-triaged


Generated by Claude Code

@bokelley bokelley added the claude-triaged Issue has been triaged by the Claude Code triage routine. Remove to re-triage. label Apr 26, 2026
@bokelley
bokelley marked this pull request as ready for review May 13, 2026 16:18
@bokelley
bokelley merged commit e0fb3ee into main May 13, 2026
11 of 12 checks passed
@bokelley
bokelley deleted the claude/issue-3277-storyboard-rate-limit-relaxation branch May 13, 2026 16:18
bokelley added a commit that referenced this pull request Oct 16, 2026
…orkarounds (#8231)

SDK 15.9.2 fixes the two bugs that #8208 worked around in the external
smoke check (adcp-client#3278, #3279). Capability discovery now validates
get_adcp_capabilities against the echoed adcp_version when it is in the
pin's major and bundled. The protocol/tool cross-check now keys
comply_test_controller under compliance_testing.

Removed from scripts/external-smoke: the compliance cross-check waiver,
and the served-release re-pin with its second discovery (ReleaseProbe,
RepinProbe, releasePrecision, servedRelease, negotiateServedRelease,
repinFor). Kept on top of the single 15.9.2 discovery: OAuth 401
classification, the echoed release must share the pin's major and be
listed in supported_versions, and storyboards resolve from the served
release's hosted bundle (new resolverFor option). The "same release
when re-pinned" check needed the second probe and is dropped.

SDK 15.9.0 adds pattern/transport to adcp_reporting_destination_
authorizations. PostgresReportingManagedDeliveryStore uses them in
authorizeDestination, installBinding and claimRevocation (every worker
pass), and its probe does not check them. Migration 624 adds them
verbatim from REPORTING_MANAGED_DELIVERY_MIGRATION, plus the 15.9
tombstone retry columns for ledger parity. The disposable-PostgreSQL
suite passes 8/8 with it and fails 6/8 without it.

Moves the exact current-version pins to 15.9.2 (SDK doc, Addie
certification text with a CODE_VERSION bump, buyer evidence, provenance
tests). Re-records the TypeScript conformance baseline: all 125 cases,
same 3.2.1 digest, counts and finding; only the SDK version changed.
Removes the two request-signing SDK_KNOWN_GAPS todos, which now pass.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-triaged Issue has been triaged by the Claude Code triage routine. Remove to re-triage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Storyboard eval rate limit (5/hr) too tight for member dev iteration

2 participants