Skip to content

test(atlas-core): make provision_persists_an_absolute_db_path venue-hermetic (#17279) - #17283

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/17279-stage-test-cwd
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/17279-stage-test-cwd

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

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 with Permission denied on 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_uri absolute, names the provisioned DB, round-trips through lookup) 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-bot with what you need.

…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.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cd879623-78cd-402a-b76a-ed716ff0f12f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit fab7715 into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/17279-stage-test-cwd branch November 30, 2026 16:36
@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

atlas-core stage test: provision_persists_an_absolute_db_path assumes a writable CWD (fails in fleet runner venue)

1 participant