TODO: Implement task cancellation with AbortController #174
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beschreibung
In
packages/worker/src/worker-service.tsgibt es ein TODO für Task-Cancellation:Aktuell wird bei Task-Cancellation nur die
currentTaskIdzurückgesetzt, aber laufende Operationen (API-Calls, etc.) werden nicht abgebrochen.Zu implementieren
1. AbortController pro Task
2. Signal an Handler weitergeben
3. Abort-Checks in langen Operationen
Betroffene Dateien
packages/worker/src/worker-service.tspackages/worker/src/handlers/*.ts(alle Handler)packages/worker/src/agents/*.ts(alle Agents)Abhängigkeiten
Priorität
Mittel - Wichtig für sauberes Ressourcen-Management und User Experience (z.B. wenn User Backend neu startet)