[AgentCore session] Remove the unused session timeout
維護者通常 1 天內回覆
評估
研究方向
先閱讀 AgentcoreSessionConfig、其工作階段設定檢查和型別文件;issue 未註明它們的檔案路徑。查看 epic 的規則 2,找出相應的措辭。移除工作階段逾時欄位及其檢查,說明 runtime 的 maxLifetime 會結束工作階段,並確認 invoke 選項的逾時設定維持不變。
由索引模型根據 Issue 內容生成。
描述
Part of the agentcore_session epic, #954.
What
Remove timeout from AgentcoreSessionConfig.
Why
AgentcoreSessionConfig.timeoutsays it is the lifetime of the session.agentcore_sessiononly 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
maxLifetimealready ends every session. Each job also has its owntimeoutandheartbeat_timeoutinAgentcoreInvokeOptions. - So the session
timeoutadds 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
AgentcoreSessionConfighas notimeout. The config check no longer checks it for a session.- The type docs and the epic rule 2 say that
maxLifetimeends the session. AgentcoreInvokeOptions.timeoutandheartbeat_timeoutdo not change.
Context
Found in review of #968.
Keep the pull request to this item only. The twin item is in aws/aws-durable-execution-sdk-js.
- 主要語言
- Python
- 星號
- 59
- 分支
- 32
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 76
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aws/aws-durable-execution-sdk-python 的其他 Issue
-
needs-triage
難度 2/5 1-3 小時 新手友好度 82/100
aws/aws-durable-execution-sdk-python#977 ·
維護者通常 1 天內回覆
-
enhancement needs-triage
難度 2/5 1-3 小時 新手友好度 72/100
aws/aws-durable-execution-sdk-python#952 ·
維護者通常 1 天內回覆
-
[AgentCore session] W4: Document sessions in the worker README可能已有人在做 @ParidelPooya 於 3 天前認領。 未關閉enhancement needs-triage
難度 1/5 1-3 小時 新手友好度 76/100
aws/aws-durable-execution-sdk-python#950 ·
維護者通常 1 天內回覆
-
[AgentCore session] W3: Add the session ID and job count to worker logs可能已有人在做 @ParidelPooya 於 3 天前認領。 未關閉enhancement needs-triage
難度 2/5 1-3 小時 新手友好度 68/100
aws/aws-durable-execution-sdk-python#949 ·
維護者通常 1 天內回覆
-
enhancement project
難度 1/5 1-3 小時 新手友好度 72/100
aws/aws-durable-execution-sdk-python#927 · 1 則留言 ·
維護者通常 1 天內回覆
查看 aws/aws-durable-execution-sdk-python 的全部 Issue
相似的 Issue
-
[dbt] exported dataset keys reference physical columns可能已有人在做 @WilliamKelley 今天認領。 未關閉needs-triage
難度 2/5 1-3 小時 新手友好度 68/100
apache/ossie-converters#251 ·
維護者通常 2 天內回覆
-
cli difficulty: easy enhancement
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
desec-io/desec-stack#1312 ·
維護者通常 14 天內回覆
-
needs-triage
難度 1/5 1 小時以內 新手友好度 88/100
flashinfer-ai/flashinfer#9803 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 66/100
iamprivacy/Waves#66 · 2 則留言 ·