api: commit-pack refuses permission-style file modes that upstream normalizes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with internal/api/handlers_write_commit.go:506 and inspect wcValidModes and the commit-pack handler. Trace diff-commit and every other route that accepts FileOperation.mode to compare their validation paths. Normalize the four documented forms before validation, preserve current behavior for other modes, and confirm the affected requests are accepted while other mode responses stay unchanged.
索引モデルが issue の本文から書いたものです。
説明
Problem
Spec 5d8e1801 says commit-pack stores 644 and 100664 as 100644, and 755 and 100775 as 100755. We answer 400 for all four (wcValidModes, internal/api/handlers_write_commit.go:506).
Desk decision
Normalize exactly those four forms before validation. Every other mode keeps its current answer. Check diff-commit and every other route that takes FileOperation.mode.
Severity
Medium: valid upstream requests fail.
Upstream audit 2026-11-12, evidence 2026-11-12-1159UTC. Docs spec 5d8e1801 (ETag W/"8GUlAlKU8eko7Rr2", Last-Modified 2026-11-10 22:29:59 GMT). The cluster still serves ee8092bf, so this is documented drift, not a proven deployment (#234 rule: adopt what the docs publish). SDK 0.1.1 (Nov 10) and 0.1.2 (Nov 11) shipped on npm, PyPI and Go; their route list and token minting are unchanged from 0.1.0.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: medium
- 主要言語
- Go
- スター
- 0
- フォーク
- 0
- 平均マージ
- 6時間 16分
- マージ済み PR(30日)
- 243
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/openstorage のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/openstorage#807 ·
メンテナーはふだん 1 日以内に返信
-
api: merge/preview ignores strategy, squash and allow_unrelated_histories対応中かも @ThomasK33 が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
coder/openstorage#805 ·
メンテナーはふだん 1 日以内に返信
-
githttp: +import remote serves clone and fetch, and its pushes stay out of the normal branch list対応中かも @ThomasK33 が今日担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
coder/openstorage#804 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
api: branches/create ignores expected_target_sha, so a guarded create or move can overwrite a branch対応中かも @ThomasK33 が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
coder/openstorage#803 ·
メンテナーはふだん 1 日以内に返信
-
githttp: hide ephemeral refs from the persistent remote and refuse pushes to them, as the docs say対応中かも @ThomasK33 が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
coder/openstorage#799 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
coder/openstorage の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
coder/coder-logstream-kube#255 · コメント 1 件 ·
-
kind/features
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
TencentBlueKing/bk-nodemgr#3991 ·
メンテナーはふだん 1 日以内に返信
-
meta
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
last9/last9-mcp-server#554 ·
メンテナーはふだん 1 日以内に返信