`cf workers tail`: no replacement for `wrangler tail`
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Start with the hand-written registry entry for cf tunnels tail and read usecases/tail-live-worker.yaml and usecases/tail-filtered-worker.yaml to understand the existing gap. Implement the cf workers tail <worker> workflow around tail-session creation and WebSocket consumption; done means unfiltered events stream as JSON by default and replace the basic wrangler tail workflow.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
There is no cf command that streams a Worker's live logs, so a project that
has otherwise moved off Wrangler still has to keep Wrangler installed and
documented for wrangler tail. usecases/tail-live-worker.yaml and
usecases/tail-filtered-worker.yaml already record this as a gap: tail-session
operations are SDK-only, and there is no stream consumer.
Watching a deployed Worker's logs as requests arrive is a basic part of running
one, and it is the last Wrangler-only step in our migration. The dashboard's log
view answers "what happened recently", not "what is happening right now, for the
request I just made".
Expected
A hand-written cf workers tail <worker> that creates a tail session, consumes
the WebSocket, and prints events as JSON by default, matching cf's JSON-first
output. Filters (--status, --method, --search, --ip, --sampling-rate)
would be welcome but are not the blocker; plain unfiltered streaming already
replaces the workflow, since jq can do the rest.
cf tunnels tail is the precedent for a streaming leaf living in the
hand-written registry, so the shape seems to exist already.
Environment
[email protected], @cloudflare/[email protected], [email protected].
- Lingua principale
- TypeScript
- Stelle
- 916
- Fork
- 53
- Merge medio
- 18h 26m
- PR unite (30g)
- 177
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudflare/cf
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cloudflare/cf#344 ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cloudflare/cf#262 ·
I maintainer di solito rispondono entro 1 giorno
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templateForse già presa @jamesopstad l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cloudflare/cf#223 · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cloudflare/cf#179 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
cloudflare/cf#380 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cloudflare/cf
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
zts212653/clowder-ai#1678 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
Progressive-Victory/the-website#680 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100