Skip to content

fix(sidecar): recover readiness through authenticated HTTP - #1981

Open
WilliamDee-Huang wants to merge 1 commit into
jlcodes99:mainfrom
WilliamDee-Huang:pr/sidecar-ready-fallback
Open

fix(sidecar): recover readiness through authenticated HTTP#1981
WilliamDee-Huang wants to merge 1 commit into
jlcodes99:mainfrom
WilliamDee-Huang:pr/sidecar-ready-fallback

Conversation

@WilliamDee-Huang

Copy link
Copy Markdown

Summary

  • Recover provider gateway startup when the sidecar is serving but its stdout ready event is delayed or missing.
  • Use an authenticated /v1/models probe before accepting the sidecar as ready.
  • Keep process-state validation and cleanup when the fallback probe races with process exit.

Validation

  • cargo fmt --all -- --check
  • COCKPIT_SKIP_CLIPROXY_BUILD=1 cargo test -p cockpit-tools provider_gateway_ready_recovers_from_missing_stdout_event_via_http -- --nocapture

@WilliamDee-Huang
WilliamDee-Huang marked this pull request as ready for review August 18, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants