Conversation
…for queue-based trigger
9 tasks
Implements POST /queues/{name}/push, GET /queues/{name}/stats,
GET /queues/{name}/peek, and DELETE /queues/{name} endpoints,
including queue name validation (alphanumeric + hyphens, max 64 chars).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… CLI Adds TriggerConfig::Queue variant, QueueStrategy factory wiring in create_strategy(), API validation, template variables (queue_name, queue_task_id, queue_priority), client methods, and CLI subcommands (queue-stats, queue-peek, queue-purge) with --trigger-type queue support. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds unit tests for queue storage (FIFO, priority ordering, visibility timeout, retry/dead-letter, stats, peek, purge), QueueStrategy unit tests, 8 integration tests in queue_trigger.rs, CLI argument parsing tests for queue subcommands, and docs/public/queue-trigger.md covering API, CLI, template variables, retry semantics, and architecture patterns. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Complete the QueueStrategy lifecycle by calling complete_queue_task or
fail_queue_task in notify_complete when a queue-sourced dispatch finishes.
The source_id format 'queue:{name}:{id}' is parsed to extract the task ID.
This also resolves the clippy dead_code warning on these storage methods.
9 tasks
test+docs: add tests and documentation for queue-based trigger
feat: add Queue variant to TriggerConfig and wire into API/CLI
feat(api): add queue API endpoints for push/stats/peek/purge
feat(scheduler): implement QueueStrategy for queue-based triggers
feat(storage): add task_queue table migration and storage operations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rollup PR for epic #806.
This branch collects all sub-issue work via stacked PRs.
Sub-issues will be linked as they are implemented.