[AAASM-4625] 📝 (python-sdk-docs): Add curl/nc liveness check to gateway note#257
Conversation
REST has a real /healthz endpoint (mode/storage/version/uptime_secs); gRPC has no health service registered yet, so nc only confirms the port accepts connections. Lets readers confirm the local gateway is actually up instead of guessing from SDK behavior.
Review: AAASM-4625 — gateway note liveness-check follow-upCI: Scope: Independent fact-check of the doc's claims (against
Regression check: Playwright validation: Served the built site and navigated to Verdict: READY — diff is clean and minimal, both technical claims in the doc are verified accurate against the current gateway source, no regressions, and the new content renders correctly in a real code block inside the callout. — Claude Code |
Stacking note
Depends on #255 (AAASM-4623) — this branch is stacked on top of it, so this diff includes #255's commit until that merges. Once #255 merges, this PR's diff will shrink to just the liveness-check addition.
Target
Extends the gateway-transports note with a tip showing how to confirm the local gateway is actually up, using standard command-line tools — requested directly by the user after reviewing #255/#280/#164.
Change
Below the existing
aasm start --mode localcode block, inside the same admonition:Verified against the core monorepo before writing:
aa-gateway/src/routes/healthz.rsdefines a real, always-mountedGET /healthzreturningmode/storage/version/uptime_secsJSON — not invented. Nogrpc.health.v1health service is registered on the gRPC port, soncis scoped honestly to confirming TCP reachability only, not a full protocol health check.Validation
mkdocs build --strictsucceeds.Ticket: AAASM-4625.