Skip to content

fix(updates): Keep bundle identity as PostHog Code#3679

Closed
charlesvien wants to merge 1 commit into
mainfrom
fix/keep-bundle-identity
Closed

fix(updates): Keep bundle identity as PostHog Code#3679
charlesvien wants to merge 1 commit into
mainfrom
fix/keep-bundle-identity

Conversation

@charlesvien

Copy link
Copy Markdown
Member

Problem

v0.58.0 shipped the #3557 rename with productName/executableName changed to "PostHog". Squirrel.Mac names the installed bundle after the update payload and relaunches the pre-update bundle path, so every install that auto-updates gets moved to /Applications/PostHog.app, fails to relaunch, and leaves the old Dock pin pointing at a dead path.

Changes

Minimal revert of the two identity fields to "PostHog Code", frozen with a comment the same way appId is, plus the handful of harness/docs paths that reference the built bundle. Display strings from #3557 are untouched. The next release's payload is named PostHog Code.app again, so v0.57.x installs update cleanly; the v0.58.0 cohort gets renamed back on their next update (one manual relaunch, same as they already hit).

Follow-ups deliberately NOT in this PR: v0.58.0 should be pulled from the update feeds so v0.57.x stragglers stop updating into the broken state, and a proper display-only rename (CFBundleDisplayName) plus Dock-pin repair can come separately.

How did you test this?

  • tsc --noEmit and Biome clean on the touched files.
  • Not yet exercised: a packaged build + the update e2e against this branch; update e2e baseline run against renamed main is in flight (run 29901251314) to confirm the failure mode this reverts.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

@trunk-io

trunk-io Bot commented Jul 22, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 0e548a0.

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.

1 participant