Repository navigation
Conversation
…huts down over budget, and honours warmPool.enabled (#368) 26 failing -> 0 failing
58 alive -> targeted tests for every branch of the budget, the revalidation and the logs
…ollows the new release behaviour (#368)
22 alive -> the revalidation, budget-dimension and dispose cases each have a test
… for the queue head (#368)
This was referenced Oct 5, 2026
This was referenced Oct 6, 2026
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
V3RON
marked this pull request as ready for review
October 6, 2026 06:49
V3RON
added a commit
that referenced
this pull request
Oct 6, 2026
…ses, later rounds review only the fix (#391) Second of three. Review rounds kept finding new things: in #383 and #386, about half of the findings in round 2 and later came from the previous fix, and most were stale comments or docs outside the diff. - **`.agents/scripts/stale-refs.sh`**: lists every line in the repo that still names a moved or deleted path, a declaration that is gone, or a quoted string no code file has. Git only; about 2 s. On #383 before its round-4 fix it finds the `src/gateway/queue.ts` header naming `src/core/wait-queue.ts`, one of that round's three findings. `review-inputs.sh` adds its output, plus `commit` and `fix.patch`. - **Claims review**: a new `claims-reviewer` agent checks that every comment, doc line, test title and message the diff touches or the sweep finds is true of the code. It runs every round. Its findings never park a PR or count toward the round cap; their fixes get at most two claims-only rounds. - **Wider round 1**: the code review runs as two reviewers: behaviour (including other code acting on the same state) and tests and rules (up to six probes). Each lists what it checked. Briefs say there is no limit on findings. - **Later rounds review only the fix**: is each earlier finding resolved, does the fix diff add a defect, is another instance of the same class left. Anything else is a note; a confirmed defect there becomes a `bug:new` issue. - **Every finding names its class**: the general rule it breaks. In fix mode the implementer finds and fixes every instance of the class and reports them under `Variants:`. The audit now runs the sweep. - **Spec review flags "delivered differently"** (from Matt Pocock's `code-review`): a spec line the diff delivers in another way than written, like #383 calling `core.connect` inside `createLeasing` when the spec put it in the daemon. - `delivery.md` rule 14, `deliver`, `DELIVERY.md`, and `delivery-stats.mjs` (a Claims review column and `claims:` tag) follow. Tests: `src/stale-refs.test.ts` (4 tests; each fails when the part it covers is broken), `src/delivery-stats.test.ts` extended. *Written by an agent.*
This was referenced Oct 6, 2026
V3RON
added a commit
that referenced
this pull request
Oct 6, 2026
…e lane exercises, in Chromium only (#413) The Console job (three browsers, about 15 minutes) ran on every push of every PR, including agent-config, ADR and docs PRs it cannot affect. CI runners queued for up to two hours during the #358/#359 runs. - **A new `Changes` job** lists the PR's changed files, renames by both paths. Console runs when one is a source file under `src/` or `ui/` (unit tests excluded), a console spec, its fixtures or helpers, `playwright.config.ts`, `package.json`, the lockfile, a root `tsconfig*.json`, or `ci.yml`. On the last 25 merged PRs it would have skipped 12. - **Why not `on.pull_request.paths`:** Console is a required check. A workflow skipped by a path filter leaves its checks pending, which blocks the merge; a job skipped by `if:` reports success. If `Changes` itself fails, Console runs. - **Browsers:** a PR that changes `ui/`, the console specs or `playwright.config.ts` runs all three browsers; any other PR runs Chromium only. Every push to `main` runs all three. Of the last 10 Console failures, 6 were Firefox- or WebKit-only. This rule would have caught 3 of them; 2 came from PRs with no UI change (#386, #379), so their kind now shows up only on `main`. - `toolchain.md` and `DELIVERY.md` say when the lane runs. *Written by an agent.*
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.
Closes #368
Status
Implement: done (14 policy, 17 converger, engine and unit tests green; e2e files touched pass) Review: round 5, 0 open Mutate: 3 alive, equivalent (below) Hardware: n/a Gate: pending
Done when
simlock lease --class phonewaiting,simlock releaseof a fitting iPhone grants that device to the waiter andsimlock eventsshows nodevice.provisionedfor it —lease-engine.test.ts"a release at the running cap with a class request waiting grants the released device and provisions nothing" (the onlydevice.provisionedis the seed's)warmPool.enabled: false, a released fake iOS device isshutdownand a released fake Android device isshutdownafter itsdevice.reclaimedwith strategysnapshot— engine test "with warmPool disabled …" ande2e/lease-lifecycle.test.ts"with warmPool.enabled false …"maxRunninglowered below the number of ready devices and the daemon restarted, the excess devices areshutdownwith initiatorwarm-poolafterdaemon.started— engine tests "shuts down one of three ready devices …" and "shuts down an unleased ready device over maxRunning at startup …"simlock configshowswarmPool.enabled: trueby default —config.test.ts"keeps the warm pool on by default …"Assumptions
tryReserveBoot(a running slot and the RAM), nottryReserveRewarm— a shut-down device holds no running slot, andtryReserveRewarmchecks RAM only; the acquisition path boots a shut-down device the same way.bootclaim on areadydevice) — that device counts as running and as reserved until the grant, so the budget reads one over for a moment; the grant triggers the next pass.lastLeaseEndedAtis less thanidle.shutdownAfterMsago, strictly.processing) is not waiting, but still holds one free slot on its platform from the speculative "recently released" boots, as does a waiting request no idle device serves — otherwise the pool boots back a device the waiter just evicted, in a loop.nuke) holds acquisition closed, and stops mid-pass when one begins.ReleaseCoordinator's post-claim notification also requests a pass:device.reclaimedfires while the reclaim claim is still held, so the pass it triggers sees the device as busy.engine.settle()also waits for the pool's running pass, so tests and graceful stop see the settled pool.e2e/doctor-drift.test.tsacceptsreadyfor the devicedoctor --fixmarked shut down, and amakeReadyfor only that device — the pool boots a device released a moment ago back; the fix is still proved by itsdevice.shutdownevent with initiatordoctor.shutdownwhile an operator reset (nuke) holds acquisition closed is never booted back as "recently released", until it leavesshutdown(the mark is in memory; the forced release stampslastLeaseEndedAt= now, which would otherwise undo a nuke without--delete-devices).Notes
converger.ts#again = falseinitial value (reset at the start of every drain);lease-engine.ts...(logger === undefined ? {} : { logger })(an absentloggeris the same aslogger: undefined);src/http/test-fakes.tsenabled: true(a fixture value no test reads).doctor --fixmarkedshutdownis booted back if it was released withinidle.shutdownAfterMs.Review
Spec review: 10 blocking, 4 fixed, 11 notes. Code review: 8 blocking, 6 fixed, 13 notes.
Mutate: 3 mutants, 3 alive.
Rejected:
tryReserveBoot, nottryReserveRewarm) drops ADR 0017's full-size RAM pricing — samecanBootcheck and boot entry, plus a running slot; stricter, no spec outcome changes.Written by an agent.