Skip to content

coexistence hardening for a shared VPS — oom_score_adj, deploy docs, backup prune hardening - #33

Merged
erick-ti merged 4 commits into
mainfrom
feat-coexistence-hardening
Jun 15, 2026
Merged

coexistence hardening for a shared VPS — oom_score_adj, deploy docs, backup prune hardening#33
erick-ti merged 4 commits into
mainfrom
feat-coexistence-hardening

Conversation

@erick-ti

@erick-ti erick-ti commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Prep for a second app coexisting on the same Hetzner box. Biases the OOM killer away from doppel's CLAP-holding app/worker (oom_score_adj: -500) so a co-tenant's unbounded build spike can't knock them out, and documents the multi-tenant boundary in DEPLOY.md — the co-tenant's public Caddy edge never proxies doppel's loopback API, and the two run as separate Linux users with separate crontabs and R2 remotes. Also hardens the backup retention prune across two review rounds: it fails closed on a real rm error, an unreadable backup dir, or a stuck local prune rather than masking failures behind a green healthcheck, and prunes from an explicitly-sorted nullglob array so deletion order never depends on the shell's glob sort.

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doppel Ready Ready Preview, Comment Jun 15, 2026 5:32am

@erick-ti
erick-ti merged commit bf6371e into main Jun 15, 2026
12 checks passed
@erick-ti
erick-ti deleted the feat-coexistence-hardening branch June 15, 2026 05:36
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