You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
aprender-orchestrate: test_resolve_project_root_nonexistent_falls_back is host-dependent (stray /tmp/Cargo.toml) #4191
aprender-orchestratecli::falsify::tests::test_resolve_project_root_nonexistent_falls_back depends on the host.
The test creates std::env::temp_dir()/batuta_test_no_project_root and asserts that resolve_project_root returns that dir. The function walks up looking for Cargo.toml / .git / pyproject.toml. On lambda, a stray /tmp/Cargo.toml exists, so the walk stops at /tmp:
Milestone 0.70.0 → 0.70.1 (gate triage). 0.70.0 now holds only the operator's release gate: "FULL ontology spec and all aprender binary working" + "0.70 to crates.io" (ONT-001, every [[bin]] build+smoke, the publish cascade), plus P0s and operator-ruled rows. This issue isn't needed for any of those. Evidence: evidence/m070-gate-triage-1835.md. If that's wrong, move it back to 0.70.0 and say which gate it serves.
Fixed on df/4191-hermetic-root @18039c0fb (off batch/0.70.0; no PR, cap full; for 59's fold). aprender-df.
resolve_project_root_below(path, ceiling): the walk checks ceiling and stops there. Production passes None, so its behaviour is unchanged.
The test builds its tree in a tempdir and plants a Cargo.toml just above the ceiling to stand in for the stray /tmp/Cargo.toml. It asserts the marker is NOT found, and that the same walk without a ceiling DOES find it.
cargo test -p aprender-orchestrate --bins resolve_project_root: 6/6 pass. With the ceiling break removed (mutant): RED, test_resolve_project_root_nonexistent_falls_back fails.
Note: these tests are in the batuta bin (src/main.rsmod cli). CI's workspace-test runs --lib only, so no CI job runs them except the packaged-tarball job.
evidence for close: #4647 / 430be65 (on main), how checked:
crates/aprender-orchestrate/src/cli/falsify.rs has resolve_project_root_within(path, ceiling) (:104, ceiling check :115), so the test's walk stops at its temp dir instead of finding a stray Cargo.toml above it.
Activity
docs(roadmap): GH-4191 work entry
chore(GH-4191): the roadmap entry carries kind: code (the kind-gate r…
chore(GH-4191): regenerate roadmap.yaml from its fragments (make road…
noahgift commentedon Sep 24, 2026
Milestone 0.70.0 → 0.70.1 (gate triage). 0.70.0 now holds only the operator's release gate: "FULL ontology spec and all aprender binary working" + "0.70 to crates.io" (ONT-001, every [[bin]] build+smoke, the publish cascade), plus P0s and operator-ruled rows. This issue isn't needed for any of those. Evidence: evidence/m070-gate-triage-1835.md. If that's wrong, move it back to 0.70.0 and say which gate it serves.
noahgift commentedon Sep 26, 2026
Fixed on
df/4191-hermetic-root@18039c0fb (off batch/0.70.0; no PR, cap full; for 59's fold). aprender-df.resolve_project_root_below(path, ceiling): the walk checksceilingand stops there. Production passesNone, so its behaviour is unchanged.Cargo.tomljust above the ceiling to stand in for the stray/tmp/Cargo.toml. It asserts the marker is NOT found, and that the same walk without a ceiling DOES find it.cargo test -p aprender-orchestrate --bins resolve_project_root: 6/6 pass. With the ceiling break removed (mutant): RED,test_resolve_project_root_nonexistent_falls_backfails.Note: these tests are in the
batutabin (src/main.rsmod cli). CI's workspace-test runs--libonly, so no CI job runs them except the packaged-tarball job.noahgift commentedon Oct 12, 2026
evidence for close: #4647 / 430be65 (on main), how checked:
crates/aprender-orchestrate/src/cli/falsify.rshasresolve_project_root_within(path, ceiling)(:104, ceiling check :115), so the test's walk stops at its temp dir instead of finding a strayCargo.tomlabove it.never_looks_above_ceiling(cites aprender-orchestrate: test_resolve_project_root_nonexistent_falls_back is host-dependent (stray /tmp/Cargo.toml) #4191).noahgift commentedon Oct 12, 2026
Cop batch close (FLOW-004 drain, ≤43/d): fix verified on main — merged #4647 ; ancestor of origin/main: 430be65 . Evidence: #4191 (comment)