GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: macOS update to 0.1.0 renames T3 Code (Alpha).app and then fails to relaunch · Issue #20103 · pingdotgg/t3code

[Bug]: macOS update to 0.1.0 renames T3 Code (Alpha).app and then fails to relaunch #20103

New issue
Copy link
New issue
Copy link
Open
#23028
Open
[Bug]: macOS update to 0.1.0 renames T3 Code (Alpha).app and then fails to relaunch#20103
#23028
Copy link
Labels
acceptedfeature request acceptedbugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

Description

@OmarAlaaeldein
OmarAlaaeldein
opened on Oct 16, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Install a macOS desktop build whose on-disk name is T3 Code (Alpha).app. Homebrew cask t3-code 0.0.45 does this, as does any stable or nightly build from before chore: change product branding from Alpha to Beta #20032. Pin it in the Dock.
  2. Accept the in-app update to 0.1.0. That release includes chore: change product branding from Alpha to Beta #20032, which changes electron-builder productName from T3 Code (Alpha) to T3 Code (Beta).
  3. Let the updater quit the app and install.

Expected behavior

The updated app relaunches, and the existing Dock icon opens it.

Actual behavior

Squirrel renames /Applications/T3 Code (Alpha).app to /Applications/T3 Code (Beta).app, then tries to relaunch ShipIt from the Alpha path it just removed. posix_spawn fails with No such file or directory. The same log line says Installation completed successfully, so the app never comes back and there is no error UI.

The installed bundle is fine. codesign --verify --deep --strict passes, spctl accepts it as a notarized Developer ID app, and launching /Applications/T3 Code (Beta).app directly works and reports no newer update. The Dock item still points at file:///Applications/T3%20Code%20(Alpha).app/, so clicking it fails with "The file does not exist." The Homebrew cask symlink is the same stale Alpha path.

#20032 treats Beta as a product label, but electron-builder uses productName as the .app directory name. After the install, ShipItState.plist still has targetBundleURL set to the Alpha app and useUpdateBundleName set to true. ShipIt then does:

Launching new ShipIt at /Applications/T3 Code (Alpha).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt

docs/operations/release.md says removing the Beta label later is another branding change. Changing productName again will break this same relaunch.

This is not #4224. That report is a launchd spawn failure (RBSRequestErrorDomain Code 5 / POSIX 163) on an app that is still at its original path. Here the bundle was renamed out from under ShipIt, and a direct launch of the new path succeeds.

Impact

Blocks work completely

Version or commit

In-app update from 0.0.45 Alpha to 0.1.0 (81493ef), which includes #20032.

Environment

macOS 27.0.1 (26A434), Apple Silicon. Desktop app installed with Homebrew cask t3-code 0.0.45, then updated by the bundled Squirrel / electron-updater.

Logs or stack traces

~/Library/Caches/com.t3tools.t3code.ShipIt/ShipIt_stderr.log, 2026-10-15 21:17:

Beginning installation
Moving bundle from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Beta).app
Moving bundles directly as SquirrelMacEnableDirectContentsWrite is disabled for app: com.t3tools.t3code.ShipIt
Moved bundle contents from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Beta).app
...
On main thread and launching: file:///Applications/T3%20Code%20(Beta).app
Bundle URL is valid
Attempting to launch app on 11.0 or higher
Launching new ShipIt at /Applications/T3 Code (Alpha).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/T3%20Code%20(Beta).app
posix_spawn: No such file or directory
New ShipIt exited
Installation completed successfully
ShipIt quitting

Workaround

Open /Applications/T3 Code (Beta).app directly and point the Dock icon at that bundle. Leave the Homebrew cask alone while its artifact is still T3 Code (Alpha).app. Reinstalling it would put 0.0.45 back.

Reacted by Benjamin Friedrichson and Endrik Einberg

