[Feature]: Add pause/resume to the local runner HTTP API and CLI
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading the web runner and HTTP route implementations, the dex-local-runner CLI entry points, and the pause/resume behavior introduced by #757. Define the HTTP and CLI contracts, including bounded waits and error handling, then add unit tests for routes and CLI arguments and E2E coverage for pause and resume. Done means an in-flight local execution can be paused and resumed through both interfaces, with documented behavior for timeouts and invalid or completed executions.
由索引模型根据 Issue 内容生成。
描述
What would you like?
Expose execution pause and resume through the local emulator's HTTP API and the dex-local-runner CLI.
This follows the request in the approval of PR #757. It is separate work, not a merge requirement for that PR.
The reviewer notes that SAM CLI runs the emulator as a container and calls its HTTP routes. Adding these routes would let SAM CLI add pause/resume commands in a separate change.
Possible Implementation
- Add pause/resume support to the web runner and its HTTP routes.
- Add CLI commands that call those routes for a specified execution ARN.
- Reuse the pause/resume behavior introduced by #757.
- Define request and response formats, timeout behavior, and error mapping.
- Document HTTP and CLI usage, including the experimental status of these controls.
Acceptance criteria
- Users can pause and resume a local execution through HTTP and through the CLI.
- Pause waits are bounded. A timeout clearly reports that the pause request remains applied.
- Repeated requests, completed executions, invalid ARNs, and unknown executions have documented behavior consistent with the underlying runner.
- Unit tests cover routes, CLI argument handling, and error responses.
- E2E tests cover pausing an in-flight execution and resuming it to completion through the HTTP API and CLI.
Is this a breaking change?
No. This adds local testing controls.
Does this require an RFC?
No RFC is proposed. Confirm the HTTP and CLI contracts during implementation.
Additional Context
- Follow-up to #757.
- SAM CLI changes belong in a separate follow-up. This issue provides the emulator support they would need.
- 主要语言
- 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 天内回复
-
[AgentCore session] Remove the unused session timeout可能已有人在做 @srivilliamsai 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 77/100
aws/aws-durable-execution-sdk-python#970 · 1 条评论 ·
维护者通常 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 天内回复
查看 aws/aws-durable-execution-sdk-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
Unused loot bag group names left in dreamcraft en_US.lang可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Status: Triage Suggestion
难度 1/5 1 小时以内 新手友好度 90/100
GTNewHorizons/GT-New-Horizons-Modpack#27789 ·
维护者通常 1 天内回复
-
bug frontend sev-5
难度 2/5 1-3 小时 新手友好度 83/100
-
core good first issue
难度 2/5 1-3 小时 新手友好度 65/100
-
b4b code health next
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复