Skip to content

fix(agent-task): settle cancellation for proven absent runner jobs - #18502

Merged
chubes4 merged 2 commits into
mainfrom
fix/cancel-absent-runner-job-17479
Nov 18, 2026
Merged

chubes4 merged 2 commits into
mainfrom
fix/cancel-absent-runner-job-17479

Conversation

@chubes4

@chubes4 chubes4 commented Nov 18, 2026

Copy link
Copy Markdown
Member

Summary

Consult the shared durable ledger before settling cancellation: multiple daemons share the HOME-scoped ledger, while each mirror contains only its own scope, so a mirror miss is not proof of absence.

What changed

  • Added typed ledger-absent, ledger-terminal, and other-scope ownership outcomes.
  • Preserved daemon error codes and details through projection-cancel transport.
  • Allowed safe local cancellation with evidence while retaining accepted-handoff error propagation.
  • Added runner-store, transport-parser, and controller cancellation coverage.

Verification

  • cargo fmt --all -- --check: passed on ae89676. Base main@236eace unchanged. 17086 ms; retained gate metadata.

  • nice -n 10 cargo check --workspace --all-targets -j2: passed on ae89676. Base main@236eace unchanged. 213942 ms; retained gate metadata.

  • HOMEBOY_LINT_BASE=236eacef2b53585da813bf1ea5268893d56011b6 homeboy --placement l (HOMEBOY_LINT_BASE=236eacef2b53585da813bf1ea5268893d56011b6 homeboy --placement local review lint homeboy --path . --cha…): passed on ae89676. Base main@236eace unchanged. 320797 ms; retained gate metadata.

  • repro: none (no repro gate was declared, so these gates do not prove the issue).

  • CI: pending

Cook run
  • Gate 1: tree 4be41273ad1b0236609a106f63bd5022e21bfac8
  • Gate 2: tree 4be41273ad1b0236609a106f63bd5022e21bfac8
  • Gate 3: tree 4be41273ad1b0236609a106f63bd5022e21bfac8

Evidence

  • cargo fmt --all and git diff --check completed successfully. Compilation and tests deferred to Homeboy’s declared verification gates.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (pi). Model: Pi · route roadie/cook-heavy · served gpt-6.1-sol. Cook time: 15m16s.

Implementation and reviewer documentation were written by the AI, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Closes #17479

@chubes4
chubes4 merged commit 5bcb409 into main Nov 18, 2026
17 checks passed
@chubes4
chubes4 deleted the fix/cancel-absent-runner-job-17479 branch November 18, 2026 21:49
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.

Cook-batch children stuck 'running' with no daemon job; cancel fails 'job not found'

1 participant