Migrate CI setup to pnpm/setup
メンテナーはふだん 1 日以内に返信
@EhabY がすでに取り組んでいます。
2026年9月18日 から。
評価
この issue はまだ評価されていません。
説明
.github/actions/setup/action.yml pins three things to get a build environment: pnpm/action-setup for pnpm, actions/setup-node for Node 22, and a pnpm install --frozen-lockfile step. pnpm's continuous integration docs now recommend a single action instead:
- uses: pnpm/setup@<sha> # v2.1.0
with:
runtime: node@22
cache: true
pnpm/setup installs pnpm, installs the runtime with pnpm runtime set and puts it on PATH (replacing actions/setup-node), caches the pnpm store, and runs pnpm install unless you pass install: false. Two pinned actions and an install step collapse into one.
Check before switching
- Store cache. #1110 moved the store cache to
pnpm/action-setup'scache: true, which keys onpnpm-cache-<os>-<arch>-<lockfile hash>and falls back to the last store for the platform, so a dependency bump fetches only what changed. Confirmpnpm/setupkeeps that fallback; without it every bump refetches the whole store. - Frozen installs. Its automatic
pnpm installmust stay frozen in CI, as--frozen-lockfiledoes today.require-lockfilelooks related. - Windows on ARM64. The
windows-11-armjob needspnpm runtime setto fetch awin32-arm64Node build. - Node version. CI runs Node 22 to match VS Code's Electron, and
engines.nodeis>= 22.runtime: node@22has to hold that, and CONTRIBUTING's list of files to update when the minimum moves needs this one added.
Baseline
Times from the run on #1110, for comparison after the switch:
| Job | Setup step, cold store |
|---|---|
| Unit Test (Linux) | 14s |
| Unit Test (Windows) | 69s |
| Unit Test (Windows ARM64) | 2m31s |
Pin by SHA, like the other actions. Latest release is v2.1.0.
- 主要言語
- TypeScript
- スター
- 131
- フォーク
- 48
- 平均マージ
- 2日 56分
- マージ済み PR(30日)
- 12
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/vscode-coder のほかの issue
-
Surface non-blocking agent startup script failures to the user対応中かも @EhabY が 4 日前に担当しました。 オープン
coder/vscode-coder#1125 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement tech-debt
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
coder/vscode-coder#1118 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Design the VS Code Workspaces panel対応中かも @chrifro が 12 日前に担当しました。 オープン
coder/vscode-coder#1113 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable serverオープンenhancement tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
coder/vscode-coder#1112 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug upstream
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
coder/vscode-coder#1087 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
coder/vscode-coder の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/vscode-livepreview#876 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
JustJarethB/invoicer#54 ·
-
ICP 1.2.0 shows a scheduled task's interval in milliseconds under the label "Interval (In seconds)"オープンNeeds Triage Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wso2/product-integrator#2585 ·
メンテナーはふだん 1 日以内に返信
-
check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
design
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MTES-MCT/monitor-field#119 ·
メンテナーはふだん 1 日以内に返信