Repository navigation
pass: Probe a pool whose only reading is from a reset window - #3
Merged
Merged
Conversation
The broker learns a pool's windows only from the responses to requests it proxies. Once the paced week reset, pace() dropped the last reading as no-reading, and unasked() probed only a broker that had served nothing since it started. So a pool that was idle across its reset stayed held until someone restarted the broker: jmarrero-forge/tracker#107, where claude's week reset at 22:00 a Saturday and nothing ran again. A current reading of a window that has since reset now marks its entry with window_reset_at, and unasked() probes that like a cold broker, whatever the request count, including a broker that gives none. It takes the same single run and lease slot as a restart probe, and a run in flight on the provider still suppresses it. A shorter window used up keeps the pool held without a probe, since such a window holds until a fresh reading in the current code; so does a stale or future reading. A grant replaces these entries, so its pacing is unchanged. Generated-by: AI
jmarrero
approved these changes
Nov 24, 2026
jmarrero-bot
added a commit
to jmarrero-forge/tracker
that referenced
this pull request
Nov 24, 2026
Fixes merged in our fork (jmarrero-forge/agent-board#1, the pass signing with its own generatedBy; jmarrero-forge/agent-board#2, baseline x86-64 static builds, without which 52adc0d dies with SIGILL on the bot host; jmarrero-forge/agent-board#3, the usage probe after a window reset, #107) can't reach the hosted pass while the installer fetches and verifies cgwalters-forge/agent-board's CI: a fork commit could never be pinned. Install from the fork instead, so the attestation now has to come from jmarrero-forge/agent-board's ci.yml on main, and pin the fork's main at 113f892 (#108). The fork's main also carries the 19 cgwalters-forge commits after 52adc0d; pass --check-config still accepts pass.json. The installer fixture is now the fork's CI artifact for a24176b rather than an upstream release, so the real-signer probes take the artifact path. The fork has no release yet, and CI artifacts expire after 90 days: before 2027-02-22 the pin has to move (bump-agent-board, #111) or the fork has to release that commit. Generated-by: AI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes jmarrero-forge/tracker#107. After a paced weekly window resets with nothing in flight, the pool stayed
no-readingand held until the broker restarted, becauseunasked()only probed a broker that had served no requests. Now a reading that was current, but of a window that has since reset, marks the entry withwindow_reset_at, andunasked()takes the same single probe run as after a restart, whatever the request count. These still hold with no probe, as before:tracker's
.github/pass.jsonhasusage.probe: true, so this takes effect once the tracker's pin moves past it (after jmarrero-forge/tracker#110). It doesn't cover a pool idle past its reading's 30 hours; that is jmarrero-forge/tracker#112.Testing, on 16-core RHEL 10 devspaces:
just check(fmt, clippy-D warnings, the full test suite): passed.just smoke,just replay,test_review.py,specs/check.shand lint also passed.pace_from_recorded_answers(a probe column, run with and without brokercounts),grant_holds, andreplay_scenarios(reset with requests counted, reset with a run in flight, reset with a used-up 5h window). With thewindow_reset_atcheck removed fromunasked(), they fail.just checkon its own devspace.just test-forgejo: fails identically on main (a24176b) under podman ("Forgejo dispatch budget exhausted").Decision diff against a24176b:
no change in 45 line(s), base and head bothdispatched 1/1, writes 3/3, held 5, requests 57. The recorded pass doesn't exercise this:fixtures/pass/config.jsonhas nousage.url, so it paces by the published snapshot.Generated-by: https://github.com/jmarrero-bot#llms