No command to enable/disable workers.dev and Preview URLs on an existing Worker
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with the existing cf workers list and cf workers triggers deploy command entry points, then compare their API handling with POST /accounts/{account_id}/workers/scripts/{script_name}/subdomain. Done means an existing Worker can enable or disable workers.dev and Preview URLs without a local project, using the requested settings.
索引モデルが issue の本文から書いたものです。
説明
cf version: 1.0.0-beta.12 (macOS)
What I'm trying to do
Turn off the workers.dev route and Preview URLs for an existing Worker that is deployed by Workers Builds from a Git repo. There's no local cf project for it, so editing config and running cf deploy isn't an option.
What I found
cf workers listshowssubdomain.enabledandsubdomain.previews_enabled, but no command changes them.cf cli searchfor "disable workers.dev subdomain for a worker", "workers.dev", "worker subdomain" and "update Worker settings" returns nothing relevant.cf workers triggers deployworks from a local project only.- The API supports it:
POST /accounts/{account_id}/workers/scripts/{script_name}/subdomainwith{"enabled": false, "previews_enabled": false}.
Why it matters
Turning off workers.dev is the quickest way to take a Worker off the public internet, for example one that should only be reachable behind Access. Right now the only options in cf are deleting the Worker or going to the dashboard.
Suggestion
Something like cf workers subdomain update <worker> --enabled false --previews-enabled false, or an update command on cf workers that covers subdomain. Related: cloudflare/workers-sdk#16125.
- 主要言語
- TypeScript
- スター
- 916
- フォーク
- 53
- 平均マージ
- 18時間 37分
- マージ済み PR(30日)
- 197
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudflare/cf のほかの issue
-
難易度 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 が 12 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cloudflare/cf#223 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cloudflare/cf#179 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
cloudflare/cf#406 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#24900 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
inu-appcenter/UNIDorm-web#411 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ranxianglei/billion-context#4720 ·
メンテナーはふだん 1 日以内に返信
-
area:arcade game p3-medium ready-for-agent type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fderuiter/deruiter.dev#2840 ·
メンテナーはふだん 1 日以内に返信