deploy-2026.11.23-242
7
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c01e3ead32 |
Quick Command shows the output right under the form (#5)
CI / Lint (eslint) (pull_request) Successful in 19s
CI / Test (jest) (pull_request) Successful in 30s
CI / Security (npm audit) (pull_request) Successful in 14s
CI / Integration (api) (pull_request) Successful in 2m35s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m52s
CI / UI (playwright) (pull_request) Successful in 2m31s
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 2m35s
After Execute, each worker gets a card that says Running until its result arrives, then shows the status (Completed, Failed (exit N), Timed out, Killed), the duration, stdout, stderr in red, and a link to the full record in Executions. Multi-worker runs get one card per worker. - The result comes from the live command_result event; one that arrives before the POST returns is buffered. If the event is missed (e.g. the live connection dropped), the card polls the execution every 5 s. - Each stream shows up to 100,000 characters, with a note pointing to Executions for the rest. - The server's command_result broadcast now includes duration. - [hidden] now always wins over component display rules: both worker pickers used to show in either mode because .lt-form-group sets display: flex. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9f6b34b55a |
Live updates keep the rows brought in with Load More (#17)
CI / Lint (eslint) (pull_request) Successful in 18s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 11s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m8s
CI / Integration (api) (pull_request) Successful in 2m53s
CI / UI (playwright) (pull_request) Successful in 2m24s
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 2m57s
A live event reloaded only the first page of the Executions list, so rows brought in with Load More vanished whenever Gandalf or anyone else ran something. Live refreshes now fetch as many rows as are shown (up to the server's 1000); search and filters still start from the first page. The rest of #17 was already fixed: reloads are throttled (#10), each tab keeps its own state, and selections survive a refresh. The new UI test fails without this change (100 rows drop to 50). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5d1cdf9da0 |
Quick Command remembers the mode and workers (#31)
CI / Lint (eslint) (pull_request) Successful in 23s
CI / Test (jest) (pull_request) Successful in 23s
CI / Security (npm audit) (pull_request) Successful in 10s
CI / Integration (api) (pull_request) Successful in 2m40s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m51s
CI / UI (playwright) (pull_request) Successful in 4m32s
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 4m43s
The mode (single or multi), the single worker and the multi-worker selection are saved in localStorage (pulse_qc_prefs): the mode when it changes, the workers when a command is sent. A reload starts from that choice instead of the first worker; a Re-run from Executions still overrides it. The Ctrl+Enter hint and shortcut already existed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
eda319e16a |
Executions list: show what a command ran and on which worker (#15)
CI / Test (jest) (pull_request) Successful in 27s
CI / Lint (eslint) (pull_request) Successful in 31s
CI / Security (npm audit) (pull_request) Successful in 11s
CI / Integration (api) (pull_request) Canceled after 1m56s
CI / Scan (secrets, workflows, shell) (pull_request) Canceled after 1m48s
CI / UI (playwright) (pull_request) Canceled after 0s
CI / UI screenshots (before/after) (pull_request) Canceled after 0s
CI / Deploy (pull_request) Canceled after 0s
CI / Deploy worker (pull_request) Canceled after 0s
CI / Notify (pull_request) Canceled after 0s
Every command execution was listed as "[Quick Command]". The list API now returns, for command executions, the first command (up to 120 characters) and the worker's name (from the first log entry, joined to workers), and the row shows them as `command @ worker`. Workflows keep their name. 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> |
||
|
|
040ad028c0 |
Safer workflow conditions; Pulse is admin-only
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 25s
CI / Test (jest) (push) Successful in 25s
CI / Security (npm audit) (push) Successful in 21s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m0s
CI / Integration (api) (push) Successful in 2m23s
CI / Lint (eslint) (pull_request) Successful in 24s
CI / Test (jest) (pull_request) Successful in 32s
CI / Security (npm audit) (pull_request) Successful in 39s
CI / UI (playwright) (push) Successful in 2m6s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (pull_request) Successful in 2m13s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m46s
CI / UI screenshots (before/after) (pull_request) Successful in 27s
CI / UI (playwright) (pull_request) Successful in 3m5s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
- Workflow conditions (step.condition and route `if`) are now parsed and interpreted by lib/condition.js instead of being run with Node's vm module. The language covers what workflows use: state/params lookups, parseInt/parseFloat/Number/String/Boolean, a few string methods, the usual operators with JavaScript semantics. Conditions can only read the workflow's own data. Every condition in the production workflows gives the same result as before (differential test, 150 random states each). - Creating and updating a workflow rejects conditions that don't parse (400 with the step and the error). - Creating a workflow requires admin, like editing already did. - Only the admin group may use Pulse (pages, API and live WebSocket); employees get 403. Gandalf and workers use API keys and are unaffected. - The live-update UI test finds its execution's row by id instead of counting rows (the list is capped at 50). 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> |