-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
actor/kelosgenerated-by-keloskelos/needs-inputkind/featureCategorizes issue or PR as related to a new featureCategorizes issue or PR as related to a new featurepriority/important-soontriage-accepted
Description
Background
When a TriggerComment is posted on an issue that already has a completed (but not yet TTL-evicted) Task, the spawner currently skips creating a new task because one already exists. This is the same behavior as the existing label-based flow — once a task is created for an issue, it won't be re-created until TTL cleanup removes it.
This came up during review of #420 (comment-based workflow control). The comment filter correctly identifies the issue for processing, but the spawner deduplication logic prevents re-creation.
Desired Behavior
Allow users to re-trigger work on an issue immediately, without waiting for TTL cleanup. This is not specific to comment-based control — it applies equally to label-based flows.
Possible Approaches
- A new field like
retriggerPolicy: "DeleteCompleted"— tells the spawner to delete completed tasks when they re-appear in discovery results - Appending a counter/suffix to task names (e.g.,
spawner-1-v2) — but this complicates the naming convention
Context
- Discussed in: https://github.com/axon-core/axon/pull/420#discussion_r2853576131
- Current behavior is acceptable for the initial comment-based workflow implementation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
actor/kelosgenerated-by-keloskelos/needs-inputkind/featureCategorizes issue or PR as related to a new featureCategorizes issue or PR as related to a new featurepriority/important-soontriage-accepted