0412eeeb38336845ff7aeff4cd53e4cf3185adec
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e5d640dc1a |
Say what is wrong with a rejected workflow definition (#25)
CI / Lint (eslint) (pull_request) Successful in 20s
CI / Test (jest) (pull_request) Successful in 22s
CI / Security (npm audit) (pull_request) Successful in 13s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m32s
CI / Integration (api) (pull_request) Successful in 3m24s
CI / UI screenshots (before/after) (pull_request) Successful in 6s
CI / UI (playwright) (pull_request) Successful in 1m53s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
The server answered a bad goto or condition with "Invalid workflow definition" and put the details in a problems array, which the UI never shows (lt.api keeps only `error`). The error now names them, e.g. "Invalid workflow definition: step check: no step with id "notify"" (up to five, then "and N more"); problems stays for API clients. The rest of #25 was already fixed by the UI rewrite; regression tests now cover the server's reason in the form and Escape closing the Run dialog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4cf3c084a9 |
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
- #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> |
||
|
|
39d28fb9e7 |
Executions: show runs waiting on a prompt; Automated tab filters on the server (#3, #4)
CI / Lint (eslint) (pull_request) Successful in 29s
CI / Test (jest) (pull_request) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 12s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m48s
CI / Integration (api) (pull_request) Successful in 2m32s
CI / UI (playwright) (pull_request) Successful in 2m6s
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 2m28s
- #3: the list response includes waiting_for_input for each execution (a running execution blocked on a prompt). The row shows it as 'waiting' (the design system's purple status) and the Waiting status filter, which could never match, now finds it. - #4: new only_internal=true filter (Gandalf and scheduler runs), used by the Automated tab, so it pages and counts on the server like the Manual tab; the client-side filter over one shared page is gone. - Tests: integration for waiting_for_input and both server filters; UI for the waiting status and the filter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5bca0cd87b |
CI: Playwright UI tests against a real server, workers and MariaDB
CI / Test (jest) (push) Failing after 57s
CI / Lint (eslint) (push) Successful in 59s
CI / Security (npm audit) (push) Successful in 10s
CI / Lint (eslint) (pull_request) Successful in 28s
CI / Test (jest) (pull_request) Successful in 17s
CI / Security (npm audit) (pull_request) Successful in 12s
CI / UI (playwright) (push) Failing after 2m25s
CI / Deploy (push) Skipped
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Failing after 1m21s
CI / Deploy (pull_request) Skipped
CI / Notify (pull_request) Skipped
New required-to-be job `UI (playwright)` (#45 phase 5): the official Playwright image with a MariaDB service container. scripts/ci/ui-stack.sh starts the real server and three workers (WORKER_AUTH_ENFORCE=1), then tests/ui/ runs 30 tests on desktop and a phone viewport: - every page loads with no page errors, console errors or failed requests (enforced by a shared fixture for every test) - quick commands run on a worker and their output and status show in Executions; multi-worker mode; failing commands show as failed - workflows are created and run from the UI and complete on all workers - Executions updates live over the authenticated browser WebSocket - no SSO identity: 401 page and API; wrong group: 403 - every page fits a phone screen External requests are blocked in tests so SSO headers never leave the machine. Deploy now also waits for the UI job. The API and execution rate limits can be raised with PULSE_API_RATE_MAX / PULSE_EXEC_RATE_MAX for test stacks; production defaults are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |