Skip to content

feat: add --status flag to intents cleanup command#83

Merged
George-iam merged 2 commits intomainfrom
feat/intent-ttl-auto-cleanup-20260403
Apr 3, 2026
Merged

feat: add --status flag to intents cleanup command#83
George-iam merged 2 commits intomainfrom
feat/intent-ttl-auto-cleanup-20260403

Conversation

@George-iam
Copy link
Copy Markdown
Contributor

Summary

  • Adds --status flag to axme intents cleanup for targeted status filtering
  • Default: DELIVERED,WAITING,IN_PROGRESS,SUBMITTED,ACKNOWLEDGED
  • Example: axme intents cleanup --status IN_PROGRESS,WAITING --older-than 8 --dry-run=false
  • Pairs with server-side batch optimization in AxmeAI/axme-control-plane#193

Test plan

  • go build clean
  • All CLI unit tests pass
  • CI green

Allows operators to target specific statuses for bulk cleanup:
  axme intents cleanup --status IN_PROGRESS,WAITING --older-than 8 --dry-run=false

Default includes all non-terminal statuses. Pairs with server-side
batch optimization in axme-control-plane.
Bulk cancel may process hundreds of intents. The default 60s HTTP
timeout was too short, causing the CLI to hang/timeout. Use a dedicated
300s timeout for the cleanup command.
@George-iam George-iam merged commit 4c6ef6e into main Apr 3, 2026
1 check passed
@George-iam George-iam deleted the feat/intent-ttl-auto-cleanup-20260403 branch April 3, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant