Plan reviews over the tailnet, like code reviews

Aperta
#3,777 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
cli, networking

Direzione di ricerca

Start with the PLANNOTATOR_TAILSCALE section of environment.md, then find where the --tailscale flag is parsed and where tailscale serve is shelled out for code reviews; the plan review command is likely a sibling entry point that never reaches that path. Also read the remote-mode handling (PLANNOTATOR_REMOTE, PLANNOTATOR_PORT, PLANNOTATOR_URL_HOST) that plan review currently falls back to. Done means a plan review is published via tailscale serve with the same owner-only HTTPS behaviour as code reviews, with docs updated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

PLANNOTATOR_TAILSCALE and --tailscale publish code reviews and annotations over the tailnet, but plan review ignores them (environment.md, PLANNOTATOR_TAILSCALE: "Every other subcommand (plan review, sessions, the Inbox) ignores it").

On a machine with no browser, a plan review has to run in remote mode instead: PLANNOTATOR_REMOTE=1, a PLANNOTATOR_PORT range, PLANNOTATOR_URL_HOST set to the machine's tailnet name, and a firewall rule for that range on the tailnet interface. That's plain HTTP on every interface the firewall allows, and remote mode turns off "Ask this session" and live app annotation.

Publishing plan reviews with tailscale serve the way --tailscale does for code reviews would make them work like every other review on these machines: HTTPS, tailnet only, the owner only, and nothing to open in the firewall.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

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 backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.