No command to view or edit an existing Worker's script settings (vars, observability, logpush, tail consumers)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with the cf workers command tree and the existing workers-for-platforms ... scripts settings get/edit implementation, then trace how cf calls the Workers API script-settings endpoints. Add command wiring and tests for retrieving and editing plain-text vars, observability, logpush, tail consumers, and compatibility settings. Done means the new commands expose these operations without requiring a project redeploy and have coverage for successful and invalid requests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary of the issue
There's no command to read or change an existing Worker's settings without redeploying it from a project. The Workers API has script-settings endpoints (/accounts/{account_id}/workers/scripts/{script_name}/settings and /script-settings) for things like plain-text bindings, observability, logpush, tail consumers and compatibility settings. cf calls these internally during deploy, but exposes no command for them:
cf cli searchfor "edit worker script settings", "enable observability logs on an existing worker", or "update compatibility date of deployed worker script settings" only finds the Workers for Platforms equivalents (cf workers-for-platforms dispatch-namespaces scripts settings get/edit).cf workers --helplistscheck, delete, deployments, get, list, scripts (search only), secrets, triggers, types, versions.
So you can't set or remove a plain-text var, turn on observability, or add a tail consumer on a Worker from the CLI without its source and a full cf deploy. That also makes #197 (deploy deleting vars set outside the config) harder to work around, and there's no CLI way to inspect what a deploy would overwrite.
Expected behaviour
cf workers settings get --worker <name> and cf workers settings edit --worker <name> … (or similar), mirroring the existing workers-for-platforms … scripts settings commands.
Version of cf used
1.0.0-beta.16 (no settings commands in the beta.18 package either)
System information and package versions
cf 1.0.0-beta.16 (also checked in the beta.18 package source)
macOS 27.0 arm64, Node 26.8.2, npm 11.19.1
Relevant error logs (optional)
Related: #196 (toggle workers.dev / Preview URLs), #197 (keep_vars).
- Lenguaje dominante
- TypeScript
- Estrellas
- 916
- Forks
- 53
- Merge medio
- 19 h 13 min
- PR fusionados (30 d)
- 185
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudflare/cf
-
cf deploy: Python Workers fail with 'No module named workers' because vendored modules are uploaded as ./python_modules/...Posiblemente ocupada @MattieTK la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cloudflare/cf#392 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/cf#344 ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#262 ·
Los mantenedores suelen responder en 1 día
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templatePosiblemente ocupada @jamesopstad la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cloudflare/cf#223 · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cloudflare/cf#179 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudflare/cf
Issues similares
-
[Bug]: Circular app layout navigation and help icons are shifted upward in the official demoAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cloudscape-design/components#5184 ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
JarX-Concepts/react-native-platform-components#130 ·
Los mantenedores suelen responder en 1 día
-
fix(api): optimize-for-web /preview outer catches miss asDecoderOutOfMemory on V8 OOM and SIGKILLAbiertoarea: backend bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
snapotter-hq/SnapOtter#3773 ·
Los mantenedores suelen responder en 1 día
-
ai-driven-qa ux-audit
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
linagora/twake-contacts-frontend#386 ·
Los mantenedores suelen responder en 1 día
-
git: README should state plainly that without --repository every reachable repository is in scopeAbiertodocumentation server-git v2
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
modelcontextprotocol/servers#5225 ·
Los mantenedores suelen responder en 1 día