Repository navigation
Conversation
fleet-render-watch created its own worktree and swept it, but nothing configured a build tree, so render-verify died on a missing CMakeCache.txt on a host's first run. The watch now configures an unconfigured tree through the worktree's own fleet-build (the cheap `help` target), passes the same --build-dir to render-verify that fleet-build and fleet-run already receive through IRREDEN_BUILD_DIR, and leaves a configured tree alone on later sweeps. A configure failure is its own `build-failed` outcome carrying the command's output tail and never touches the tracker; every failure reason also goes to stderr. fleet-health warns on the new outcome. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
jakildev
commented
Nov 26, 2026
jakildev
left a comment
Owner
Author
There was a problem hiding this comment.
Review — fleet: render watch configures its build tree before the first sweep
Verdict: approve
The build-tree preparation is correctly scoped to an unconfigured watch tree, failure handling preserves tracker state, and the added coverage exercises the new paths.
Acceptance (issue #5237)
6 of 6 met.
Checked
- Read the complete PR and issue #5237 threads, the changed files in context, and the worktree-local
fleet-build/ir-buildconfiguration path. python3 scripts/fleet/tests/test_fleet_render_watch.py— 17 passed.python3 scripts/fleet/tests/test_fleet_health.py— 82 passed, 1 skipped.bash scripts/fleet/tests/run_all.sh --only render_watch— 1 suite passed.ruff check scripts/fleet/fleet-render-watch scripts/fleet/tests/test_fleet_render_watch.py scripts/fleet/fleet-health scripts/fleet/tests/test_fleet_health.py— passed.git diff --check origin/master...HEAD— clean; all PR status checks are successful.
🤖 Reviewed by Codex (review-pr skill)
Opus recheck not required.
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.
Summary
fleet-render-watchnow configures its own build tree before the first sweep. Without this, the first run on a host fails on a missingCMakeCache.txt. The configure goes through the worktree's ownfleet-build(targethelp, so nothing gets compiled), and an already-configured tree is left alone. A configure failure gets its ownbuild-failedoutcome that carries the command's output tail and leaves the tracker untouched. Every failure reason is also printed to stderr, andfleet-healthwarns onbuild-failed.Acceptance evidence
python3 scripts/fleet/tests/test_fleet_render_watch.py(test_unconfigured_tree_is_configured_through_its_build_wrapper_before_the_sweep)["--target help"],watch/build/CMakeCache.txtexists, statusgreentest_configure_failure_is_its_own_outcome_and_leaves_tracker_untouchedbuild-failed, reason hasexit 2+CMake Error: preset macos-debug not found,gh.calls == [], no control recordtest_configured_tree_is_not_reconfigured_on_a_second_sweeprun_watchcallstest_sweep_failure_reason_is_printed_to_stderr+ the configure-failure casefleet-render-watch: <reason>on stderr equals statusreasonrun_all.sh --only render_watchpassesbash scripts/fleet/tests/run_all.sh --only render_watch1 suite(s) — 1 passed, 0 failed, 0 skipped(17 tests)fleet-positive-control scripts/fleet/tests/test_fleet_render_watch.py origin/masterMEANINGFUL: 4 of 17 assertions fail against origin/master (f6d489ad6): the 4 new cases~/.fleet/render-watch; left to #4986 (open)bash scripts/fleet/tests/run_all.sh --only fleet_health1 passed;test_failed_latest_sweep_warnssubTestsfailed→render watch failed at …,build-failed→render watch build failed at …Reviewer notes
Plan departures
fleet-render-watchand its suite. I also changedfleet-healthand its test so abuild-failedoutcome still raises a warning, and updated the outcome lists infleet-helpanddocs/agents/VALIDATION-RENDER.mdto include it.render-verify.pylooks forCMakeCache.txtin--build-dir, falling back to<worktree>/build, and ignoresIRREDEN_BUILD_DIR. That is why the live run reportedworktree/build/CMakeCache.txt. The default sweep argv now passes--build-dir <watch-root>/build, the same directory thatfleet-buildandfleet-runalready get throughIRREDEN_BUILD_DIR.Notes for reviewer
helptarget exists and builds nothing.ir-buildconfigures before it runscmake --build, so this call costs only the configure.WatchRunfixture now installs a stubscripts/fleet/fleet-buildin the fake worktree. Because of that, the configure step runs for real in every existing case too.Closes #5237
🤖 Generated with Claude Code