Skip to content

chore: Snapshots on R2#1014

Merged
scarmuega merged 1 commit into
mainfrom
chore/snapshots-on-r2
Jun 18, 2026
Merged

chore: Snapshots on R2#1014
scarmuega merged 1 commit into
mainfrom
chore/snapshots-on-r2

Conversation

@gonzalezzfelipe

@gonzalezzfelipe gonzalezzfelipe commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated the default snapshot download endpoint configuration. The fallback download host has been changed to a new endpoint when no custom download URL is specified, while maintaining the same path structure for snapshot retrieval.

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9356d696-bad9-4422-b3d7-0fdd6199a728

📥 Commits

Reviewing files that changed from the base of the PR and between ceae462 and 3a6d38d.

📒 Files selected for processing (1)
  • src/bin/dolos/bootstrap/snapshot.rs

📝 Walkthrough

Walkthrough

This PR updates the default fallback host for snapshot downloads from Amazon S3 to dolos-snapshots.txpipe.cloud. The path template structure with version, network, variant, and point variables remains unchanged. The change applies only when the configuration does not explicitly specify a download URL.

Changes

Snapshot Download Host Configuration

Layer / File(s) Summary
Default snapshot URL template update
src/bin/dolos/bootstrap/snapshot.rs
The DEFAULT_URL_TEMPLATE constant changes its host from dolos-snapshots.s3-accelerate.amazonaws.com to dolos-snapshots.txpipe.cloud, preserving the ${VERSION}/${NETWORK}/${VARIANT}/${POINT}.tar.gz path structure used as a fallback when no custom download URL is configured.

🐰 A snapshot lives in the cloud so bright,
From S3's embrace to txpipe's light,
The path stays true, the variables gleam,
Dolos downloads with new-host dream!

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: Snapshots on R2' accurately reflects the main change: updating the snapshot download URL from Amazon S3 to Cloudflare R2 (txpipe.cloud).
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/snapshots-on-r2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@scarmuega scarmuega merged commit 9502e29 into main Jun 18, 2026
12 checks passed
@scarmuega scarmuega deleted the chore/snapshots-on-r2 branch June 18, 2026 11:52
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