Skip to content

CI dependency audit + SQLite backup cron - #50

Merged
Androtim merged 1 commit into
mainfrom
chore/ops-hardening
Jul 3, 2026
Merged

Androtim merged 1 commit into
mainfrom
chore/ops-hardening

Conversation

@Androtim

@Androtim Androtim commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Two operational safeguards.

  • CI audit: adds npm audit --omit=dev --audit-level=high for both workspaces to the CI job, so a newly-disclosed advisory in a production dependency fails the build instead of waiting to be caught by a manual audit. Both workspaces are currently clean, so this passes today. Also bumps CI Node from 20 to 22 — Vite 8 needs 20.19+, and the old pin would have started failing the build step.
  • Backup cron: deploy/backup-beacon.sh takes an online .backup snapshot (safe while the server writes), keeps 14 days, prunes the rest. DEPLOY.md's Backups section now installs it on a nightly cron. The guide previously described a one-liner but nothing was scheduled on the VM.

🤖 Generated with Claude Code

CI now runs npm audit (--omit=dev, high+) on both workspaces so a
new advisory fails the build instead of waiting for a manual audit,
and bumps CI to Node 22 (Vite 8 needs 20.19+). Adds
deploy/backup-beacon.sh: an online SQLite snapshot with 14-day
retention, wired via cron in DEPLOY.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Androtim
Androtim merged commit a315ede into main Jul 3, 2026
1 check passed
@Androtim
Androtim deleted the chore/ops-hardening branch July 3, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant