Skip to content

chore: update packaged upstream - #66

Merged
erikbpf-fleet-renovate[bot] merged 1 commit into
mainfrom
automated/package-update-v2
Nov 23, 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 23, 2026

Copy link
Copy Markdown

Automated review — ErikBPF/opencode-flake — 2b969c1

Reviewed 2b969c1973b9cd6d0f82f685c76104990557e268 against a9c84432992a9ae5c886ea0f1ff0c7401a0b5ee8.

Script-generated bump of the vendored V2 client from 2.3.2 to 2.4.1 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, with no other file touched. I independently downloaded @opencode/cli-linux-x64 2.4.1 from the npm registry and computed the SHA-512 SRI: it matches the new hash in the diff byte for byte and matches the registry's dist.integrity. 2.4.1 is the current latest dist-tag. The tarball layout and dynamic dependency set are unchanged from 2.3.2 (package/bin/opencode only), the binary runs and prints opencode v2.4.1, and it needs no newer libc symbols than 2.3.2, so the existing binary-fetch derivation and its version check still apply unchanged. No new P1/P2 findings; the pending check and package-build jobs still have to finish before merge.

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


Validation

  • Read meta.json, request.md, repo-context.md, and the prior discussion files in the bundle; reviews.json, review_comments.json, and issue_comments.json are all empty arrays, so no finding is duplicated or pre-answered.
  • The bundle carried no repository skills or docs, and the base commit has no AGENTS.md, CLAUDE.md, or CONTRIBUTING.md, so there is no repository-specific review skill to route; I applied the general correctness, compatibility, tests, and CI lenses.
  • Confirmed the head file fetched from GitHub matches the bundle diff applied to the base commit, and that commit 2b969c1 has base a9c8443 as its only parent and touches only packages/opencode-v2/package.nix.
  • Read scripts/update-opencode-v2.sh at the base commit: it rewrites exactly the version let-binding and the fetchurl SRI hash, and the diff contains precisely those two lines, so the update is complete rather than partial.
  • Re-downloaded https://registry.npmjs.org/@opencode/cli-linux-x64/-/cli-linux-x64-2.4.1.tgz and computed the SHA-512 SRI: sha512-FYQAnneVlLmqy862674vvRVkj8yHuZAFHJGV3UCGQxo8aKG58IHPKrspbxruVajnIEpb0t8PeO63H/oW4vJG5A==, identical to the new hash in the diff and to dist.integrity in the registry metadata. The same method reproduces the old 2.3.2 hash in the base file.
  • Compared the 2.4.1 tarball with 2.3.2: same two members (package/package.json, package/bin/opencode), same NEEDED libraries (libc, ld-linux-x86-64, libpthread, libdl, libm), so installPhase and autoPatchelfHook behaviour is unchanged.
  • Ran the extracted 2.4.1 binary with a writable HOME: it prints opencode v2.4.1 and exits 0, which satisfies both the derivation's versionCheckHook and the package-build smoke assertion in .github/workflows/check.yml.
  • Checked the binary's maximum required glibc symbol version: GLIBC_2.17, no higher than 2.3.2.
  • Confirmed 2.4.1 is the registry latest dist-tag and was published 2026-11-23T15:48:47Z, so the bump targets the current stable release rather than a prerelease or a reserved placeholder.
  • Ran tests/ci-notification-contract.sh from the patched checkout: it passes.
  • Read checks.txt: secrets passed; check and package-build were still pending at capture.

Limits

  • No Nix on the review host, so I did not build the derivation or run nix flake check; the pending package-build job remains the authoritative build evidence.
  • CI at the head was not executed by this review: check and package-build are pending in checks.txt, and no CI success is claimed.
  • tests/opencode-v2-contract.sh could not be executed locally because jq is not installed; the updater's mutation surface was verified by reading the script and diffing instead.
  • The bundle contained no docs/ or skills/ payload; repository guidance was read from the public checkout at the base SHA, not from the bundle.

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 2b969c1: no P1/P2 findings.

@erikbpf-fleet-renovate
erikbpf-fleet-renovate Bot merged commit 8c83a05 into main Nov 23, 2026
7 checks passed
@erikbpf-fleet-renovate
erikbpf-fleet-renovate Bot deleted the automated/package-update-v2 branch November 23, 2026 21:37
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