Repository navigation
fix(land): the fixer's model is read from Codex's banner, a cancelled build is a failure, and handback summaries end at a word - #816
Conversation
Quest-Claim: 75565ab265c01681
… build is a failure, and handback summaries end at a word Finishes the land fixer crash quest: kixel-ai/rind#967 got a real Codex run that named what it needed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound. Each fix targets a root cause the evidence run showed: the model is now parsed from Codex's own banner instead of a fixed-size stderr prefix, cancelled jobs are a fallback only when no job failed, and summaries are clipped at a word.
Reviewed changes
This review covers the full diff: the fixer's banner parsing, the watcher's failing-job selection, handback clipping, their tests, and the finished quest file.
Bannerinland-fix.ts: reads stderr line by line and takesmodel:only betweenOpenAI Codex v…and the second--------rule. Wrapper output of any length before the banner is skipped, and agent output after it cannot set the model.failingJobscancelled fallback: acancelledjob is reported, with its cancelled step, only when no job failed. Fail-fast siblings stay out, and logs are fetched only for the jobs kept. This also applies to quest's own queue drops inland-queue.ts, where the same behavior is the right one.clipfor handback summaries: ends at a word with…when the text is cut. When it is not cut, it appends the terminator only if the text lacks one.- Tests: cover a 200-line wrapper preamble, a forged
model:line before the banner, a second banner after it, a time-limited cancelled build next to a failed build with a cancelled sibling, andclip. quest/m0/land-fixer-crash.md: deleted because its Waiting condition cleared.
claude-opus-5-5 | 𝕏
|
Maintainer decision (2026-11-22,
(Written by Opus 5.5) |
|
Applied the maintainer's decision at #816 (comment): the pick, and the three follow-up answers, are recorded under (Written by Claude Sonnet 5.5) |

Finishes quest/m0/land-fixer-crash.md: its Waiting condition cleared, so the quest is deleted. The three problems the evidence run showed are fixed here too, since each is small and rooted in this repository.
Summary
.git) merged 2026-11-22T05:09Z. url 2.5.9 fixes RUSTSEC-2026-0592, which fails cargo deny on every PR kixel-ai/rind#967 was then dropped by the merge queue (failed_checks, 16:33Z) and got a real Codex run (gpt-6.1-sol, medium, 76,391 tokens) that handed back at 16:55Z naming what it needs, notfixer crashed (exit 1). The quest is done.Queue build / Build) ran into GitHub's 1 h job limit and endedcancelled(annotation "The job has exceeded the maximum execution time of 1h0m0s"). The watcher counted onlyfailure,timed_out, andstartup_failure, so the fixer got just the PR's own skipped checks.failingJobsnow falls back tocancelledjobs when none failed (a failure's fail-fast siblings stay out), naming the cancelled step, and reads logs only for the jobs it keeps.fixread only the first 4,096 bytes of the agent's stderr for themodel:banner line, and the host's Nix shell printed 5,119 bytes (43 lines ofcopying path) before Codex's banner. Nowfixreads stderr line by line, and takesmodel:only from Codex's own banner (OpenAI Codex v…to the second--------rule), so wrapper output of any length passes and nothing the agent prints later can set it.. Recommendation. It now ends at a word with…. The strayfi·xis deliberate and unchanged:fixerTextdefuses closing keywords so a fixer's text cannot close an issue byfixes <URL>; narrowing it is not worth the risk.Validation
watch-job-fix-AAHbI7.json.logshows Codex v0.167.1 starting (model: gpt-6.1-sol,reasoning effort: medium) after 43 lines of Nix output totalling 5,119 bytes, andremoval-967.jsonhas"jobs":[].gh apishows the merge group's run45038867826with one job,Queue build / Build,cancelledafter 1h0m, its stepCheck and test the merge groupcancelled, and the 1 h annotation.test/land.test.ts"finds Codex's banner after any amount of wrapper output" (200 lines of Nix noise, a forgedmodel:line before the banner, a forged second banner after) returnsunknownon the base and passes now;test/land-watch.test.ts"a build GitHub cancelled past its time limit…" fails on the base (no failing job) and passes now, and also asserts a cancelled sibling of a failed job is neither listed nor has its log read. A unit test coversclip.fixas a fake agent's stderr; the result now records"model":"gpt-6.1-sol"where it recordedunknown.just checkandjust testpass.Public API
None on the CLI. Handback and removal comments name a cancelled job when it is the only failure, and fixer signatures carry the model whenever Codex printed it.
Caused by
failure,timed_out, andstartup_failureas failing, so a job cancelled at the time limit left the fixer no failing job (found by person)Follow-ups
/quest-planthere: the fixer's shell stalled for minutes at "waiting for the big garbage collector lock..." duringnix developand could not finish the gate. Itsquest/m0/nixos/fixer-upload.mdwaits on the same run and can finish on it./quest-planthere:Queue build / Buildhas notimeout-minutes, so a hung build holds the queue for GitHub's 1 h limit. #967's build hung that long and the PR merged unchanged on its second enqueue.No quest here owns any of these (no open PR touches these files).
Decisions
Settled by the maintainer in the pick round:
/quest-merge(rejected:/quest-iterate, skip).Queue build / Buildwith notimeout-minutes: ✅ keep (rejected: drop).Models
Size: XS
Implementer: Claude Code, claude-sonnet-5-5, unknown effort (arm A)
Implementer: Claude Code, claude-sonnet-5-5, unknown effort (iterate, XS, arm A)
🤖 Generated with Claude Code
(Written by Claude Sonnet 5.5)
Review
Rewritten by
quest reviewafter each round.Head: b55ae04
Base: origin/main at 277d0e8
Risk: medium,
It fixes bugs in the land fixer's behavior: the model is now read from Codex's startup banner, cancelled jobs (such as a timed-out build) now count as the failing job so the watcher can hand them to the fixer, and handback comments are clipped at a word. A wrong read could mislabel a fixer's model or post a misleading job cause in a PR comment for the maintainer and contributors on rind, and a revert undoes all of it.Classified: medium by Claude Code, claude-haiku-5-5, low effort, session
71a7ba11-8f36-4bb1-adce-499d1eba68efReviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a204be-caf6-7ac2-ae53-bb25443e5d1c, round 1Score: 9/10,
No actionable regressions were found in the altered contracts or their dependents, though builds and tests were not run as instructed.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none