hanming5

Results issues of hanming5

`HTTPHealthCheck` (`internal/health/checker.go`) dials `parsed.Host` over raw TCP and sends a plain-text `GET`. For HTTPS base URLs it never succeeds: - No port in the URL (the usual case, e.g. `https://api.anthropic.com`):...

bug

The config written by `cc-relay config init` and `example.yaml` contain sections that `config.Config` has no fields for. They are silently ignored, so users can set them and nothing happens. Strict...

bug

When a request fails before the upstream sends a response, `ReverseProxy` calls [`ErrorHandler`](https://github.com/omarluq/cc-relay/blob/71315816444ededeb6f932dd420ef2ec4a8f0c96/internal/proxy/provider_proxy.go#L69), which writes a 502 without reporting to the health tracker. Outcomes are only recorded from `modifyResponse`, which...

bug

The fix for #2294 sorts the options of an `ArgGroup` by arity and name in the synopsis. With `@Command(sortSynopsis = false)`, `ArgGroupSpec.rawSynopsisUnitText` takes the explicit branch and sorts with `Help.SortByOrder`...