Skip to content

fix: kalibr verify now tests live round-trip (register→decide→report)#144

Open
devonakelley wants to merge 1 commit intomainfrom
fix/kalibr-verify-live-roundtrip
Open

fix: kalibr verify now tests live round-trip (register→decide→report)#144
devonakelley wants to merge 1 commit intomainfrom
fix/kalibr-verify-live-roundtrip

Conversation

@devonakelley
Copy link
Copy Markdown
Contributor

Previously verify only checked env vars and Router() init. It passed even with invalid credentials or unreachable service. Now performs a full live round-trip and cleans up after itself.

Steps added:

  1. Register a temporary test path (__verify__<random>) via POST /api/v1/routing/paths
  2. Request a routing decision via POST /api/v1/routing/decide
  3. Report outcome via POST /api/v1/intelligence/report-outcome
  4. Cleanup: DELETE the test path (best-effort, in finally block)

Errors are surfaced clearly with actionable messages. Timeouts and connectivity failures exit with code 1. Uses httpx (already a dependency) and uuid (stdlib).

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.

1 participant