Skip to content

chore: update packaged upstream - #63

Merged
erikbpf-fleet-renovate[bot] merged 1 commit into
mainfrom
automated/package-update-v2
Nov 13, 2026
Merged

erikbpf-fleet-renovate[bot] merged 1 commit into
mainfrom
automated/package-update-v2

Conversation

@erikbpf-fleet-renovate

Copy link
Copy Markdown
Contributor

Package files generated by scripts/update-opencode-v2.sh.

Required pull-request checks own build and smoke validation.

@hackerman-cr

hackerman-cr Bot commented Nov 13, 2026

Copy link
Copy Markdown

Automated review — ErikBPF/opencode-flake — 3d8372c

Reviewed 3d8372cd97ece7de3353e17317db21ab1df25738 against 06b27c963f1d6512927a6afabcde168021355490.

Renovate-style bump of the vendored opencode-v2 binary from 2.2.7 to 2.3.0 in packages/opencode-v2/package.nix: the version let-binding and the fetchurl SRI hash, exactly the two lines scripts/update-opencode-v2.sh rewrites. The bundle carries no repository review skills or contributor docs, so I applied the general lenses (correctness, compatibility, tests, CI, PR hygiene). I independently verified the new hash by downloading the @opencode/cli-linux-x64@2.3.0 tarball and computing its SHA-512 SRI: it matches the pinned sha512-8T3K8...FFg== byte for byte, and it equals the registry dist.integrity. The tarball still contains package/bin/opencode only, the binary reports opencode v2.3.0 (which satisfies both the versionCheckHook and the package-build grep), and it links nothing beyond the libc set already covered by buildInputs. 2.3.0 is the current latest dist-tag, and no other file in the repository pins the V2 version. No new P1/P2 findings.

No new P1/P2 findings at this head. No action requested.


Validation

  • The bundle carried no skills/ or docs/, so no base-pinned repository review skill or contributor guidance existed to route; applied the general review lenses and said so.
  • Read README.md and docs/behaviors/opencode-v2-migration/ (behavior, test contract, stage-one pager) from a public checkout of this repository to learn the V2 lane contract: the updater writes version plus integrity only, and the required package-build job owns build and smoke validation.
  • Compared the two changed lines with scripts/update-opencode-v2.sh at the base SHA; its two sed rewrites produce exactly these edits and nothing else.
  • Downloaded https://registry.npmjs.org/@opencode/cli-linux-x64/-/cli-linux-x64-2.3.0.tgz (121 MB) and computed its SHA-512 SRI: sha512-8T3K8L6Nd4fSG5BSgofqhmIDQ1ZvzDZZ2J7bFVB9RK1d5Hjqh24IcxgbcwpgGKkdvItrayi4Rl+wrSmhl17FFg==, identical to the pinned hash and to the registry dist.integrity.
  • Confirmed the new hash satisfies the updater's own integrity validation pattern ^sha512-[A-Za-z0-9+/]{85}[AQgw]==$, so just update-v2-check will not reject it as already-up-to-date drift.
  • Extracted the tarball: it still ships only package/package.json and package/bin/opencode, so the installPhase path is unchanged; ran the binary and got opencode v2.3.0, matching the package-build version grep.
  • Ran ldd on the extracted binary: no missing shared objects, and the external libraries are in the libc/openssl set the derivation already supplies through buildInputs.
  • Searched the head tree for other 2.2.7 pins: only packages/opencode-v2/package.nix is affected, so the bump is complete.
  • Could not run tests/opencode-v2-contract.sh locally because jq is absent from this host; the check job runs it under the flake.
  • checks.txt at the head records secrets pass and check and package-build still pending; CI outcome is from that capture, not from an execution by this review.

Limits

  • No Nix build was executed; nix build .#opencode-v2 and nix flake check were not run.
  • The required check and package-build jobs were pending at capture time, so their result is unknown to this review.
  • The V2 updater contract test could not be run locally for lack of jq.

Automated review. Findings are candidates for human confirmation. Hackerman approves only when it found no P1/P2 issues; it does not replace human review of design or intent.

@hackerman-cr hackerman-cr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated review at 3d8372c: no P1/P2 findings.

@erikbpf-fleet-renovate
erikbpf-fleet-renovate Bot merged commit c78b79f into main Nov 13, 2026
7 checks passed
@erikbpf-fleet-renovate
erikbpf-fleet-renovate Bot deleted the automated/package-update-v2 branch November 13, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant