You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: /ping response requires undocumented time_of_last_update field — without it AgentCore silently reaps microVMs even when status is HealthyBusy #471
In practice, the platform's idle reaper requires a second field — time_of_last_update — that the AWS-facing docs never mention.
Without it, idleRuntimeSessionTimeout fires at the configured
boundary even while /ping returns HealthyBusy, silently terminating
microVMs mid-execution.
Either make the field optional on the platform side (so the
currently-documented contract works) or surface a clear error/warning
when a runtime returns a /ping body missing the field.
Problem
The
/pingcontract documented atruntime-long-run.html
and runtime-troubleshooting.html
shows only:
In practice, the platform's idle reaper requires a second field —
time_of_last_update— that the AWS-facing docs never mention.Without it,
idleRuntimeSessionTimeoutfires at the configuredboundary even while
/pingreturnsHealthyBusy, silently terminatingmicroVMs mid-execution.
The official SDK has emitted this field since the first public commit
(
4f5c80d, 2025-07-15) — seeruntime/app.py:612.A third-party post documents the full schema correctly:
https://eashank16.medium.com/demystifying-the-http-protocol-contract-for-amazon-bedrock-agentcore-runtime-30ae130485b4
Reproduction (controlled, ~10 min)
/invocations: spawn a background asyncio task, return{"status":"accepted"}immediatelyCreateAgentRuntimewithlifecycleConfiguration: {idleRuntimeSessionTimeout: 60, maxLifetime: 28800}Repeat with the only change being the ping body:
Container now survives indefinitely (verified to 256 s in our test).
Other affected customers
HEALTHY_BUSYpattern but doesn'tmention the field
aws-samples/sample-host-openclaw-on-amazon-bedrock-agentcorePR add automated release workflows (PyPI disabled for testing) #36 — merged a fix that returns{"status": "HealthyBusy"}without the field, almost certainly still broken under loadAsks
runtime-troubleshooting.html
to document the full ping schema (both fields, with semantics).
currently-documented contract works) or surface a clear error/warning
when a runtime returns a
/pingbody missing the field.aws-samples/sample-host-openclaw-on-amazon-bedrock-agentcorePR add automated release workflows (PyPI disabled for testing) #36.