Skip to content

feat: search workflow executions by correlation ID - #125

Open
liketed wants to merge 1 commit into
mainfrom
feat/enable-search-with-correlation-id
Open

liketed wants to merge 1 commit into
mainfrom
feat/enable-search-with-correlation-id

Conversation

@liketed

@liketed liketed commented Sep 22, 2026

Copy link
Copy Markdown

workflow start --correlation tags an execution, but there was no way to find those executions again — search filtered on name, status and start time only. Add workflow search --correlation-id, which emits a correlationId = "<value>" clause ANDed with the existing filters.

The value is quoted so ids containing spaces reach the server as a single term rather than being split by its query parser.

Filter assembly moves out of the command handler into buildWorkflowSearchQuery so it can be unit tested directly; the e2e search suite now tags its fixture execution and searches for it by correlation ID.

`workflow start --correlation` tags an execution, but there was no way to
find those executions again — search filtered on name, status and start
time only. Add `workflow search --correlation-id`, which emits a
`correlationId = "<value>"` clause ANDed with the existing filters.

The value is quoted so ids containing spaces reach the server as a single
term rather than being split by its query parser.

Filter assembly moves out of the command handler into
buildWorkflowSearchQuery so it can be unit tested directly; the e2e search
suite now tags its fixture execution and searches for it by correlation ID.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@liketed
liketed requested a review from mp-orkes September 25, 2026 10:14
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