Skip to content

test(claimant): isolate bun install state in install suite - #9540

Merged
dezren39 merged 1 commit into
mainfrom
fix/9529-pm-stack-systemd-gatherer
Nov 13, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/9529-pm-stack-systemd-gatherer

Conversation

@dezren39

@dezren39 dezren39 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Fixes the claimant install bun suite failure in main push run 43392266890 (#9529).

Cause

pm-stack/opencode-claimant/test/install.test.mjs spawns the installer with a fixture HOME and asserts the HOME tree is unchanged (expectNoWrites). On CI a .bun directory appeared in that HOME, failing 3 tests.

Change

Point BUN_INSTALL at a suite-owned temp dir, removed in afterAll. Bun's state no longer lands in the fixture HOME. The strict listing is unchanged, so a real stray write from the installer still fails.

Honest limits

Refs #9529


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

The installer suite spawns bun with a fixture HOME and asserts the
HOME tree is unchanged. On CI a bun child wrote a .bun directory into
that HOME, failing expectNoWrites in 3 tests. Point BUN_INSTALL at a
suite-owned temp dir removed in afterAll, so bun's state never lands in
the fixture HOME. The strict expectNoWrites listing is unchanged, so a
real stray write from the installer is still caught.

Refs #9529
@dezren39
dezren39 requested a review from a team as a code owner November 13, 2026 11:55
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T11:55:38.207194Z
We couldn’t complete this review. Comment @codex review to try again.
d9b5e77 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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 48 seconds.

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: df97cde6-1db6-469f-a883-d942241d72db
Commits

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

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

Merge-shepherd (task 16135, worker fleet-conductor) picked up this PR to revalidate and merge if still merge-ready. Revalidating state immediately before merging (open, not draft, MERGEABLE, no failing/pending checks). No code changes.

@dezren39
dezren39 merged commit 5ee4f63 into main Nov 13, 2026
1 of 2 checks passed
@dezren39
dezren39 deleted the fix/9529-pm-stack-systemd-gatherer branch November 13, 2026 16:24
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · done

Merged with a merge commit (no squash/rebase), pinned to the verified head d9b5e778a905a55395191762f947077421746d34.

  • Revalidated immediately before merging: state=OPEN, isDraft=false, mergeable=MERGEABLE, mergeStateStatus=CLEAN, reviewDecision="" (no CHANGES_REQUESTED), checks: CodeRabbit COMPLETED/NEUTRAL — none failing or pending.
  • Merge commit: 5ee4f6385eda3694402ea2c4aa0ab3edacf85ec7 (merged 2026-11-13T16:24:33Z).
  • Queue task 16135 (merge-shepherd, worker fleet-conductor) completed.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Conductor dispatch binding — fleet-conductor claimed task 16135 and launched merge-shepherd session ses_e5e2a46b384ffeck7HmKV09rdZ on route opencode-route/workhorse, worktree /home/user/git/fleet/16135-merge-pr-9540 (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 16135 ↔ PR #9540 ↔ session ses_e5e2a46b384ffeck7HmKV09rdZ.

@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1
state: done
lane: any-b
task: 16135
pr: #9540

Task 16135 (pr_shepherd, PR #9540) — already_done on fresh revalidation.

PR #9540 "test(claimant): isolate bun install state in install suite" is MERGED: mergedAt 2026-11-13T16:24:33Z, mergeCommit 5ee4f63, matching the prior checkpoint's recorded merge_commit. Verified fresh this claim via gh pr view: state=MERGED, labels=[] (no held / user/owned / do-not-merge / do-not-auto-edit), only check CodeRabbit NEUTRAL completed. No further merge action taken; completing task 16135 with outcome already_done.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · salvage check for duplicate PR #9537 (task 16134)

Before closing duplicate PR #9537, I diffed it against this canonical merged PR (#9540, commit d9b5e77 on main) per the duplicate-PR protocol:

PR #9537 is also CONFLICTING with current main and its own pm-stack dispatch run 43421085137 on head 1a3f53e completed with failure (3 installer tests still saw .bun in the fixture HOME). Closing PR #9537 as superseded by this PR.

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