Repository navigation
v2.0.0-next.129
Pre-release
Pre-release
🎉 This release contains work from a new contributor! 🎉
Thank you, Cursor Agent (@cursoragent), for all your work!
Release Notes
feat(core): defer rate-limited queue messages through a RATE_LIMITED event (#657)
- Upgrade
@friggframework/coreand@friggframework/devtoolstogether, and redeploy. Devtools grants the IAM actions and switches on the scheduler; core does the deferral. - The queue worker no longer sleeps for a hinted rate limit. Before, a 429 with
Retry-Afteror a classified limit could wait in process (up to 60 s with #656). Now the message is deferred at once and the handler runs again from the start atretryAt. So:- handlers must be idempotent (they already must be, delivery is at least once);
- every deferral counts toward
FRIGG_QUEUE_MAX_DEFERRALS(30). A job with many calls that keeps hitting a short burst limit can reach the cap and fail; keep each message's work small, or raise the cap; - a handler that catches every error now sees a
RateLimitErrorthat the Requester used to retry in process. Rethrow it.
A 429 with no hint keeps the fixedbackOffladder, as before.
- A rate-limited 4xx is no longer discarded. A provider limit signalled with a 403 is now deferred.
- Optional: an integration can define a
RATE_LIMITEDevent handler, and a module can adduserHintstext and links to itsstatic rateLimit. New env var:FRIGG_QUEUE_RATE_LIMIT_PROBE_MS.
🤖 Generated with Claude Code
feat(core): honour Retry-After and let API modules declare rate limits (#656)
- An app changes behaviour only after it upgrades
@friggframework/coreand redeploys. A module that declares nothing keeps its behaviour, except that a 429 withRetry-Afternow waits as long as the header says when that fits the caller's budget, and throwsRateLimitErrorwhen it does not. - Upgrade
@friggframework/corebefore an API module usesstatic rateLimitorRateLimitError.
🤖 Generated with Claude Code
🚀 Enhancement
@friggframework/core@friggframework/core,@friggframework/devtools
🐛 Bug Fix
- docs(adr): ADR-049 rate-limit awareness #655 (@d-klotz)
- ci: fix MongoDB replica-set flake + add Cloud Agent environment.json #734 (@cursoragent @seanspeaks)
- docs(adr): ADR-070 MCP gateway, ADR-071 bring your own MCP server #738 (@claude @seanspeaks)
@friggframework/core,@friggframework/devtools- fix(telemetry): zero-code OTLP env activation + span attribution from baggage (D-SCHEM-3) #733 (@cursoragent @seanspeaks)
@friggframework/admin-scripts,@friggframework/core,@friggframework/devtools,@friggframework/eslint-config,@friggframework/prettier-config,@friggframework/schemas,@friggframework/serverless-plugin,@friggframework/test,@friggframework/ui
Authors: 4
- Claude (@claude)
- Cursor Agent (@cursoragent)
- Daniel Klotz (@d-klotz)
- Sean Matthews (@seanspeaks)