Repository navigation
CI dependency audit + SQLite backup cron - #50
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two operational safeguards.
npm audit --omit=dev --audit-level=highfor 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.deploy/backup-beacon.shtakes an online.backupsnapshot (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