Repository navigation
chore(gate-queue): remove leftover build-lease references - #84
Open
fts-forge[bot] wants to merge 1 commit into
Open
fts-forge[bot] wants to merge 1 commit into
fts-forge[bot] wants to merge 1 commit into
Conversation
The build lease was removed in STA-565/567 and ~/.local/bin/build-lease is gone from THEBATTLESHIP, but the repo still carried it: - gate-queue: port the live lease-free copy (no acquire/renew/release, --exclusive/--no-lease accepted and ignored, refuses linked worktrees). - selftest: drop the stub lease; add a linked-worktree refusal check. - stale-wait-sweep: drop the `build-lease status` probe and the free-slot criterion. With the binary gone every host was "unparseable" and skipped. - target-sweep: drop the lease. It has skipped every hour with "build-lease is missing"; the per-project cargo lock check stays. - gate-queue.nix, THEBATTLESHIP.nix, docs/gate-queue.md: comments/docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
STA-622. The build lease was removed in STA-565/567, and
~/.local/bin/build-leaseis gone from THEBATTLESHIP. The repo still carried it, and two live jobs were quietly broken by it:dev-target-sweep(hourly, THEBATTLESHIP) has loggedSKIP: /home/agent/.local/bin/build-lease is missingon every run, sotask/targetis no longer bounded. It is at 199G against a 200G budget. The drive has 800G free.build-lease status. With the binary gone, every host parses as "unparseable" and gets skipped.Gates themselves do not fail with rc 127. The running daemon is the hand-placed lease-free copy (
~/.config/systemd/user/gate-queue.serviceshadows the nix unit). This PR brings the repo in line with that copy.Changes
gate-queue: the live copy, verbatim. No lease acquire/renew/release.--exclusive/--no-leaseare accepted and ignored. It refuses a linked worktree.selftest.py: drops the stub lease and adds a linked-worktree refusal check.stale-wait-sweep.pyand its selftest: drop the lease probe and the free-slot criterion. Matching still accepts the word "lease" because old blocks still use it.target-sweep.nix: drops the lease. The per-project.cargo-lock/.cargo-build-lockflock check is still the in-use guard.gate-queue.nixandTHEBATTLESHIP.nix;docs/gate-queue.md.Validation
python3 -I selftest.py: 17/17 passedpython3 -I stale-wait-sweep.selftest.py: ALL PASSnix evalof THEBATTLESHIP'sdev-target-sweepExecStart, plus a build of its drv (writeShellApplication with shellcheck): ok, no "lease" left in the scriptDeploy
Nothing takes effect until THEBATTLESHIP is switched (that needs the Captain's yes/no). The stale-wait-sweep copy in the DevOps Hermes profile also has to be re-copied.
🤖 Generated with Claude Code