[Bug]: pnpm global-store links fail updater package verification
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Find verifyPnpmInstallTree and read the ownership and sentinel dependency checks; the issue says the global virtual-store link directory has neither .pnpm nor .modules.yaml. Reproduce the reported layout and run the verifier’s tests. Done means valid linked bun and zod dependencies pass while ownership and integrity checks still reject invalid installations.
索引モデルが issue の本文から書いたものです。
説明
Client or integration
Other: OpenCodex CLI
Area
Installation or packaging
Summary
ocx update rejects a working pnpm global installation before it reaches the update. The verifier reports missing Bun and Zod even though both are linked in the package's pnpm global virtual-store dependency directory and the CLI and proxy start successfully. The proxy is left running.
Reproduction
- Install
@bitkyc08/opencodexglobally with pnpm 12 using a global virtual store. In the affected installation, the active package is a symlink intostore/v11/links/.../node_modules/@bitkyc08/opencodex; its siblingnode_modules/bunandnode_modules/zodare valid links. - Start the proxy and run
ocx update --tag latest. - The updater reports that the active package failed verification and exits before stopping the proxy. This occurs with both 2.96.0 and 2.97.0. A direct call to
verifyPnpmInstallTreereports the two missing sentinel dependencies.
Expected: the verifier recognises the package's pnpm-owned dependency links and allows a valid installation to proceed, while retaining its ownership and integrity checks.
The verifier treats an enclosing node_modules as pnpm-owned only if it contains .pnpm or .modules.yaml, or is beneath .pnpm. The affected global-store link directory has neither marker. This looks like a layout not covered by the fix in #4235. The same checks are present on main at cab7eb7d0332ae0ebb4289d7c6bac1de666b6e40; the live reproduction was on the published package, not a clean source checkout.
Version
2.96.0 and 2.97.0
Operating system
Ubuntu 24.04.5 LTS, Linux arm64, pnpm 12.16.1
Provider and model
Not applicable.
Logs or error output
opencodex: the active pnpm package failed verification; aborting before stopping the proxy.
The verifier's failure list is sentinel dependency missing: bun and sentinel dependency missing: zod.
Screenshots and supporting files
None.
Redacted configuration
pnpm global virtual-store layout as described above.
Checks
- I searched existing issues and documentation.
- I removed secrets, tokens, account details, request credentials, and personal data.
- 主要言語
- TypeScript
- スター
- 16.9k
- フォーク
- 1.3k
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 773
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lidge-jun/opencodex のほかの issue
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
lidge-jun/opencodex#8386 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug install
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
lidge-jun/opencodex#8379 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Clarify when reset recovery publishes replacement headers対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lidge-jun/opencodex#8347 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
account-pool enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
lidge-jun/opencodex#8554 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
lidge-jun/opencodex の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
outline/outline#14529 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
g1331/phantom-circuit#93 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
compiler
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
HerringtonDarkholme/hd-lang#1699 ·
メンテナーはふだん 1 日以内に返信