Repository navigation
Conversation
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Code review (code-reviewer pass) at 1d05dc2 Verdict: APPROVE Branch is 0 behind main. 3 changed files (limit 100). No unresolved review threads. No fixed sleeps (the backoff test patches
Checks that passed:
#20943 ACs, all met in the diff and tests:
#20938 ACs, all met:
The Refs (not Closes) in the PR body is right: host behaviour is not verified yet. Threads: none open, so nothing to resolve. |
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
Thinking Path
The SLM client authenticated its WebSocket but not its REST calls, and a WebSocket handshake timeout skipped the reconnect backoff. Both are fixed in the client itself, using the credential path that already exists.
What Changed
SLMClient._resolve_auth_token(): the static token, else a service JWT minted through the existing_mint_service_jwtand the SSOT secret. It is re-resolved on every session use. No new credential path or env var.TimeoutErrorand otherOSErrors go to_on_ws_failure: a WARNING, then the existing backoff pinned at_max_reconnect_delay.ssl.SSLErrordeliberately stays at ERROR as a configuration fault.slm_client.pystays at its 979-line pin.Verification
Risks
A token re-resolved per session use costs one lookup per use; no credential is stored in a new place.
Model Used
Claude Sonnet 5.5 (claude-sonnet-5-5)
Issue Link
Refs #20943
Refs #20938
Changelog fragment
Checklist
CLAUDE.mdmain(notrelease)Single-issue rationale
Both issues are the same client file and the same connection path, so one change covers them.
🤖 Generated with Claude Code