Skip to content

Keep bun state out of the claimant installer test HOME (#9529) - #9537

Closed
dezren39 wants to merge 1 commit into
mainfrom
queue/16069-9529-pm-stack-ci-systemd
Closed

dezren39 wants to merge 1 commit into
mainfrom
queue/16069-9529-pm-stack-ci-systemd

Conversation

@dezren39

@dezren39 dezren39 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Fixes the main CI failure tracked in #9529.

Cause

pm-stack/opencode-claimant/test/install.test.mjs runs the installer in a temp HOME and asserts the exact directory listing afterward (expectNoWrites). On the CI runner the bun subprocess writes ~/.bun into that HOME, so the listing gains an entry and three tests fail (rejects typoed and unknown options, rejects positionals and missing --store values, valid --dry-run with an explicit store stays read-only).

Fix

Set BUN_INSTALL outside the temp HOME for the installer subprocess, so bun's own state never lands in the asserted directory. The assertion is unchanged.

Verification

  • bun test test/install.test.mjs: 13 pass, 0 fail, locally before and after the change.
  • Not reproduced locally: the .bun entry only appears on the CI runner, so the CI run is the real check.

The systemd gatherer start exited with code 5 lines in the log come from quota-refresh.ts tests that expect that error; they are not the failing step.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The claimant install suite asserts the exact listing of its temp HOME
after dry-run and rejected invocations. On the CI runner, the bun
subprocess writes ~/.bun into that HOME, so the listing gained an entry
and three tests failed. Point BUN_INSTALL outside the temp HOME so bun's
own state never lands in the asserted directory.
@dezren39
dezren39 requested a review from a team as a code owner November 13, 2026 11:55
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 188dda78-cd97-464b-9ee8-a19c557d7687
Commits

Reviewing files that changed from the base of the PR and between e30df92 and 1a3f53e.

Files selected for processing: 1

  • pm-stack/opencode-claimant/test/install.test.mjs
  • 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

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · pickup

Fleet merge-shepherd task 16134 (worker fleet-conductor, lane repo-health-code-pilot) picking up PR #9537 for merge.

Fresh recheck immediately before merge (gh pr view):

  • state: OPEN, isDraft: false
  • mergeable: MERGEABLE, mergeStateStatus: CLEAN
  • reviewDecision: "" (no CHANGES_REQUESTED)
  • statusCheckRollup: CodeRabbit = COMPLETED / NEUTRAL (no failing, none pending)
  • headRefOid: 1a3f53e

Merging with a merge commit, pinned to the verified head.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Conductor dispatch binding — fleet-conductor claimed task 16134 and launched merge-shepherd session ses_e5e2a46c62fffe5MJjAraTPqTl on route opencode-route/workhorse, worktree /home/user/git/fleet/16134-merge-pr-9537 (at origin/main). The session owns the queue claim (worker fleet-conductor); it will recheck this PR fresh, merge with a merge commit pinned to the verified head, or comment why not and close the task with the reason. Task 16134 ↔ PR #9537 ↔ session ses_e5e2a46c62fffe5MJjAraTPqTl.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · closing as superseded (task 16134, lane any-a)

This PR will not merge. Fresh state observed 2026-11-13T17:14Z:

Closing as a superseded duplicate. Issue #9529 stays open for its remaining failure slices (owned by task 16069). Task 16134 completes with outcome superseded.

@dezren39 dezren39 closed this Nov 13, 2026
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.

1 participant