61991841aa65a6c5d631d44b1738c546c31b6737
142
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
61991841aa |
CI: mariadb.sh avoids the unreachable Azure apt mirror and retries apt
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 3m7s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 29s
CI / UI screenshots (before/after) (pull_request) Successful in 11s
CI / UI (playwright) (pull_request) Successful in 2m2s
CI / Deploy (pull_request) Skipped
CI / Test (jest) (pull_request) Successful in 27s
CI / Integration (api) (pull_request) Successful in 4m4s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 24s
The Playwright image's apt sources point at azure.archive.ubuntu.com, which timed out from the runner after it moved nodes; the UI job failed at Start MariaDB twice. Switch to archive.ubuntu.com and retry apt up to 3 times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f140b380fb |
CI: build branches through their pull request only; pushes build main
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m18s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 17s
CI / UI (playwright) (pull_request) Failing after 1m32s
CI / UI screenshots (before/after) (pull_request) Successful in 8s
CI / Deploy (pull_request) Skipped
CI / Test (jest) (pull_request) Successful in 24s
CI / Integration (api) (pull_request) Successful in 3m59s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 51s
Every PR branch ran the whole pipeline twice (push and pull_request), doubling the runner queue. Required checks move to the (pull_request) contexts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
93b1422300 |
Merge pull request 'Tests: fix two CI flakes seen on main' (#68) from test-flakes into main
CI / Test (jest) (push) Successful in 32s
CI / Security (npm audit) (push) Successful in 17s
CI / Deploy (push) Successful in 15s
CI / Deploy worker (push) Successful in 7s
CI / UI (playwright) (push) Successful in 3m6s
CI / Notify (push) Successful in 4s
CI / Lint (eslint) (push) Successful in 36s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m40s
CI / Integration (api) (push) Successful in 3m18s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
a1f26b2bb1 |
Merge pull request 'Abort kills worker processes; fix #6, #21, #34; worker keepalive and backoff' (#67) from backend-bugs into main
CI / Test (jest) (push) Successful in 40s
CI / Security (npm audit) (push) Successful in 26s
CI / Deploy (push) Successful in 29s
CI / Deploy worker (push) Successful in 41s
CI / UI (playwright) (push) Successful in 3m13s
CI / Notify (push) Successful in 11s
CI / Lint (eslint) (push) Successful in 32s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m30s
CI / Integration (api) (push) Successful in 3m42s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
6d289a3bce |
Tests: fix two CI flakes seen on main
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 3m50s
CI / Deploy worker (pull_request) Skipped
CI / Test (jest) (push) Successful in 1m15s
CI / Security (npm audit) (push) Successful in 27s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 27s
CI / UI screenshots (before/after) (pull_request) Successful in 10s
CI / UI (playwright) (pull_request) Successful in 2m39s
CI / Deploy (pull_request) Skipped
CI / UI (playwright) (push) Successful in 2m38s
CI / Notify (push) Skipped
CI / Test (jest) (pull_request) Successful in 1m4s
CI / Integration (api) (pull_request) Successful in 4m18s
CI / Notify (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 1m20s
CI / Integration (api) (push) Successful in 3m42s
CI / Scan (secrets, workflows, shell) (push) Successful in 3m11s
CI / Security (npm audit) (pull_request) Successful in 39s
CI / UI screenshots (before/after) (push) Skipped
- calculateNextRun interval: bounded by the clock before and after the call (its first use loads cron-parser, which took 30 s once on a loaded runner and broke the fixed 1 s tolerance). - Integration helper: retry a GET once when a pooled keep-alive connection is reset (ECONNRESET as the server closes it); writes are never retried. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b5af336338 |
Register a prompt's pending answer before announcing it
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 3m35s
CI / Test (jest) (push) Successful in 1m41s
CI / Deploy worker (pull_request) Skipped
CI / Security (npm audit) (push) Successful in 52s
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 51s
CI / UI (playwright) (pull_request) Failing after 11m39s
CI / Deploy (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 35s
CI / UI (playwright) (push) Successful in 2m18s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (pull_request) Successful in 3m51s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m57s
CI / Test (jest) (pull_request) Successful in 48s
CI / Notify (pull_request) Skipped
CI / Integration (api) (push) Successful in 3m6s
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 51s
CI / Lint (eslint) (push) Successful in 40s
An answer arriving between the 'prompt' log entry and the registration got 'No pending prompt' (404); CI hit it under load on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
986791ae20 |
Merge remote-tracking branch 'origin/main' into backend-bugs
CI / Test (jest) (push) Successful in 39s
CI / Security (npm audit) (push) Successful in 21s
CI / Deploy (push) Canceled after 0s
CI / Deploy worker (push) Canceled after 0s
CI / Scan (secrets, workflows, shell) (pull_request) Canceled after 0s
CI / Deploy worker (pull_request) Canceled after 0s
CI / UI (playwright) (push) Canceled after 0s
CI / Lint (eslint) (pull_request) Canceled after 0s
CI / Notify (push) Canceled after 0s
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 / Lint (eslint) (push) Successful in 35s
CI / Integration (api) (push) Canceled after 3m54s
CI / Scan (secrets, workflows, shell) (push) Canceled after 3m18s
CI / Test (jest) (pull_request) Canceled after 0s
CI / Integration (api) (pull_request) Canceled after 0s
CI / Notify (pull_request) Canceled after 0s
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Canceled after 0s
|
||
|
|
1a031515e7 |
Merge pull request 'Fix abort, missing goto, offline schedules and the cron 500' (#66) from fix-known-bugs into main
CI / Security (npm audit) (push) Successful in 1m0s
CI / Test (jest) (push) Failing after 1m5s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / UI (playwright) (push) Successful in 5m23s
CI / Notify (push) Successful in 4s
CI / Lint (eslint) (push) Successful in 1m41s
CI / Scan (secrets, workflows, shell) (push) Successful in 4m25s
CI / Integration (api) (push) Failing after 4m31s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
7c99cd68e7 |
Merge pull request 'CI: eslint-plugin-security and zizmor; harden the workflow' (#65) from more-scanners into main
CI / Test (jest) (push) Successful in 58s
CI / Security (npm audit) (push) Successful in 29s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / UI (playwright) (push) Successful in 3m8s
CI / Notify (push) Successful in 5s
CI / Scan (secrets, workflows, shell) (push) Successful in 4m15s
CI / Integration (api) (push) Failing after 5m41s
CI / Lint (eslint) (push) Successful in 45s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
397f4dd778 |
Worker: keepalive, reconnect backoff, no crash loop at startup (#1, #29)
- #1: the worker pings the server every 30 s over the WebSocket; if the previous ping got no pong, the connection is dead (server restart or network drop without a close) and is terminated so it reconnects. The ws server answers pings itself, so the server needs no change. - #29: reconnects back off from 1 s doubling to 60 s with up to 20% jitter, reset on a successful connection; a failed first heartbeat is logged and retried instead of exiting into a systemd crash loop. - stop() no longer schedules a reconnect. - Tests: backoff bounds, missed pong terminates, pong keeps, startup with an unreachable server (unit and end to end). The #6 test now waits for the worker to show offline before sending one command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d517cae7e6 |
Fix orphaned quick commands, prompt timeouts and worker delete (#6, #21, #34)
- #6: a quick command to a disconnected worker is refused before an execution is recorded, instead of leaving one stuck in 'running'. - #21: an unanswered prompt fails the execution (prompt_timeout) instead of continuing as if someone had chosen; prompt and wait steps never wait past the execution's deadline, and a wait cut short by it fails with execution_timeout. PULSE_PROMPT_TIMEOUT_MS (minimum 1 s, default 60 min) lets the test stack use 8 s. - #34: deleting a connected worker is a 409 explaining it would re-register on its next heartbeat; offline workers delete as before. Tests for each (integration 45/45). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
073114c92e |
Abort kills the command on the worker (#8 follow-up)
- worker: commands run with spawn in their own process group (same timeout, 10 MB output limit and result fields as exec). A new cancel_command message (by command_id, or every command of an execution) sends SIGTERM to the group, then SIGKILL after 5 s; the result reports cancelled: true. Old workers ignore the message. - server: the abort route sends cancel_command to the worker running each of the execution's commands. - Tests: the whole process tree dies on cancel (a background child too), execution-wide cancel leaves other executions alone, and end to end an aborted quick command's process is gone from the worker. Liveness checks treat zombies as dead (an orphan waits to be reaped). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
dc732a1ec5 |
Fix abort, missing goto, offline schedules and the cron 500 (#8, #20, #9)
CI / Test (jest) (push) Successful in 32s
CI / Security (npm audit) (push) Successful in 15s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 7m1s
CI / Deploy worker (pull_request) Skipped
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 1m12s
CI / UI screenshots (before/after) (pull_request) Successful in 28s
CI / UI (playwright) (pull_request) Successful in 4m41s
CI / Deploy (pull_request) Skipped
CI / UI (playwright) (push) Successful in 3m41s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (push) Successful in 4m4s
CI / Scan (secrets, workflows, shell) (push) Successful in 3m26s
CI / Test (jest) (pull_request) Successful in 1m11s
CI / Integration (api) (pull_request) Successful in 7m41s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 23s
The four known-bug tests from #59 now pass as normal tests. - #8 abort: each workflow execution gets an AbortController. The abort route fires it; the engine checks it before every step and stops; wait steps, retry delays and waits for a worker's result end as soon as it fires. New test: aborting during a 20 s command stops the workflow within seconds and runs no further step. - #20 goto to a missing step: the execution now fails (it reported completed). Workflows are also checked on save: a goto, route or prompt route to a step id that doesn't exist is a 400 ('end' is always valid). A workflow saved before the check still fails at runtime (tested by writing one directly). - #9 schedules whose worker is offline: instead of skipping silently, the scheduler records a failed run ('Worker offline: the scheduled command was not sent'), visible in Executions. - An invalid cron expression (or any bad schedule) is a 400 with the parser's message instead of a 500. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2793053108 |
CI: install python3-venv with the other scanners (zizmor runs before semgrep)
CI / Test (jest) (push) Successful in 40s
CI / Security (npm audit) (push) Successful in 12s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 4m1s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 40s
CI / UI (playwright) (push) Successful in 2m58s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 2m52s
CI / UI screenshots (before/after) (pull_request) Successful in 3m19s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 41s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m46s
CI / Integration (api) (push) Successful in 1m59s
CI / Test (jest) (pull_request) Successful in 36s
CI / Integration (api) (pull_request) Successful in 2m56s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 11s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
235d9240c0 |
CI: eslint-plugin-security and zizmor; harden the workflow
CI / Test (jest) (push) Successful in 22s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Failing after 14s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 17s
CI / UI (playwright) (push) Successful in 3m0s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 2m16s
CI / Deploy (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m18s
CI / Lint (eslint) (push) Successful in 23s
CI / Scan (secrets, workflows, shell) (push) Failing after 18s
CI / Integration (api) (push) Successful in 2m43s
CI / Test (jest) (pull_request) Successful in 18s
CI / Integration (api) (pull_request) Successful in 2m24s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 13s
- eslint-plugin-security 4.2.1 (recommended-legacy) with detect-object-injection off (it flags every obj[key]) and file/regex rules off for CI scripts and tests. The remaining hits were false positives with a one-line reason each (fixed page names, the worker's own directory, a null check), plus one real tidy-up: the condition tokenizer's number regex is now two flat patterns with no backtracking, and malformed numbers like 1.2.3 are refused. - zizmor 1.32.0 in the Scan job. Its findings are fixed: persist-credentials: false on every checkout (no job pushes), container images pinned by digest (tag kept in the reference), and the deploy tag step takes github.* values through env instead of template expansion. Left as is: secrets-outside-env (auditor persona; Gitea has no deployment environments). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8d96028070 |
Merge pull request 'Workers tab: show the commit each worker runs' (#64) from workers-version into main
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Successful in 20s
CI / Deploy (push) Successful in 14s
CI / Deploy worker (push) Successful in 4s
CI / UI (playwright) (push) Successful in 1m51s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 18s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m16s
CI / Integration (api) (push) Successful in 2m42s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
c890d5c078 |
Workers tab: show the commit each worker runs (#40)
CI / Test (jest) (push) Successful in 17s
CI / Security (npm audit) (push) Successful in 18s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m33s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 22s
CI / UI (playwright) (push) Successful in 2m14s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 2m28s
CI / Deploy (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m43s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m1s
CI / Integration (api) (push) Successful in 2m34s
CI / Test (jest) (pull_request) Successful in 22s
CI / Integration (api) (pull_request) Successful in 2m23s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 16s
CI / Security (npm audit) (pull_request) Successful in 18s
A Version row on each worker card: the short sha linked to the commit in Gitea, or 'unknown' for a worker that doesn't report one. Updated live with the rest of the card. Playwright checks all three test workers show the checkout's HEAD. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
72933df47a |
Merge pull request 'CI: Pulse's own semgrep rules, with tests' (#63) from semgrep-rules into main
CI / Test (jest) (push) Successful in 32s
CI / Security (npm audit) (push) Successful in 23s
CI / Deploy (push) Successful in 14s
CI / Deploy worker (push) Successful in 4s
CI / UI (playwright) (push) Successful in 1m30s
CI / Notify (push) Successful in 2s
CI / Lint (eslint) (push) Successful in 32s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m32s
CI / Integration (api) (push) Successful in 2m10s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
bf7e91cc57 |
CI: Pulse's own semgrep rules, with tests
CI / Test (jest) (push) Successful in 26s
CI / Security (npm audit) (push) Successful in 18s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m37s
CI / Deploy (push) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 42s
CI / UI (playwright) (push) Successful in 2m30s
CI / UI screenshots (before/after) (pull_request) Successful in 6s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m59s
CI / Deploy (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 2m13s
CI / Integration (api) (push) Successful in 2m24s
CI / Test (jest) (pull_request) Successful in 23s
CI / Integration (api) (pull_request) Successful in 1m54s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 8s
CI / Lint (eslint) (push) Successful in 18s
.semgrep/pulse.yml, run in the Scan job next to the registry packs:
- pulse-no-vm: no require('vm'), eval or new Function outside tests (the
workflow-condition bug from #62 can't come back).
- pulse-no-shell-in-server: server.js and lib/ may not use exec/execSync
or spawn with a shell; running commands is the worker's job.
- pulse-innerhtml-unescaped: member values (w.name, r.host) inserted into
innerHTML in public/assets must go through esc()/Pulse.esc(); method
names, comparisons, Set.has() and the fmt formatters are not values.
The rules' test cases (.semgrep/pulse.js) run first with semgrep --test,
so a rule that stops matching fails CI. Pulse has no findings today.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
0746c9cf73 |
Merge pull request 'CI: timeout-minutes on every job' (#61) from ci-timeouts into main
CI / Test (jest) (push) Successful in 22s
CI / Security (npm audit) (push) Successful in 22s
CI / Deploy (push) Successful in 26s
CI / Deploy worker (push) Successful in 19s
CI / UI (playwright) (push) Successful in 2m22s
CI / Notify (push) Successful in 14s
CI / Lint (eslint) (push) Successful in 24s
CI / Integration (api) (push) Successful in 2m44s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m31s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
db1f71aa4c |
CI: timeout-minutes on every job
CI / Test (jest) (push) Successful in 52s
CI / Security (npm audit) (push) Successful in 18s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m53s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 22s
CI / UI (playwright) (push) Successful in 2m29s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 11s
CI / UI (playwright) (pull_request) Successful in 1m56s
CI / Deploy (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 2m12s
CI / Integration (api) (push) Successful in 2m31s
CI / Test (jest) (pull_request) Successful in 26s
CI / Integration (api) (pull_request) Successful in 2m41s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 56s
CI / Security (npm audit) (pull_request) Successful in 14s
A Test (jest) job sat in npm ci for over 20 minutes; with no timeout a hung step holds main's queue until the runner's own limit (hours). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e6dbb2869b |
Merge pull request 'Safer workflow conditions; Pulse is admin-only' (#60) from safe-conditions into main
CI / Security (npm audit) (push) Successful in 24s
CI / Test (jest) (push) Successful in 17m6s
CI / Deploy (push) Successful in 17s
CI / Deploy worker (push) Successful in 10s
CI / Notify (push) Successful in 5s
CI / Integration (api) (push) Successful in 2m30s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m26s
CI / UI (playwright) (push) Successful in 1m41s
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 27s
|
||
|
|
040ad028c0 |
Safer workflow conditions; Pulse is admin-only
CI / Test (jest) (push) Successful in 25s
CI / Security (npm audit) (push) Successful in 21s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m46s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 24s
CI / UI (playwright) (push) Successful in 2m6s
CI / Notify (push) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 27s
CI / UI (playwright) (pull_request) Successful in 3m5s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 25s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m0s
CI / Integration (api) (push) Successful in 2m23s
CI / Test (jest) (pull_request) Successful in 32s
CI / Integration (api) (pull_request) Successful in 2m13s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 39s
- 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> |
||
|
|
f5a4333a8e |
Merge pull request 'Integration tests for the workflow engine and the scheduler' (#59) from engine-tests into main
CI / Test (jest) (push) Successful in 19s
CI / Security (npm audit) (push) Successful in 16s
CI / Deploy (push) Successful in 15s
CI / Deploy worker (push) Successful in 15s
CI / Notify (push) Successful in 11s
CI / Integration (api) (push) Successful in 2m20s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m28s
CI / UI (playwright) (push) Successful in 1m59s
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 20s
|
||
|
|
a34867af92 |
Integration tests for the workflow engine and the scheduler
CI / Test (jest) (push) Successful in 18s
CI / Security (npm audit) (push) Successful in 9s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m24s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 16s
CI / UI (playwright) (push) Successful in 1m39s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 6s
CI / UI (playwright) (pull_request) Successful in 2m21s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 17s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m2s
CI / Integration (api) (push) Successful in 2m31s
CI / Test (jest) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 1m51s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 7s
- workflows.int.js (11): all-worker execute, failure stops the workflow, parse to route, false conditions skip, prompts (invalid option refused, routes on the answer), params (required, substituted, unsafe refused), dry run, endless goto detection, abort stays failed. - scheduler.int.js (5): a due schedule runs on its worker and advances next_run; disabled schedules don't run; admin-only and input checks. - Known bugs as test.failing (each verified to fail on its assertion): abort doesn't stop the engine (#8), goto to a missing step completes (#20), an offline worker's schedule leaves no trace (#9), and an invalid cron expression returns 500 instead of 400. - PULSE_SCHEDULER_TICK_MS (default 60 s, minimum 1 s) so the test stack ticks the scheduler every second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4459ce46cc |
Merge pull request 'README: document the runner IP allowlist on the deploy hooks' (#58) from docs-hook-allowlist into main
CI / Test (jest) (push) Successful in 21s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Successful in 14s
CI / Deploy worker (push) Successful in 7s
CI / UI (playwright) (push) Successful in 1m38s
CI / Notify (push) Successful in 2s
CI / Lint (eslint) (push) Successful in 24s
CI / Integration (api) (push) Successful in 1m26s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m41s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
783d6db160 |
README: document the runner IP allowlist on the deploy hooks
CI / Test (jest) (push) Successful in 19s
CI / Security (npm audit) (push) Successful in 15s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m7s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 21s
CI / UI (playwright) (push) Successful in 1m47s
CI / Notify (push) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 9s
CI / UI (playwright) (pull_request) Successful in 1m44s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 22s
CI / Integration (api) (push) Successful in 1m30s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m39s
CI / Test (jest) (pull_request) Successful in 14s
CI / Integration (api) (pull_request) Successful in 1m59s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c35eb82631 |
Merge pull request 'Deploy worker: trigger on worker/ or the lockfile, not package.json scripts' (#57) from worker-deploy-trigger into main
CI / Test (jest) (push) Successful in 17s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Failing after 3s
CI / UI (playwright) (push) Successful in 2m13s
CI / Deploy worker (push) Skipped
CI / Notify (push) Successful in 2s
CI / Integration (api) (push) Successful in 1m21s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m53s
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 18s
|
||
|
|
9980663f83 |
CI: retry npm audit on registry errors only
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m48s
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Successful in 8s
CI / Deploy worker (pull_request) Skipped
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 21s
CI / UI screenshots (before/after) (pull_request) Successful in 6s
CI / UI (playwright) (pull_request) Successful in 2m5s
CI / Deploy (pull_request) Skipped
CI / UI (playwright) (push) Successful in 1m43s
CI / Notify (push) Skipped
CI / Test (jest) (pull_request) Successful in 17s
CI / Integration (api) (pull_request) Successful in 1m23s
CI / Lint (eslint) (push) Successful in 19s
CI / Notify (pull_request) Skipped
CI / Integration (api) (push) Successful in 1m23s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m53s
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 7s
The registry's audit endpoint returned a spurious 400 ('Invalid package
tree') on an unchanged lockfile; the same commit passed minutes later.
Real advisories still fail at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
41480bf30a |
Deploy worker: trigger on worker/ or the lockfile, not package.json scripts
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Failing after 36s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m13s
CI / Deploy worker (pull_request) Canceled after 0s
CI / Lint (eslint) (pull_request) Successful in 17s
CI / UI (playwright) (push) Successful in 1m46s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m34s
CI / UI screenshots (before/after) (pull_request) Successful in 5s
CI / Deploy (pull_request) Canceled after 0s
CI / Lint (eslint) (push) Successful in 15s
CI / Integration (api) (push) Successful in 1m48s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m46s
CI / Test (jest) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Canceled after 7m16s
CI / Notify (pull_request) Canceled after 0s
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 8s
A lint script change in package.json restarted the worker for nothing. Every dependency change also changes package-lock.json, so that is enough. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
57a6cf72ce |
Merge pull request 'CI phase 5: stricter eslint, design system integrity check, PR screenshots' (#56) from ci-phase5 into main
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Successful in 13s
CI / Deploy (push) Successful in 14s
CI / Deploy worker (push) Successful in 25s
CI / UI (playwright) (push) Successful in 1m32s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 18s
CI / Integration (api) (push) Successful in 1m25s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m43s
CI / UI screenshots (before/after) (push) Skipped
|
||
|
|
74eb525413 |
CI phase 5: stricter eslint, design system integrity check, PR screenshots
CI / Security (npm audit) (push) Successful in 42s
CI / Test (jest) (push) Successful in 45s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m1s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 14s
CI / UI (playwright) (push) Successful in 2m20s
CI / Notify (push) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 13s
CI / UI (playwright) (pull_request) Successful in 1m52s
CI / Deploy (pull_request) Skipped
CI / Integration (api) (push) Successful in 2m21s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m35s
CI / Lint (eslint) (push) Successful in 20s
CI / Test (jest) (pull_request) Successful in 24s
CI / Integration (api) (pull_request) Successful in 1m45s
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (push) Skipped
CI / Security (npm audit) (pull_request) Successful in 25s
- eslint: errors for ==, unused or shadowed variables, eval and friends, prefer-const, curly, throw literals, useless catch/escape, constant conditions (loops allowed), unused expressions (short-circuit allowed); --max-warnings 0. Fixed the few violations (two unused requires in server.js, a shadowed mock argument in a test). - Scan job: scripts/ci/check-web-template.sh fails if public/web_template differs from upstream at the commit in its VERSION (change it upstream, then scripts/sync-web-template.sh). - New job UI screenshots (before/after), PRs only, when public/, views/ or the render/nav code changed: runs the base branch and the PR side by side with the same seeded data and uploads one before/after image per page, desktop and phone (scripts/ci/screenshots.js). Not required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ad2e5313ea |
Merge pull request 'Resync the vendored design system (dash-free) and check it too' (#55) from resync-web-template into main
CI / Test (jest) (push) Successful in 25s
CI / Security (npm audit) (push) Successful in 13s
CI / Deploy (push) Successful in 13s
CI / UI (playwright) (push) Successful in 1m37s
CI / Deploy worker (push) Successful in 4s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 27s
CI / Integration (api) (push) Successful in 1m28s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m47s
|
||
|
|
16a127a6fd |
UI test: build the dash pattern from char codes so the file passes the dash check
CI / Test (jest) (push) Successful in 27s
CI / Security (npm audit) (push) Successful in 11s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m41s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 16s
CI / UI (playwright) (push) Successful in 1m57s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m42s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 28s
CI / Integration (api) (push) Successful in 1m13s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m30s
CI / Test (jest) (pull_request) Successful in 21s
CI / Integration (api) (pull_request) Successful in 1m14s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
599a62f010 |
Resync the vendored design system (dash-free upstream) and check it too
CI / Test (jest) (push) Successful in 24s
CI / Security (npm audit) (push) Successful in 7s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m19s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Failing after 18s
CI / UI (playwright) (push) Successful in 2m9s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m34s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Failing after 44s
CI / Integration (api) (push) Successful in 1m13s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m21s
CI / Test (jest) (pull_request) Successful in 18s
CI / Integration (api) (pull_request) Successful in 2m23s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 29s
public/web_template is now web_template 8286bb2, which removed every em and en dash (web_template#3, approved with screenshots). Pulse's copy was byte-identical to the previous upstream bbec859, so the only changes are upstream's: hyphens in comments, '-' for empty values in lt.fmt, and 'ALL SYSTEMS NOMINAL: PULSE' / offline banner and toast rewording. - The CI dash check no longer excludes public/web_template. - UI tests: no page renders an em or en dash; the boot screen reads 'ALL SYSTEMS NOMINAL: PULSE'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e167e2f3b8 |
Merge pull request 'Worker deploys from CI, with version reporting' (#54) from worker-deploy into main
CI / Test (jest) (push) Successful in 53s
CI / Security (npm audit) (push) Successful in 53s
CI / Deploy (push) Successful in 25s
CI / UI (playwright) (push) Successful in 2m4s
CI / Deploy worker (push) Successful in 31s
CI / Notify (push) Successful in 4s
CI / Integration (api) (push) Successful in 1m46s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m50s
CI / Lint (eslint) (push) Successful in 40s
|
||
|
|
ea939d4430 |
Worker deploys from CI, with version reporting (#40)
CI / Test (jest) (push) Successful in 18s
CI / Security (npm audit) (push) Successful in 12s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m20s
CI / Deploy worker (pull_request) Skipped
CI / Lint (eslint) (pull_request) Successful in 19s
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m37s
CI / Deploy (pull_request) Skipped
CI / Integration (api) (push) Successful in 1m14s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m29s
CI / Test (jest) (pull_request) Successful in 13s
CI / UI (playwright) (push) Successful in 1m43s
CI / Integration (api) (pull_request) Successful in 1m51s
CI / Notify (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 14s
CI / Security (npm audit) (pull_request) Successful in 7s
- The worker reports its commit (VERSION file, or git rev-parse in a checkout) in worker_connect and heartbeat metadata. The server keeps it per live socket and /healthz lists worker_versions. - deploy/pulse_worker_deploy.sh <sha> <ts>, for the webhook on a worker host: replay and age checks, commit must be on main, installs worker.js and the npm manifests from exactly that commit, writes VERSION, npm ci, restarts, waits until /healthz lists the sha, else restores the previous files. Sandbox tests cover deploy, replay, stale and malformed input, off-main commits, no-op redeploys and rollback. - New CI job Deploy worker after Deploy: only when worker/ or the npm manifests changed since the commit the workers report, so unrelated merges don't restart the worker; then waits for the worker to reconnect on the new commit. - README: Worker deploys (install, hook definition, adding a worker host). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4f6672a7ef |
Merge pull request 'CI: semgrep in the scan job' (#53) from ci-semgrep into main
CI / Test (jest) (push) Successful in 22s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Successful in 14s
CI / UI (playwright) (push) Successful in 1m42s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 22s
CI / Integration (api) (push) Successful in 1m23s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m41s
|
||
|
|
d96b2ad4cf |
CI: semgrep in the scan job
CI / Test (jest) (push) Successful in 17s
CI / Security (npm audit) (push) Successful in 9s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m27s
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 16s
CI / UI (playwright) (push) Successful in 3m4s
CI / UI (playwright) (pull_request) Successful in 1m54s
CI / Deploy (pull_request) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (push) Successful in 2m49s
CI / Test (jest) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 1m59s
CI / Notify (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 1m28s
CI / Lint (eslint) (push) Successful in 17s
CI / Security (npm audit) (pull_request) Successful in 9s
JavaScript, Node.js, Express, secrets and security-audit rule packs, with --error so findings fail the check. Dry run on main: no findings from the first four packs; security-audit flagged one false positive (the demo seed script's urlopen of a fixed loopback URL), suppressed on that line with the reason. Part of #45 phase 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1474b0aa3f |
Merge pull request 'Worker unit tests, coverage floors, and an SBOM per main build' (#52) from ci-sbom-worker-tests into main
CI / Test (jest) (push) Successful in 49s
CI / Security (npm audit) (push) Successful in 32s
CI / Deploy (push) Successful in 14s
CI / UI (playwright) (push) Successful in 1m38s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 56s
CI / Scan (secrets, workflows, shell) (push) Successful in 24s
CI / Integration (api) (push) Successful in 1m40s
|
||
|
|
67a9e1c009 |
Integration tests: wait for a worker's WebSocket, not just its heartbeat
CI / Security (npm audit) (push) Successful in 21s
CI / Test (jest) (push) Successful in 23s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 11s
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 44s
CI / UI (playwright) (push) Successful in 3m9s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m45s
CI / Deploy (pull_request) Skipped
CI / Scan (secrets, workflows, shell) (push) Successful in 14s
CI / Integration (api) (push) Successful in 1m58s
CI / Test (jest) (pull_request) Successful in 42s
CI / Integration (api) (pull_request) Successful in 1m44s
CI / Lint (eslint) (push) Successful in 13s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 30s
Under load a new worker's first heartbeat marked it online before its WebSocket had connected, so a test's first command was refused, and the cleanup in finally then threw its own error and hid the real one. startWorker now waits until the server accepts a probe command for the worker, and cleanup never throws (offline status has its own test). Reproduced 1 in 6 under UI-test load before; 0 in 10 after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
394665e88a |
CI: build the SBOM from the lockfile (the audit job has no node_modules)
CI / Test (jest) (push) Successful in 18s
CI / Security (npm audit) (push) Successful in 12s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 14s
CI / Lint (eslint) (pull_request) Successful in 31s
CI / UI (playwright) (push) Successful in 2m17s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m39s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 17s
CI / Scan (secrets, workflows, shell) (push) Successful in 12s
CI / Integration (api) (push) Failing after 1m25s
CI / Test (jest) (pull_request) Successful in 17s
CI / Integration (api) (pull_request) Successful in 1m19s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
38a6d1158d |
Worker unit tests, coverage floors, and an SBOM per main build
CI / Test (jest) (push) Successful in 18s
CI / Security (npm audit) (push) Failing after 12s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 15s
CI / Lint (eslint) (pull_request) Successful in 24s
CI / UI (playwright) (push) Successful in 3m11s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m31s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 17s
CI / Scan (secrets, workflows, shell) (push) Successful in 18s
CI / Integration (api) (push) Successful in 2m58s
CI / Test (jest) (pull_request) Successful in 15s
CI / Integration (api) (pull_request) Successful in 1m18s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Failing after 12s
- worker/worker.js exports PulseWorker and starts only when run directly (no behaviour change for the service; CT 153 needs no redeploy). - tests/worker.test.js: success, exit code and stderr, timeout kill, capacity rejection, slot release after failure, ping/pong, no sends while disconnected. - jest coverage floors (ratchet at today's levels): lib/ 90% lines and statements, 80% branches and functions; worker/ 40%. - The audit job writes a CycloneDX SBOM of production dependencies and keeps it 90 days for each main build. Part of #45 phases 3 and 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
15f8ec4c9b |
Merge pull request 'CI: scan job for secrets, workflows and shell scripts' (#51) from ci-scan into main
CI / Test (jest) (push) Successful in 21s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Successful in 14s
CI / UI (playwright) (push) Successful in 1m32s
CI / Notify (push) Successful in 9s
CI / Lint (eslint) (push) Successful in 26s
CI / Scan (secrets, workflows, shell) (push) Successful in 21s
CI / Integration (api) (push) Successful in 1m22s
|
||
|
|
1f75a4a63a |
CI: scan job for secrets (gitleaks), workflows (actionlint) and shell (shellcheck)
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Successful in 10s
CI / Deploy (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 18s
CI / Lint (eslint) (pull_request) Successful in 13s
CI / UI (playwright) (push) Successful in 1m43s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m48s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 17s
CI / Scan (secrets, workflows, shell) (push) Successful in 13s
CI / Integration (api) (push) Successful in 1m28s
CI / Test (jest) (pull_request) Successful in 19s
CI / Integration (api) (pull_request) Successful in 1m30s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 8s
All three pass on main today: gitleaks found no leaks in 88 commits, and actionlint's one warning (an unused loop variable in the deploy health check) is fixed here. Tool downloads are pinned to a version and verified by SHA-256. Deploy now also waits for the scan. Part of #45 phase 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4f32bd1363 |
Merge pull request 'Integration tests (Gandalf contract, auth, reliability); fix worker offline status' (#50) from ci-integration into main
CI / Test (jest) (push) Successful in 23s
CI / Security (npm audit) (push) Successful in 12s
CI / Deploy (push) Successful in 14s
CI / UI (playwright) (push) Successful in 1m47s
CI / Notify (push) Successful in 5s
CI / Lint (eslint) (push) Successful in 30s
CI / Integration (api) (push) Successful in 1m29s
|
||
|
|
def926d41e |
Integration tests for the Gandalf contract, auth and reliability; fix worker offline status
CI / Security (npm audit) (push) Successful in 26s
CI / Test (jest) (push) Successful in 13s
CI / Deploy (push) Skipped
CI / UI (playwright) (push) Successful in 2m31s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 2m16s
CI / Lint (eslint) (pull_request) Successful in 15s
CI / Deploy (pull_request) Skipped
CI / Integration (api) (push) Successful in 1m31s
CI / Test (jest) (pull_request) Successful in 50s
CI / Integration (api) (pull_request) Successful in 1m58s
CI / Notify (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 46s
CI / Security (npm audit) (pull_request) Successful in 15s
New CI job `Integration (api)` (#45 phase 3) runs the real server and three workers on Node 20 against MariaDB and tests them as a black box over HTTP and WebSocket (20 tests, about 12 s): - Gandalf contract: submit and poll, stdout from command_result, failures with exit code and stderr, 401 for wrong or missing key, 400 for missing fields or an unknown worker, 404 for an unknown execution - Auth: SSO identity, 401/403, heartbeat key, /healthz exposes only status; WebSocket upgrade refused without credentials, with a wrong key or a wrong group; live events reach a signed-in browser; a browser socket cannot forge a command result - Reliability: a worker killed mid-command fails the execution at once; a worker at capacity answers with a failure; an aborted execution stays failed when the late result arrives; a disconnected worker shows offline The last test found a bug from #42: the close handler deleted the worker's runtime-id entry before checking whether the socket was still live under its database id, and the two ids are normally the same key. So a disconnected worker was never marked offline and showed 'online' until the stale heartbeat sweep. Gandalf was unaffected (it checks live sockets). MariaDB setup for CI moves to scripts/ci/mariadb.sh, shared by both jobs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1d5b8cdd53 |
Merge pull request 'CI: Playwright UI tests against a real server, workers and MariaDB' (#49) from ci-ui-tests into main
CI / Test (jest) (push) Successful in 22s
CI / Security (npm audit) (push) Successful in 11s
CI / Deploy (push) Successful in 18s
CI / UI (playwright) (push) Successful in 1m24s
CI / Notify (push) Successful in 3s
CI / Lint (eslint) (push) Successful in 23s
|
||
|
|
8b93c88f0f |
CI: run MariaDB inside the UI job; take Node from job images, not setup-node
CI / Test (jest) (push) Successful in 23s
CI / Security (npm audit) (push) Successful in 14s
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 24s
CI / UI (playwright) (push) Successful in 1m38s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Successful in 1m33s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 27s
CI / Test (jest) (pull_request) Successful in 14s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 8s
The runner uses Docker's default bridge network, so the mariadb service hostname never resolved. It also shares one tool cache volume between concurrent jobs: parallel setup-node runs overwrote each other's Node (the earlier <nil> failure and today's missing npm package.json). 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 / Security (npm audit) (push) Successful in 10s
CI / Deploy (push) Skipped
CI / Lint (eslint) (pull_request) Successful in 28s
CI / UI (playwright) (push) Failing after 2m25s
CI / Notify (push) Skipped
CI / UI (playwright) (pull_request) Failing after 1m21s
CI / Deploy (pull_request) Skipped
CI / Lint (eslint) (push) Successful in 59s
CI / Test (jest) (pull_request) Successful in 17s
CI / Notify (pull_request) Skipped
CI / Security (npm audit) (pull_request) Successful in 12s
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> |