Decide how to report exact routes that differ only in case

Aperta
#92 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
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Start by locating build_route_table and the handling for duplicate exact routes and duplicate wildcards. Trace how skipped routes affect logging, failingRoutes, and metric series, then check existing tests for those cases. Done means the project has a documented decision for case-only pairs and behavior consistent with that decision.

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

Descrizione

Once route names match without regard to ASCII case (the SNI case-insensitivity PR), two exact routes that differ only in case, such as API.example.com and api.example.com, are one name. build_route_table keeps the last one, like two exact routes with the same spelling: the other is skipped with no log, no failingRoutes count and no metric series. Before, both were installed and each served its own spelling.

Central Manager and host-manager configure lowercase names, so neither produces such a pair. A hand-written symphony-server config could, and its earlier route would then stop serving with nothing reported.

Decide whether a case-only pair should log once and count in failingRoutes, the way a duplicate wildcard already does, or stay silent like a same-spelling exact duplicate.

Review-Deferral: 3568822582e342c0 severity=minor category=correctness

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
11h 49m
PR unite (30g)
12

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 HarperFast/symphony

Tutte le issue di HarperFast/symphony

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.