[Bug] step update fails on Windows with "release archive does not contain the Step binary"
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
packages/coding-agent/src/step/local-update.tsを読み、findArchiveRootと、アップデーターが展開済みアーカイブからStepバイナリを検索する方法に注目してください。Issueに記載されているWindowsのフラットなZIP構成で再現し、step updateがstep.exeを見つけ、Unixのラップされたアーカイブも引き続き機能することを確認してください。Windowsの自己更新が正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened?
step update always fails on Windows, after the download and checksum
verification have already succeeded:
$ step --version
0.1.4
$ step update
Step update failed: release archive does not contain the Step binary
Impact: Windows users cannot self-update at all — every release from 0.1.2
through 0.1.5 fails the same way — and have to reinstall manually every
time there is a new version.
Root cause: the two platforms ship different archive layouts. The Windows
step-*-windows-x64.zip is flat (step.exe at the archive root), while the
Unix step-*-linux-x64.tar.gz is wrapped in a top-level step/ directory.
findArchiveRoot in packages/coding-agent/src/step/local-update.ts assumes
the wrapped layout and picks the first subdirectory it sees — which is docs
on Windows — so the search for step.exe is confined to docs/ and never
finds it.
Steps to reproduce
- Install the native Windows build (0.1.2 / 0.1.3 / 0.1.4 all affected).
- Run
step update. - Observe the failure above. Fresh installs via
install.ps1are fine —
only the self-update path breaks.
Expected behavior
step update completes successfully on Windows, same as on Unix.
Version
0.1.4 (Windows 11 x64, native install; update target resolved from
latest.json is 0.1.5)
- 主要言語
- TypeScript
- スター
- 1k
- フォーク
- 65
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 62
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stepfun-ai/Step-Code のほかの issue
-
[Bug] step update in TUI shows only "install.ps1 exited with code 1" without installer output対応中かも @li-xiu-qi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stepfun-ai/Step-Code#276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area/build bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stepfun-ai/Step-Code#190 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/tools bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stepfun-ai/Step-Code#186 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area/tools bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stepfun-ai/Step-Code#185 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/tools bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stepfun-ai/Step-Code#184 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
stepfun-ai/Step-Code の issue をすべて見る
似ている issue
-
area: app type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ExpidetGames/code-reviewer#585 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
module-federation/core#5205 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
LanternOps/breeze#9392 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
engine-rs P3 review-deferral wasm
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
maniator/verticopolis#1154 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信