Skip to content

docs(m141): record the bounded lease fan-out release#158

Merged
indykish merged 2 commits into
mainfrom
chore/m141-lease-fanout-changelog
Jul 27, 2026
Merged

docs(m141): record the bounded lease fan-out release#158
indykish merged 2 commits into
mainfrom
chore/m141-lease-fanout-changelog

Conversation

@indykish

Copy link
Copy Markdown
Contributor

Changelog <Update> for M141_001 — the bounded runner lease fan-out.

Pairs with agentsfleet/agentsfleet#561, which is the code side of the same milestone.

What the entry covers

  • Idle polls skip the database entirely — a poll consults a readiness index that ingress writes when a fleet actually receives work.
  • Scheduled fires enter the fast path too — the cron producer records readiness when it appends, so a scheduled run is picked up on the next poll rather than waiting for the background sweep.
  • Per-poll work is capped by MAX_READY_CANDIDATES_PER_POLL, documented alongside NO_WORK_RETRY_AFTER_MS.
  • Runner authentication is memoized for one heartbeat interval.
  • New /metrics families for poll cost and readiness depth.
  • Bug fixes: non-canonical fleet_id on the messages route is now rejected rather than silently queued onto a stream nothing reads; stopping, deleting, or auto-pausing a fleet clears its readiness entry; a stranded event no longer waits on unrelated traffic.

Not regenerating error-codes.mdx. The page is hand-curated under this repo's EXPECTED_VERSION 0.17.0 pin, and zig build gen-error-codes raw output both fails that pin and trips DOC-05 banned words via registry prose. The UZ-UUIDV7-009 row this milestone needed has shipped since Jul 12 (ee22c03), so no page change is owed here. Reconciling the generator with the hand-curated page is worth its own slice.

indykish and others added 2 commits July 26, 2026 15:09
Idle runner polls stop touching Postgres and stop scaling with fleet count.
Bug-fix bullets carry the load-bearing facts: the non-canonical `fleet_id`
that returned 202 and never delivered, the readiness entry a stopped fleet
could never release, and the undelivered-entry recovery the old reclaim path
could not see.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Two additions to the unreleased bounded-lease-fan-out entry, from the
pre-ship adversarial review: the cron producer now marks readiness on
append, and the approval gate's automatic pause clears the fleet's
readiness entry like the stop and delete paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@indykish
indykish merged commit c300e36 into main Jul 27, 2026
3 checks passed
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