Repository navigation
Theme existing T3 Code installs without opening T3 Code - #14178
Conversation
Users with T3 Code had the app opened in the middle of omarchy update. The migration that activates the Omarchy theme for existing installs re-ran the whole installer, and the installer finishes by launching the app and announcing that T3 Code has been installed. Run only the installer's theme steps in the migration: render the palette when the current theme predates the template, publish it, and select it with the T3 CLI, honouring T3CODE_HOME the same way. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012cEGKnoy56LPPiFKucTexU
[Medium impact] The PR appears safe to merge; the custom-home issue is fixed and no new actionable issues were found. SummaryThe PR moves T3 Code theming into the package-to-AppImage migration without opening the app.
No new actionable issues were found. Tests were inspected but not run during this review.
|
|
Greptile correctly caught that the missing-palette case mocked both helpers it was meant to prove. Commit 79fcff5 now gives the fake home a current Tokyo Night theme and runs the real refresh, template renderer, and T3 publisher. Removing the mocks first failed at |
|
Looked at this at 79fcff5: I read the diff against The review stopped at classification. Two models classify each item separately before it goes further, and the second opinion (Codex Medium) did not answer because its daily review budget was used up. So this one has no Next: it goes back to the maintainer's queue, to be classified again when a second opinion can run. Then it gets the usual check, reproduced on a worker against |
Migration 1789091250 ran the full installer for t3code-bin users, which now asks for a channel and opens T3 Code partway through the update. 1792345511 already replaces either package with its own channel, so it now runs the installer with that channel and --no-launch, which also selects the Omarchy theme for both channels. 1789091250 never shipped in a tag, so it goes.
The app installer dropped the package before the theme was selected, so a failed or interrupted selection left the migration pending with no package for it to find, and the retry never themed T3 Code. The package now goes last, so the migration keeps finding it and retries the whole install.
Anyone with T3 Code installed gets the app opened partway through
omarchy update, or when runningomarchy-migratefrom the login notification. The transcript also says T3 Code was installed even though nothing changed. No other migration launches an app.Migration 1789091250 only needs to apply the Omarchy theme, but it calls the full
omarchy-install-ai-t3-codeinstaller. That installer ends by launching T3 Code and printing its install message.I changed the migration to run only the theme steps: render the palette if the current theme predates the T3 template, publish it with
omarchy-theme-set-t3code, then select it witht3 theme set omarchy. It honorsT3CODE_HOMEthe same way as the installer. Because the migration has not shipped in a tagged release, fixing it in place avoids giving late updaters the broken behavior first.The focused regression failed on current
quattroatthe migration does not open T3 Code, withsetsid uwsm-app -- gtk-launch t3codein the call log. It now passes installed, missing-palette, custom-home, and absent-package cases. After review found that the missing-palette case mocked the helpers it meant to prove, I replaced those mocks with the real refresh, renderer, and publisher. Removing the mocks first failed atthe palette is published to T3 Code; the corrected fixture passes and verifies the rendered file has resolved colors.The focused migration, installer, and removal tests pass, along with Bash syntax checks and
git diff --check. I did not verify the migration against a live T3 Code window.