Skip to content

Instantly share code, notes, and snippets.

@dpishchukhin
Created July 10, 2026 11:44
Show Gist options
  • Select an option

  • Save dpishchukhin/f73006d40a7da2314cadbfee32f88310 to your computer and use it in GitHub Desktop.

Select an option

Save dpishchukhin/f73006d40a7da2314cadbfee32f88310 to your computer and use it in GitHub Desktop.
agent-testkit — plan grammar excerpt
### 3.3 Readiness probe
Run: `curl -i http://localhost:3000/api/ready`
Expect: HTTP/1.1 200; JSON body with "db": "up"
Retry: a 503 right after start-up → wait 15–30 s once,
migrations may still be applying
### 6.1 Kill the API mid-session
Run: `docker compose kill api`
Destructive: yes — in-flight requests will fail until the
container restarts; scratch stack only
Expect: restart policy revives it; /api/ready 200 within ≤ 10 s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment