[AgentCore session] Remove the unused session timeout
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
調査の方向性
まず 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時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·