Skip to content

Upgrade litestream 0.5.0 → 0.5.9 and simplify entrypoint restore#3653

Merged
peterschmidt85 merged 1 commit intomasterfrom
fix/upgrade-litestream-0.5.9
Mar 12, 2026
Merged

Upgrade litestream 0.5.0 → 0.5.9 and simplify entrypoint restore#3653
peterschmidt85 merged 1 commit intomasterfrom
fix/upgrade-litestream-0.5.9

Conversation

@peterschmidt85
Copy link
Contributor

Summary

  • Upgrades litestream from 0.5.0 to 0.5.9 in release and staging Dockerfiles
  • Simplifies entrypoint.sh restore logic: uses restore -if-replica-exists instead of parsing error messages (consistent with enterprise entrypoint)
  • Fixes CVE-2023-44487 (HTTP/2 Rapid Reset) in litestream's bundled Go dependencies

Test plan

  • Built and tested locally (linux/amd64)
  • Fresh start with empty S3 bucket — server starts correctly
  • Stop and restart — DB restored from S3, admin token persisted
  • CI build passes

🤖 Generated with Claude Code

Litestream 0.5.9 reduces Go dependency CVEs from 24 to 7. The entrypoint
now uses `restore -if-replica-exists` instead of parsing error messages,
consistent with the enterprise entrypoint and resilient to future
litestream error message changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@peterschmidt85 peterschmidt85 requested a review from r4victor March 12, 2026 09:26
@peterschmidt85 peterschmidt85 merged commit 130b22b into master Mar 12, 2026
28 checks passed
@peterschmidt85 peterschmidt85 deleted the fix/upgrade-litestream-0.5.9 branch March 12, 2026 09:55
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.

2 participants