Skip to content

fix(opencode): normalize bun dependencies - #420

Merged
sheeeng merged 5 commits into
unstablefrom
fix/darwin-llm-builds
Nov 9, 2026
Merged

sheeeng merged 5 commits into
unstablefrom
fix/darwin-llm-builds

Conversation

@sheeeng

@sheeeng sheeeng commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Backport the upstream OpenCode 2.2.5 fix. Add --libc="*" and correct
the dependency hash.

Darwin build, version check, flake check, and changed-file checks passed.
The shared Darwin audit-classifier crash remains under investigation.

Backport the upstream OpenCode 2.2.5 dependency fix. Install optional
dependencies for every C library and use the corrected output hash.

Fix NixOS/nixpkgs#582673.

Assisted-by: OpenAI Codex (GPT-6)
Signed-off-by: Leonard Sheng Sheng Lee <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 10:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to run its full agentic suite in this review.

Copilot review overview

2 open issues
What changed in this PR

Backports the Bun 1.4.4 dependency normalization workaround for OpenCode 2.2.5 in the Nix overlay and documents the investigation/validation steps in a new journal entry.

Changes:

  • Add an overlay override for opencode (only v2.2.5) to pass --libc="*" during dependency installation and update the fixed-output hash.
  • Add a journal entry capturing the rationale, verification, and related notes.
File Description
overlays/​default.nix Adds an opencode override to tweak dependency install flags and update outputHash for OpenCode 2.2.5.
docs/​journals/​20261108T095648Z.md Documents the backport, validation steps, and investigation notes.

Review effort: Lite

Comment thread overlays/default.nix Resolved
Comment thread overlays/default.nix Resolved
Copilot AI balanced review requested due to automatic review settings November 8, 2026 10:33

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

[!NOTE]
Copilot was unable to run its full agentic suite in this review.
...

Addressed both comments in e4c5488. Only the OpenCode override changed. Replacement boundary, whitespace, and secret checks passed. Nix and pre-commit are unavailable; CodeQL had no supported-language changes to analyze.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread overlays/default.nix Resolved
Comment thread overlays/default.nix Resolved
Copilot AI balanced review requested due to automatic review settings November 8, 2026 10:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread overlays/default.nix Resolved
Copilot AI balanced review requested due to automatic review settings November 8, 2026 10:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot AI balanced review requested due to automatic review settings November 9, 2026 17:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the OpenCode dependency-normalization backport.

No open issues 🎉

Review effort: Balanced

@sheeeng
sheeeng merged commit 8bc2df1 into unstable Nov 9, 2026
16 checks passed
@sheeeng
sheeeng deleted the fix/darwin-llm-builds branch November 9, 2026 18:19
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.

3 participants