[Bug]: Desktop installer download from t3.codes can be very slow (GitHub release CDN, ~370 KB/s on a 1 Gbps line)
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
Build, CI, or release tooling (desktop installer downloads from t3.codes/download)
Steps to reproduce
- Open https://t3.codes/download on Windows.
- Click the Windows x64 download.
- Watch the download speed in the browser.
Expected behavior
The 200 MB installer downloads near the speed of the connection. On a 1 Gbps line, that is a few seconds.
Actual behavior
Chrome downloaded T3-Code-0.0.45-x64.exe at 373 KB/s (39.2 MB of 200 MB, "7 mins left").
The marketing site does not serve the file. apps/marketing/src/pages/download.astro sets the link to the GitHub release browser_download_url. GitHub redirects that URL to release-assets.githubusercontent.com (Azure Blob behind Fastly). The slow speed comes from that path, not from t3.codes.
A test from the same network a short time later was fast: 209,362,176 bytes in 2.7 s (about 77 MB/s). The response showed X-Served-By: cache-iad-..., cache-mrs-.... Thus the speed of the first download for each user depends on the state of GitHub's CDN edge. When the edge is cold or busy, the 200 MB installer can take many minutes. Each release, and each nightly, gives a new asset that must fill the cache again.
Impact
Minor bug or occasional failure
Version or commit
v0.0.45 (stable release asset)
Environment
Windows 11 Pro, Chrome, 1 Gbps symmetric connection
Logs or stack traces
$ curl -sIL https://github.com/pingdotgg/t3code/releases/download/v0.0.45/T3-Code-0.0.45-x64.exe
HTTP/1.1 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/...
HTTP/1.1 200 OK
Content-Length: 209362176
Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
Via: 1.1 varnish, 1.1 varnish
X-Served-By: cache-iad-kcgs7200140-IAD, cache-mrs1530033-MRS
# retest, same network, some minutes after the slow browser download
speed=76679161 B/s size=209362176 time=2.73s
Workaround
Cancel the download and start it again. The second try can come from a warm cache and finish in seconds.
Possible direction
This is a question for maintainers, not a request for a specific fix. A mirror of the release assets on a CDN that the project controls (for example R2 or Vercel Blob, pre-warmed at publish time) would remove the dependency on the GitHub release CDN for the first download. I can open an Ideas discussion if that is the better place for it.
[!NOTE] Grok responding on behalf of Julius.
Closing as upstream. The download link points straight at the GitHub release asset, and the slowdown you measured was on GitHub's release CDN (release-assets.githubusercontent.com, behind Fastly), not on t3.codes. Your own retest from the same network got about 77 MB/s, which fits a cold or busy edge cache, and T3 can't fix that.
The workaround is the one you found: cancel and restart the download.
Mirroring release assets on a CDN the project controls is a hosting and release-process decision, not a bug fix. If you want to propose it, please open an Ideas discussion. If downloads stay consistently slow across retries and different networks, comment here and we'll reopen.
Additional report from macOS 27.0 arm64, updating T3 Code (Beta) 0.1.4 → 0.1.9.
The built-in updater found 0.1.9 but failed during the download. Relevant desktop trace events:
desktop.updates.handleUpdaterError
operation: download
cause: Error: net::ERR_CONNECTION_RESET
desktop.updates.handleDownloadFailure
channel: latest
cause: Error: net::ERR_CONNECTION_RESET
desktop.updates.downloadAvailableUpdate
durationMs: 382454.599166
A manual download of the official T3-Code-0.1.9-arm64.zip asset (187,924,587 bytes) was also slow. During an initial ~36-second single-connection attempt, the reported average rose to roughly 78 KB/s, with recent transfer rates around 100–130 KB/s. A bounded 1 MiB request through the existing local HTTP proxy averaged about 54 KB/s. A later segmented download completed and allowed the app update.
The machine had both a system HTTP proxy and a TUN interface enabled. A command without an explicit proxy cannot be treated as a proven direct connection in that setup. I have not isolated the cause to GitHub's CDN, the proxy/node, or the intervening network, and these measurements do not establish a general throughput limit in T3.
Even with an external network cause, the update experience would benefit from clear transferred bytes/current speed, visible retry/resume behavior, and an official manual-download fallback after a connection reset. This is fresh evidence for the closed report; please reopen or redirect if appropriate.
The separate long-running provider-update RPC is reported under #8280.