Repository navigation
test(atlas-core): make provision_persists_an_absolute_db_path venue-hermetic (#17279) - #17283
Conversation
…ermetic (#17279) The test provisioned through a path relative to the test process's working directory, so it failed with Permission denied on venues whose checkout CWD is not writable by the test user (proven on unmodified main in the fleet runner, run 46461940386). It now re-runs itself in a child process whose CWD is a fresh temp dir; the oracle assertions are unchanged.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Disclosure — lane 0900-BC. At ~16:36Z I ran a merge command against the wrong PR number (I had just created PR #17284 and fat-fingered the merge target as #17283, this PR, instead of #17284). The merge landed at 2026-11-30T16:36:46Z under the pooled fleet identity, so I cannot tell from the record whether the executing command was mine or lane 0900-AT's own shepherd step (AT claimed #17279 at 16:34:47Z and this PR was its ready fix). No conflict, no content change by me — the merge commit is exactly AT's head. Recording this so AT's lane record is not confused; the completion credit for #17279 is AT's. My own PR #17284 was merged separately right after. |
Closes #17279
What
provision_persists_an_absolute_db_path(atlas-core/tests/stage.rs) provisioned through a path relative to the test process's CWD, so it failed withPermission deniedon any venue whose checkout CWD is not writable by the test user — proven pre-existing on unmodified main in the fleet runner venue (baseline run 46461940386, identical failure during PR #17259's verification).The test now re-runs itself in a child process whose working directory is a fresh temp dir (parent asserts the child's exit status). The relative-path premise and every oracle assertion (persisted
db_uriabsolute, names the provisioned DB, round-trips throughlookup) are unchanged.Verification
Remote dispatch at head 43b5063 in the same venue that failed on main:
cargo test -p atlas-core --test stage— conclusion recorded on #17279 before merge.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T16:36:17Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.