Executions: Re-run Workflow, and search that finds commands #74

Merged
jared merged 1 commits from executions-search-rerun into main 2026-11-23 13:10:02 -05:00
Owner

Closes #18, closes #16, closes #12, closes #13. This is a UI change, so it needs your approval.

Re-run and search, before and after

#18: Re-run Workflow

A workflow execution's detail view used to offer Re-run Command. That copied only the first step's command into Quick Command and dropped the rest of the workflow and its parameters.

It now offers Re-run Workflow, which:

  1. asks for confirmation, listing the original parameters;
  2. starts the same workflow with those parameters;
  3. opens the new run.

Quick commands keep Re-run Command, as before.

#16: Search finds commands

The search box said it searched commands, but it only filtered the loaded page by name and id. Search now runs on the server and matches:

  • the workflow name;
  • who started the run;
  • the execution id;
  • any command the execution ran.

It searches as you type (waiting 300 ms after you stop) and starts from the first page. The status filter stays local.

#12 and #13: already fixed, now tested

The UI rewrite had already fixed both, so these are regression tests to keep them fixed:

  • #12: Create Workflow opens with the example definition.
  • #13: the run dialog, with its Dry Run checkbox, opens even for workflows without parameters.

Tests

  • Integration: search by command and by id, and no match for an unknown term.
  • UI:
    • Re-run Workflow starts a second run with the same parameters;
    • searching by command shows exactly that run;
    • #12 and #13.
  • Locally: integration 49/49, UI 38/38, lint is clean.

🤖 Generated with Claude Code

Closes #18, closes #16, closes #12, closes #13. **This is a UI change, so it needs your approval.** ![Re-run and search, before and after](https://code.lotusguild.org/LotusGuild/pulse/raw/branch/pr-assets/pr-74/rerun-search.png) ## #18: Re-run Workflow A workflow execution's detail view used to offer **Re-run Command**. That copied only the first step's command into Quick Command and dropped the rest of the workflow and its parameters. It now offers **Re-run Workflow**, which: 1. asks for confirmation, listing the original parameters; 2. starts the same workflow with those parameters; 3. opens the new run. Quick commands keep **Re-run Command**, as before. ## #16: Search finds commands The search box said it searched commands, but it only filtered the loaded page by name and id. Search now runs on the server and matches: - the workflow name; - who started the run; - the execution id; - **any command the execution ran**. It searches as you type (waiting 300 ms after you stop) and starts from the first page. The status filter stays local. ## #12 and #13: already fixed, now tested The UI rewrite had already fixed both, so these are regression tests to keep them fixed: - **#12:** Create Workflow opens with the example definition. - **#13:** the run dialog, with its Dry Run checkbox, opens even for workflows without parameters. ## Tests - Integration: search by command and by id, and no match for an unknown term. - UI: - Re-run Workflow starts a second run with the same parameters; - searching by command shows exactly that run; - #12 and #13. - Locally: integration 49/49, UI 38/38, lint is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 13:03:58 -05:00
Executions: Re-run Workflow, and search that finds commands (#18, #16)
CI / Test (jest) (pull_request) Successful in 23s
CI / Lint (eslint) (pull_request) Successful in 26s
CI / Security (npm audit) (pull_request) Successful in 15s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m42s
CI / Integration (api) (pull_request) Successful in 2m37s
CI / UI (playwright) (pull_request) Successful in 2m45s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m41s
4cf3c084a9
- #18: a workflow execution's detail now offers Re-run Workflow, which
  starts the same workflow with the parameters from its params log entry
  (after a confirm listing them) and opens the new run. Quick commands
  keep Re-run Command.
- #16: search runs on the server: workflow name, who started it, the id,
  or any command the execution ran (JSON_SEARCH over the logs). The page
  sends it as you type (debounced 300 ms, from the first page); the
  status filter stays local.
- Regression tests for #12 (Create Workflow starts with the example) and
  #13 (dry run works for workflows without parameters), which the UI
  rewrite had already fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 2b693c2a69 into main 2026-11-23 13:10:02 -05:00
jared deleted branch executions-search-rerun 2026-11-23 13:10:14 -05:00
Sign in to join this conversation.