release: move updater + codegraph downloads to dl.reasonix.io#3926
Merged
Conversation
The desktop updater, the manifest URLs cmd/sign rewrites at release time, and the codegraph mirror all pointed at the rate-limited pub-*.r2.dev dev subdomain. dl.reasonix.io is the same R2 bucket behind its custom domain (Cloudflare-cached, mainland-reachable), verified to serve the stable + canary pointers and the codegraph bundles with byte-for-byte parity before switching. Already-installed clients keep polling the pub-*.r2.dev endpoint baked into their binary; that URL stays live (same bucket, public dev access stays enabled), and the artifact URLs inside newly published manifests work for old and new clients alike.
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.
Completes the dl.reasonix.io migration started on the website (#3923): the desktop updater, the manifest URLs rewritten at release time, and the codegraph mirror now all use the R2 bucket's custom domain instead of the rate-limited
pub-*.r2.devdev subdomain.Changes
desktop/updater.go—r2Base→https://dl.reasonix.io. New builds poll the custom domain for both thelatest/andcanary/pointers; the GitHub releases fallback is unchanged..github/workflows/release-desktop.yml—R2_PUBLIC_BASE→https://dl.reasonix.io, so the artifact/sig URLsjqwrites into publishedlatest.jsonmanifests point at the custom domain.internal/codegraph/install.go—officialMirrorBase→https://dl.reasonix.io/codegraph; the GitHub source fallback is unchanged.Compatibility
Already-installed clients have the
pub-*.r2.devmanifest endpoint baked into their binary. That URL keeps working — it is the same bucket, and public dev access stays enabled — and the artifact URLs inside newly published manifests resolve for old and new clients alike. Nothing needs to be dual-published.Verified before switching
dl.reasonix.ioserveslatest/latest.json,canary/latest.json, and all three desktop artifacts with 200; range requests return 206.darwin|linux|win32×x64|arm64) plusSHA256SUMSreturn 200 on the custom domain, matching the dev-subdomain behavior exactly.go build ./...+ codegraph and updater tests pass in both modules; the one failing desktop test (TestUpdateMCPServerSplitsPastedCommandLine) fails identically on cleanmain-v2on this machine and is unrelated.