Repository navigation
fix: wait for healthy Squid before starting API proxy - #10495
Conversation
Co-authored-by: lpcox <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
Squid is already required for startup, and the focused dependency change preserves routing order without a blocking regression.
No open issues 🎉
What changed in this PR
Updates AWF’s Docker Compose startup ordering to prevent Anthropic OIDC initialization from racing Squid readiness, addressing #10486.
Changes:
- Adds a healthy-Squid dependency in the shared API proxy service builder.
- Adds regression assertions for API-key and Anthropic OIDC configurations.
- Verifies that model routing preserves both Squid and router dependencies.
| File | Description |
|---|---|
src/services/api-proxy-service-config.ts |
Gates API proxy startup on Squid health. |
src/services/api-proxy-service-config.test.ts |
Checks startup ordering for API-key and OIDC configurations. |
src/compose-generator.test.ts |
Confirms routed proxies retain the Squid dependency. |
Review effort: Max
|
✅ Copilot review passed with no inline comments. @copilot Add the |
|
| Metric | Base | PR | Delta |
|---|---|---|---|
| Lines | 93.46% | 93.46% | ➡️ +0.00% |
| Statements | 91.90% | 91.90% | ➡️ +0.00% |
| Functions | 91.04% | 91.04% | ➡️ +0.00% |
| Branches | 85.97% | 85.96% | 📉 -0.01% |
Coverage comparison generated by scripts/ci/compare-coverage.ts
|
@copilot merge main and resolve conflicts |
…-oidc-token-issue Co-authored-by: lpcox <[email protected]>
Merged |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
|
✅ Smoke Claude passed
|
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 Smoke CodexOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤
|
|
❌ Smoke Gemini reports failed. Facets need polishing...
|
|
🔌 Smoke Services — All services reachable! ✅
|
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.
|
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓
|
|
Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.
|
|
❌ Smoke Copilot BYOK AOAI (Entra) reports failed. AOAI BYOK (Entra) mode investigation needed...
|
|
🚀 Security Guard has started processing this pull request |
|
Services smoke test: PASS
|
|
fix(ci): pin dispatcher Copilot CLI release and checksum
|
|
Smoke test (Copilot)
|
Smoke Test: Copilot BYOK (Direct) Mode — PASS ✅
Running in direct BYOK mode (
|
Smoke Test: Claude Engine Validation
Overall result: PASS
|
|
Cloud Hypervisor + Copilot smoke test
|
|
EGRESS_RESULT allow=pass deny=pass
Overall: PASS — cc @lpcox
|
🏗️ Build Test Suite Results
Overall: 7/8 ecosystems passed — FAIL Java failure: Maven could not resolve Notes: .NET needed
|
|
OTEL smoke test
|
|
Smoke test: FAIL
|
Chroot Version Comparison
Result: failed. The Node.js versions differ between host and chroot, so the
|
Anthropic OIDC initialization could race Squid startup, leaving the API proxy without a token until its 30-second retry. Agents could start during this gap and exhaust their retries on 503 responses.