Hand-written mutating commands have no `--dry-run`, and `cf deploy --dry-run` does not check required secrets
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start by locating the implementations for the six listed hand-written commands and comparing their help and dry-run behavior with generated commands. Then inspect the cf deploy --dry-run path for how it handles bindings.secret() and the bindings table. Done means each listed mutating command supports --dry-run, and dry-run reports missing required secrets and fails where the real run would fail on local information.
索引モデルが issue の本文から書いたものです。
説明
cf version: 1.0.0-beta.5, macOS
1. Hand-written mutating commands have no --dry-run, unlike every generated command. None of these list it in --help:
cf d1 migrations applycf pages deploycf previews deploycf containers pushcf containers images deletecf tunnels run
Wrappers and agents that rely on "try --dry-run first" can't do that for exactly the commands that change production state (migrations, deploys, deletes).
2. cf deploy --dry-run doesn't check required secrets. For a new Worker whose config declares bindings.secret() and no secret is set, cf deploy --dry-run prints "Dry run complete" and exits 0. The dry-run bindings table also leaves the secret out. The real deploy then fails.
Expected: --dry-run on every mutating command, and a dry-run that fails wherever the real run would fail on local information.
Related: cloudflare/workers-sdk#16109, cloudflare/cf#63.
Found while evaluating cf for a dev workflow: https://github.com/joeblew999/cf-cli-test (FINDINGS.md, findings/).
- 主要言語
- TypeScript
- スター
- 916
- フォーク
- 53
- 平均マージ
- 19時間 13分
- マージ済み PR(30日)
- 185
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudflare/cf のほかの issue
-
cf deploy: Python Workers fail with 'No module named workers' because vendored modules are uploaded as ./python_modules/...対応中かも @MattieTK が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cloudflare/cf#392 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/cf#344 ·
メンテナーはふだん 1 日以内に返信
-
upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cloudflare/cf#262 ·
メンテナーはふだん 1 日以内に返信
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` template対応中かも @jamesopstad が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cloudflare/cf#223 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cloudflare/cf#179 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area:agent-view area:tui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#104558 ·
メンテナーはふだん 1 日以内に返信
-
updater
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
inmanta/web-console#7606 ·
メンテナーはふだん 1 日以内に返信
-
bug skills
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
equinor/fusion-framework#5846 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100