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
{{ message }}
Repository navigation
[AgentCore session] Remove the unused session timeout #970
AgentcoreSessionConfig.timeout says it is the lifetime of the session.
agentcore_session only checks that the value is at least 1 second. Nothing ends the session when the time is up. A handler can wait longer, and the session stops only when the handler returns.
The agent runtime's maxLifetime already ends every session. Each job also has its own timeout and heartbeat_timeout in AgentcoreInvokeOptions.
So the session timeout adds a setting that does nothing. Enforcing it would need a durable deadline that stops the session, which is more code for a limit the runtime already sets.
So the session config drops the field, and the docs state the rule instead: the runtime's maxLifetime ends the session, and a job that still runs then ends with it.
Done when
AgentcoreSessionConfig has no timeout. The config check no longer checks it for a session.
The type docs and the epic rule 2 say that maxLifetime ends the session.
AgentcoreInvokeOptions.timeout and heartbeat_timeout do not change.
Activity
ParidelPooya commentedon Nov 19, 2026
Twin: aws/aws-durable-execution-sdk-js#1262