[Feature]: Add pause/resume to the local runner HTTP API and CLI
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 59
- Forks
- 32
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 76
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aws/aws-durable-execution-sdk-python
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws/aws-durable-execution-sdk-python#977 ·
Los mantenedores suelen responder en 1 día
-
[AgentCore session] Remove the unused session timeoutPosiblemente ocupada @srivilliamsai la tomó hoy. Abiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
aws/aws-durable-execution-sdk-python#970 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
aws/aws-durable-execution-sdk-python#952 ·
Los mantenedores suelen responder en 1 día
-
[AgentCore session] W4: Document sessions in the worker READMEPosiblemente ocupada @ParidelPooya la tomó hace 3 días. Abiertoenhancement needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
aws/aws-durable-execution-sdk-python#950 ·
Los mantenedores suelen responder en 1 día
-
[AgentCore session] W3: Add the session ID and job count to worker logsPosiblemente ocupada @ParidelPooya la tomó hace 3 días. Abiertoenhancement needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
aws/aws-durable-execution-sdk-python#949 ·
Los mantenedores suelen responder en 1 día
Todos los issues de aws/aws-durable-execution-sdk-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Unused loot bag group names left in dreamcraft en_US.langPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoStatus: Triage Suggestion
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
GTNewHorizons/GT-New-Horizons-Modpack#27789 ·
Los mantenedores suelen responder en 1 día
-
bug frontend sev-5
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
core good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
b4b code health next
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ESCOMP/CTSM#4330 · 1 comentario ·
Los mantenedores suelen responder en 1 día