Activity

  1. juliusmarminge commented on Oct 16, 2026

    @juliusmarminge
    juliusmarminge
    on Oct 16, 2026
    Member
    More actions

    Note

    Grok responding on behalf of Julius.

    Thanks for the detailed report and the ShipIt log. I'm accepting this as a bug.

    What I checked on main:

    • chore: change product branding from Alpha to Beta #20032 (merged Oct 15) changed productName in apps/desktop/package.json from T3 Code (Alpha) to T3 Code (Beta). electron-builder uses productName as the .app folder name, so 0.1.0 ships as T3 Code (Beta).app.
    • The desktop updater calls electron-updater's quitAndInstall (apps/desktop/src/electron/ElectronUpdater.ts) and doesn't hardcode any app path, so the rename and relaunch both happen inside Squirrel.Mac/ShipIt. Your log shows ShipIt starting its relaunch helper from the old Alpha path it had just moved away, which matches.
    • docs/operations/release.md says removing the Beta label later is a separate branding change, so the same problem would come back if productName changes again.

    I didn't find an open fix PR or an existing issue for this. It isn't #4224.

    Workaround until it's fixed:

    • Open /Applications/T3 Code (Beta).app directly. It's already updated.
    • Remove the old Dock icon and pin the Beta app again.
    • Homebrew users: don't reinstall the cask until it's updated for the new app name, because for now that would put 0.0.45 back.
  2. juliusmarminge
    added
    acceptedfeature request accepted
    bugSomething is broken or behaving incorrectly.
    via-triageFiled through npx t3 triage
    on Oct 16, 2026
  3. pauli2406 commented on Oct 17, 2026

    @pauli2406
    pauli2406
    on Oct 17, 2026
    More actions

    Same failure when switching update channel from Alpha to Nightly (not only the 0.1.0 Beta rename)

    Found with t3 triage. Same root cause as this issue, but a different trigger: switching the desktop app's update channel from Alpha to Nightly also changes the bundle name. So ShipIt renames the .app folder and then tries to relaunch from the old path.

    Steps to reproduce

    1. Run T3 Code (Alpha).app on macOS.
    2. Switch the update channel to Nightly and let it download the update.
    3. Click restart to install.
    4. The app quits and never comes back.

    Environment

    • macOS 26.5.2, Apple Silicon (arm64)
    • Updated from: Alpha build (exact version unknown)
    • Updated to: 0.1.1-nightly.20261017.3238

    ShipIt log (~/Library/Caches/com.t3tools.t3code.ShipIt/ShipIt_stderr.log; temp-folder paths shortened)

    15:53:40 Moving bundle from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Nightly).app
    15:53:40 Moved bundle contents from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Nightly).app
    15:53:40 Moving bundle from …/T/com.t3tools.t3code.ShipIt.ExIOfBCk/T3%20Code%20(Nightly).app to file:///Applications/T3%20Code%20(Nightly).app
    15:53:41 Launching new ShipIt at /Applications/T3 Code (Alpha).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/T3%20Code%20(Nightly).app
    15:53:41 posix_spawn: No such file or directory
    15:53:41 Installation completed successfully
    

    Before that, the desktop trace shows desktop.updates.installDownloadedUpdate succeeding, and nothing is logged after it. The installed Nightly bundle is valid (spctl: accepted, notarized). Opening /Applications/T3 Code (Nightly).app by hand works, and the backend starts normally.

    Why it matters: every switch between Alpha, Beta and Nightly changes productName and therefore the bundle name. So this will keep happening on channel switches, not just at the one-time Beta rename. Any fix should cover any bundle name change, for example by relaunching from the new bundle path or keeping the bundle name the same across channels.

    Workaround: open the new .app from /Applications yourself, and re-pin it in the Dock.


    Produced by Claude Code (Opus 5.5, claude-opus-5-5) via the T3 Code triage playbook.

    Reacted by Omar Alaaeldein
  4. francofadini commented on Oct 18, 2026

    @francofadini
    francofadini
    on Oct 18, 2026
    More actions

    Same failure here, triggered remotely, which makes it worse: the machine stays unreachable.

    Setup: T3 Code (Alpha) 0.0.45 desktop app on macOS (Apple Silicon), reachable only via T3 Connect, nobody at the machine, screen locked.

    Trigger: from a remote 0.1.0 client, Settings → Connections → Update on the outdated (protocol v1) server.

    Result: ShipIt installs T3 Code (Beta).app, then tries to spawn the relaunch helper from the old Alpha path and fails. The app never relaunches, so the server stays offline until someone opens the app by hand, which isn't possible remotely. I only recovered because I had another way to launch the app.

    ~/Library/Caches/com.t3tools.t3code.ShipIt/ShipIt_stderr.log:

    Moving bundle from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Beta).app
    ...
    On main thread and launching: file:///Applications/T3%20Code%20(Beta).app
    Launching new ShipIt at /Applications/T3 Code (Alpha).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/T3%20Code%20(Beta).app
    posix_spawn: No such file or directory
    New ShipIt exited
    Installation completed successfully
    

    Impact for remote-only users: the update a 0.1.0 client requires to restore compatibility (protocol v1 → v2) is exactly the one that leaves the host offline. Remote users have no fallback here.

    Workaround: none that works remotely. You need some other way to run open "/Applications/T3 Code (Beta).app" on the host (SSH, screen sharing, etc.).

    Reacted by Omar Alaaeldein
  5. Dodothereal commented on Oct 26, 2026

    @Dodothereal
    Dodothereal
    on Oct 26, 2026 – with ChatGPT Codex Connector
    Contributor
    More actions

    Hit this today updating an older Alpha install to 0.1.2 on macOS 27.2 (arm64). The app appeared to disappear after clicking the in-app update button. No T3 Code process was left running when I checked.

    The installed Beta bundle was present and passed codesign --verify --deep --strict. ShipIt logged:

    10:24:17 Moving bundle from file:///Applications/T3%20Code%20(Alpha).app/ to file:///Applications/T3%20Code%20(Beta).app
    10:24:17 On main thread and launching: file:///Applications/T3%20Code%20(Beta).app
    10:24:17 Launching new ShipIt at /Applications/T3 Code (Alpha).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/T3%20Code%20(Beta).app
    10:24:17 posix_spawn: No such file or directory
    10:24:17 Installation completed successfully
    

    Running open "/Applications/T3 Code (Beta).app" brought the app back to its Threads view. No reinstall or data reset was needed. The old version appears to have been 0.0.35 based on the cached LaunchServices record for its helper; the removed Alpha main bundle could not be inspected.

    I opened #25424 to put these recovery steps in the user updating guide. That complements #23028 and leaves the automatic-relaunch fix tracked here.

    Investigated with GPT-6 in Codex.

  6. DiegoVepa commented on Nov 20, 2026

    @DiegoVepa
    DiegoVepa
    on Nov 20, 2026
    More actions

    Still reproduces on Beta → Nightly (0.1.9 → 0.1.11-nightly.20261119.4954)

    Same root cause as this issue, hit today on a current Beta build, so it is not limited to old Alpha installs. Any update that changes the bundle name triggers it.

    Steps

    1. Run T3 Code (Beta).app 0.1.9 on macOS.
    2. Settings → switch the update channel to Nightly, let it download.
    3. Click restart to install.
    4. The app quits and never comes back. No error is shown.

    Environment

    • macOS 26.5.1, Apple Silicon (arm64)
    • From: 0.1.9 (Beta). To: 0.1.11-nightly.20261119.4954

    ShipIt_stderr.log

    17:36:04.099 Beginning installation
    17:36:05.062 Moving bundle from file:///Applications/T3%20Code%20(Beta).app/ to file:///Applications/T3%20Code%20(Nightly).app
    17:36:05.124 On main thread and launching: file:///Applications/T3%20Code%20(Nightly).app
    17:36:05.124 Launching new ShipIt at /Applications/T3 Code (Beta).app/Contents/Frameworks/Squirrel.framework/Resources/ShipIt with instructions to launch file:///Applications/T3%20Code%20(Nightly).app
    17:36:05.124 posix_spawn: No such file or directory
    17:36:05.124 New ShipIt exited
    17:36:05.124 Installation completed successfully
    

    ShipItState.plist after the install still has targetBundleURL = file:///Applications/T3%20Code%20(Beta).app/ with useUpdateBundleName = true and launchAfterInstallation = true.

    State afterwards

    • /Applications/T3 Code (Nightly).app is intact: codesign --verify --deep --strict passes and spctl accepts it as notarized. Opening it by hand works.
    • The Dock item still points at file:///Applications/T3%20Code%20(Beta).app/, so it is dead until edited by hand.
    • ~/.t3/bin/t3 still points at the Beta path until the app is opened once.
    • ~/.t3/runtime/desktop-update-restart and desktop-update-install.json are left behind.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedfeature request acceptedbugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.