Decide how to report exact routes that differ only in case

Đang mở
#92 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
11 giờ 49 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HarperFast/symphony

Tất cả issue của HarperFast/symphony

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.