feat(issue): Add multi-queue support and enhanced failure handling

- Add --queue parameter for explicit queue targeting (next, dag, detail, done, retry)
- Implement serialized multi-queue execution (complete Q1 before Q2)
- Add queue activate/priority subcommands for multi-queue management
- Add FailureDetail interface for structured failure tracking
- Preserve failure history on retry for debugging
- Show failure reasons and retry count in queue status display
- Auto-detect queue from item ID in done/detail commands
This commit is contained in:
catlog22
2026-01-03 11:31:49 +08:00
parent 54fd94547c
commit 4fb247f7c5
2 changed files with 393 additions and 66 deletions

View File

@@ -288,6 +288,7 @@ export function run(argv: string[]): void {
.option('--reason <text>', 'Failure reason')
.option('--fail', 'Mark task as failed')
.option('--from-queue [queue-id]', 'Sync issue statuses from queue (default: active queue)')
.option('--queue <queue-id>', 'Target queue ID for multi-queue operations')
.action((subcommand, args, options) => issueCommand(subcommand, args, options));
program.parse(argv);