Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`cf workers tail`: no replacement for `wrangler tail`

Aperta
#68 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Ambito
api, cli

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudflare/cf

Tutte le issue di cloudflare/cf

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.