Deploy worker: trigger on worker/ or the lockfile, not package.json scripts #57

Merged
jared merged 2 commits from worker-deploy-trigger into main 2026-11-22 20:34:27 -05:00
Owner

When #56 merged, it restarted the worker for nothing: the only relevant change was the lint script in package.json. Every dependency change also changes package-lock.json, so worker/ plus the lockfile is enough to decide when to deploy. The deploy itself still installs package.json, which npm ci needs.

🤖 Generated with Claude Code

When #56 merged, it restarted the worker for nothing: the only relevant change was the `lint` script in `package.json`. Every dependency change also changes `package-lock.json`, so `worker/` plus the lockfile is enough to decide when to deploy. The deploy itself still installs `package.json`, which `npm ci` needs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-22 20:17:22 -05:00
Deploy worker: trigger on worker/ or the lockfile, not package.json scripts
CI / UI screenshots (before/after) (push) Skipped
CI / Lint (eslint) (push) Successful in 15s
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Failing after 36s
CI / Integration (api) (push) Successful in 1m48s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m46s
CI / Lint (eslint) (pull_request) Successful in 17s
CI / Test (jest) (pull_request) Successful in 15s
CI / Security (npm audit) (pull_request) Successful in 8s
CI / UI (playwright) (push) Successful in 1m46s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m13s
CI / UI (playwright) (pull_request) Successful in 1m34s
CI / UI screenshots (before/after) (pull_request) Successful in 5s
CI / Integration (api) (pull_request) Canceled after 7m16s
CI / Deploy (pull_request) Canceled after 0s
CI / Deploy worker (pull_request) Canceled after 0s
CI / Notify (pull_request) Canceled after 0s
41480bf30a
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>
jared added 1 commit 2026-11-22 20:27:51 -05:00
CI: retry npm audit on registry errors only
CI / UI screenshots (before/after) (push) Skipped
CI / Test (jest) (pull_request) Successful in 17s
CI / Lint (eslint) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 7s
CI / Integration (api) (pull_request) Successful in 1m23s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m48s
CI / UI screenshots (before/after) (pull_request) Successful in 6s
CI / Lint (eslint) (push) Successful in 19s
CI / Test (jest) (push) Successful in 16s
CI / Security (npm audit) (push) Successful in 8s
CI / UI (playwright) (pull_request) Successful in 2m5s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / Integration (api) (push) Successful in 1m23s
CI / Scan (secrets, workflows, shell) (push) Successful in 1m53s
CI / UI (playwright) (push) Successful in 1m43s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
9980663f83
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>
jared merged commit c35eb82631 into main 2026-11-22 20:34:27 -05:00
jared deleted branch worker-deploy-trigger 2026-11-22 20:34:28 -05:00
Sign in to join this conversation.