Craft Anything: understand how any software works, and craft your own.
Rust
Keep builder availability fixtures independent of live discovery (#773)
Afloat686f3429e1b5
diff --git a/crates/ui-egui/tests/smoke.rs b/crates/ui-egui/tests/smoke.rsindex 0188ddb2..11609703 100644--- a/crates/ui-egui/tests/smoke.rs+++ b/crates/ui-egui/tests/smoke.rs@@ -2280,10 +2280,12 @@ fn with_nothing_to_build_with_start_offers_what_was_found_instead_of_a_dead_end(h.run_steps(3);h.get_by_label("Building needs a coding agent such as Claude Code, or an AI with an API key.");h.state_mut().state.make.request = "A notes app".into();+ // The fixture supplies discovery results; keep host detection out of this UI test.+ h.state_mut().detecting = true;h.state_mut().start_make();h.run_steps(2);assert_eq!(h.state().state.modal, Some(Modal::NeedBuilder { start: true }));- // Found on this computer meanwhile (detection runs when the dialog opens).+ // The simulated discovery has now found an agent.h.state_mut().detecting = false;h.state_mut().detected = Some(demo::detected());h.run_steps(2);diff --git a/docs/ROADMAP.md b/docs/ROADMAP.mdindex fcbfa553..2e490c22 100644--- a/docs/ROADMAP.md+++ b/docs/ROADMAP.md@@ -677,6 +677,10 @@ Gaps found while using the app for real projects.- [ ] A live build with two Claude Code AIs signed in to two accounts, and one over SSH with a`~/` folder (the remote line is unit-tested, not run on another computer)+- [ ] Keep the builder-availability smoke regression independent of live agent discovery.+ — claimed: Afloat16, branch test/r2.9-builder-discovery-fixture-20261104+ Test fixture implemented with controlled discovery; automated validation remains pending.+### R2.10 Pinned buildsOwner: maintainers · Status: in progressKeep a build that works at hand: pin it, and open it from the sidebar whatever the builder doesdiff --git a/docs/STATUS.md b/docs/STATUS.mdindex 4b216038..9ebc09ad 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -50,6 +50,7 @@ workspace clippy, layers, fmt and the secret scan of all history were clean. Chi| CLI | Every tool, `--deep` or `--clean-room` for one run (never saved), `rebuild` (including `--continue-in`, and `--resume` to carry on a stopped build), `mcp --inbox`, `ai`, `setup`, `doctor`, `report` | CLI integration tests || SQLite database files (`db_sqlite_show`) | A rowid alias column (`INTEGER PRIMARY KEY`, including the table-constraint form) shows the rowid; `DESC`, non-`INTEGER` and composite keys keep their stored values | Hand-built fixtures; generated files compared with the official SQLite library || SQLite WITHOUT ROWID tables | Read from the index b-tree, interior records and overflow included; rows in primary-key order, values in declaration order, `rowid` null | Hand-built fixtures; generated files compared with the official SQLite library |+| Builder discovery smoke fixture | The missing-builder smoke fixture controls discovery state and supplies a synthetic result. | All original warning, modal, action and build-availability assertions are retained. Source inspection only; automated validation has not yet run for this change. |### Builder retry policy