feat(updates): Move auto-update feed to S3#3490
Merged
Merged
Conversation
|
😎 This pull request was merged. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
|
Reviews (1): Last reviewed commit: "move auto-update feed to s3" | Re-trigger Greptile |
tatoalo
approved these changes
Jul 16, 2026
charlesvien
force-pushed
the
feat/s3-update-feed
branch
from
July 22, 2026 06:01
1a70f04 to
9e14d7b
Compare
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.
Problem
The auto-update feed is GitHub Releases on PostHog/code, baked into every install. That blocks the monorepo migration: electron-updater's GitHub provider resolves updates through the repo-global
/releases/latestpointer, which a monorepo with multiple release trains breaks, and it keeps this repo as a permanent release host. Release notes in the app also come from the GitHub API, which is unauthenticated and rate-limited per IP.Changes
posthog-desktop-app-releases-prod-us/stable, added in PostHog/posthog-cloud-infra#9385) via its CloudFront distribution atdesktop-releases.posthog.com(PostHog/posthog-cloud-infra#9396 made the bucket private behind the CDN; #9535 added the product domain so shipped builds are not coupled to the raw cloudfront.net hostname).latest.yml/latest-mac.yml(the generic provider fetches nothing from GitHub, soUpdateInfo.releaseNotesmust come from the manifest) and publishes areleases.jsonbuilt from the GitHub releases list.GitHubReleasesServiceis renamed toReleaseFeedServiceand readsreleases.jsonfrom the feed instead of the GitHub API; the tRPC route is nowreleaseFeed.list. Same caching and cooldown behavior, same output shape, so the update modal and What's New UI are unchanged.Needs the
AWS_DESKTOP_APP_RELEASES_ROLE_ARNsecret (thegithub-desktop-app-releases-roleARN) before the next release; the role only trustsv*tag workflows.How did you test this?
release-feedunit tests (12) pass; typecheck clean on workspace-server, host-router, ui and code; biome clean.build-releases-feed.mjsagainst the real GitHub API and validated the output against the service's zod schema.inject-release-notes.mjsagainst a sample channel file and verified thereleaseNotesblock.Automatic notifications