Merged
Conversation
265e2a9 to
b613e0e
Compare
b613e0e to
d9d1d35
Compare
Continuously replicate the SQLite database to R2 via Litestream for production resilience and fast local dev setup. In production, Litestream wraps `wpcomposer serve` as a sidecar, streaming WAL changes to R2. - Add `db restore` CLI command to pull production snapshots locally - Add Ansible tasks to install Litestream and deploy its config - Wrap systemd ExecStart with `litestream replicate -exec` - Add `make db-restore` target - Add LitestreamConfig to app config (LITESTREAM_BUCKET, LITESTREAM_PATH) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d9d1d35 to
6ed97de
Compare
retlehs
approved these changes
Mar 19, 2026
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.
Continuously replicate the SQLite database to R2 via Litestream for production resilience and fast local dev setup. In production, Litestream wraps
wpcomposer serveas a sidecar, streaming WAL changes to R2.db restoreCLI command to pull production snapshots locallylitestream replicate -execmake db-restoretargetBefore mergin
Cost Estimate
Total estimate: ~$1/month or less