[Bug]: An execution that is RUNNING with no live stage cannot be cancelled
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, javascript
Research direction
Start by tracing POST /intents/{id}/cancel and the watchdog paths described in the issue, then inspect how parked runs supersede gates, retire grants, and update META. Reproduce the suspended durable execution with no running stage and determine how long it must remain in that state to be considered stale. Done means cancellation or watchdog retirement sets META to CANCELLED and performs the same cleanup as for a parked run.
Written by the indexing model from the issue text.
Description
An execution can be left with META RUNNING while its durable execution is suspended and no stage is running, for example after a stage callback is lost. Nothing in the product can retire it:
POST /intents/{id}/cancelonly acceptsWAITING,CREATEDandFAILED, and returns 409 forRUNNING.- The watchdog only repairs durable executions that ended or expired, and this one expires a year after it started.
- Rewind does not accept
RUNNING.
The execution then stays active: it counts against the deploy-time active-execution check, and only aws lambda stop-durable-execution clears it.
Expected: cancel, or the watchdog, treats RUNNING with a suspended durable execution and no running stage for some time as stale, and retires it the same way as a parked run. It supersedes the gates, retires the grants and sets META to CANCELLED.
- Dominant language
- JavaScript
- Stars
- 128
- Forks
- 62
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 102
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/sample-collaborative-ai-dlc
-
area/infra nfr/operations
Difficulty 4/5 3-5 days Newbie friendliness 35/100
aws-samples/sample-collaborative-ai-dlc#843 ·
Maintainers usually reply within 1 day
-
[Bug]: Platform credential review times out on a large executions table (full-table inventory scan)Possibly taken @dc2tom claimed this 1 day ago. Openarea/backend nfr/performance topic/admin
Difficulty 3/5 Half a day Newbie friendliness 45/100
aws-samples/sample-collaborative-ai-dlc#840 ·
Maintainers usually reply within 1 day
-
[Bug]: Durable watchdog and PR-wait reconciler only check the first 100 rows of their indexPossibly taken @rafaelsmf claimed this 2 days ago. Openarea/backend nfr/reliability topic/intents
Difficulty 3/5 Half a day Newbie friendliness 45/100
aws-samples/sample-collaborative-ai-dlc#836 ·
Maintainers usually reply within 1 day
-
[RFC]: Spend and work controls: usage totals, holds, spend limits and caps per space and intentOpenarea/backend nfr/cost rfc topic/intents topic/spaces
Difficulty 5/5 Over a week Newbie friendliness 12/100
aws-samples/sample-collaborative-ai-dlc#833 ·
Maintainers usually reply within 1 day
-
[Feature]: View Mermaid diagrams in documents full size, with zoom, and download themPossibly taken @adrianrobinson42 claimed this 4 days ago. Openarea/frontend good first issue topic/knowledge
Difficulty 3/5 1-2 days Newbie friendliness 15/100
aws-samples/sample-collaborative-ai-dlc#830 · 1 comment ·
Maintainers usually reply within 1 day
All issues in aws-samples/sample-collaborative-ai-dlc
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 13 days
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemePossibly taken @Bensonbenyi claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Mintplex-Labs/anything-llm#7338 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug: no-derived-state crashes on a call through a TypeScript import-equals alias (`import x = A.b`)Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nickjvandyke/eslint-plugin-react-you-might-not-need-an-effect#90 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
semantic-release/semantic-release#4375 ·
Maintainers usually reply within 1 day