Skip to content

fix(pm): verify Bun request pins on fresh installs - #3134

Merged
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
jong-kyung:fix/bun-request-pin-verification
Oct 20, 2026
Merged

fengmk2 merged 5 commits into
voidzero-dev:mainfrom
jong-kyung:fix/bun-request-pin-verification

Conversation

@jong-kyung

Copy link
Copy Markdown
Collaborator

Summary

Fresh Bun installs previously ignored the integrity hash in packageManager. They now reject mismatched pins by verifying the main bun tarball, matching the existing pnpm 12+ behavior.

@jong-kyung jong-kyung self-assigned this Oct 20, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:05:09.160395Z 7753954 Manual request
ℹ️ 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.

@jong-kyung
jong-kyung requested a review from fengmk2 October 20, 2026 01:33
Verify a supplied pin against the main bun tarball before downloading the
platform package. Preserve platform integrity verification and leave cached
install pin checks for a separate change.

Cover matching and mismatched pins, unpinned installs, and platform hash
mismatches with isolated mock registry tests.
@jong-kyung
jong-kyung force-pushed the fix/bun-request-pin-verification branch from 675a88c to 9a4a399 Compare October 20, 2026 01:43
@fengmk2

fengmk2 commented Oct 20, 2026

Copy link
Copy Markdown
Member

@codex reivew

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: b495c301da

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jong-kyung

Copy link
Copy Markdown
Collaborator Author

I've made a fix for the test failure and am verifying it.

Keep the mock server alive for all cases so other tests cannot reuse its
pooled HTTP connections while the Bun test runtime waits for the environment
lock. Reset mocks and request history between cases.
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 7753954e27

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@fengmk2
fengmk2 merged commit 659addd into voidzero-dev:main Oct 20, 2026
75 checks passed
@jong-kyung
jong-kyung deleted the fix/bun-request-pin-verification branch October 20, 2026 05:15
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.

2 participants