bullswarm 0.40.1 → 0.40.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/data/openrouter-benchmarks.json +16829 -16553
- package/docs/guide/concepts.md +1 -1
- package/docs/guide/routing.md +1 -1
- package/docs/guide/workflows.md +1 -1
- package/docs/reference/cli.md +3 -1
- package/docs/reference/program.md +1 -1
- package/docs/reference/providers.md +1 -0
- package/package.json +1 -1
- package/skill/references/recovery.md +1 -1
- package/src/lib/quota.js +39 -6
- package/src/lib/strategy.js +15 -4
- package/src/providers/_schema.json +3 -1
- package/src/workflow/cli-capabilities.js +1 -1
- package/src/workflow/dispatch-no-pool.js +2 -1
- package/src/workflow/dispatch-pools.js +15 -0
- package/src/workflow/v2-dispatch.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.40.3 — Cloudflare rate limit waits on the same pool
|
|
6
|
+
|
|
7
|
+
- Cloudflare Workers AI's per-model rate limit (code 3021, `rate limiting: inference request per min rate reached`, HTTP 429) is now a `throttle`: the step backs off on the same pool and keeps its one retry. Before, it read as a provider failure, so each hit spent the retry on another pool (one step went Inkling, DeepSeek, then gpt-oss-120b). A notice line that opens with HTTP 429's reason phrase (`Too Many Requests: {...}`) now counts as a provider notice.
|
|
8
|
+
- The throttle backoff is jittered: 20-30 s, then 60-90 s, instead of exactly 20 s and 60 s, so parallel workers that hit one per-minute limit do not all retry in the same second. A wait the provider names is kept as named.
|
|
9
|
+
- A long limit notice (a 429 JSON body) is quoted in `why` from the matched phrase, so the line stays short.
|
|
10
|
+
|
|
11
|
+
## 0.40.2 — Routing fixes for lane-limited and pay-per-token pools
|
|
12
|
+
|
|
13
|
+
- `strategy set-lanes <pool> analyze` no longer empties the pool's medium and low rungs at the next `strategy apply`. A lane limit decides which work a pool takes, not which effort tiers it keeps. Before, grok (limited to analyze on 17 Nov) took no work at all after the nightly apply, not even analyze at medium.
|
|
14
|
+
- New connector field `buildsNeedCheck`: `true` keeps a pool out of build steps that carry no machine check (`--check`, or `command`/`schema` evidence). Unchecked builds go to other pools; analyze and chore work is unaffected. For cheap pay-per-token pools such as Cloudflare Workers AI.
|
|
15
|
+
- Model discovery keeps model ids that contain `@`. Every Cloudflare Workers AI id starts with `@cf/`, so such models were silently dropped from a pool's discovered list.
|
|
16
|
+
|
|
5
17
|
## 0.40.1 — Concurrency caps (fixed)
|
|
6
18
|
|
|
7
19
|
- 0.40.0 was tagged but never published: its release check caught a race in the caps. Two steps that arrived in the same millisecond were ordered by a random id, so a newcomer could sort ahead of a step already running and both ran at a cap of 1. A slot that may run is now marked admitted, a waiting step never overtakes one, and arrival times are sub-millisecond.
|