Created
July 10, 2026 11:44
-
-
Save dpishchukhin/f73006d40a7da2314cadbfee32f88310 to your computer and use it in GitHub Desktop.
agent-testkit — plan grammar excerpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 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