fix(desktop): automatically use newer qualified runtimes - #5582
Open
loopx-agent wants to merge 1 commit into
Open
loopx-agent wants to merge 1 commit into
loopx-agent wants to merge 1 commit into
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
4 tasks
This branch has not been deployed
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.
Opening Desktop with a different CLI revision or an unreadable saved runtime choice could leave the first window waiting for a manual version decision. Startup now discovers qualified runtimes automatically, compares semantic versions and bounded official-repository ancestry, and uses the newer runtime when freshness can be established. Unknown or offline comparisons retain a usable installation rather than guessing from SHA order or installation time.
The packaged macOS App checks its official update channel once on launch through the signed updater. A newer bundled runtime is prepared through the existing installer in App-owned storage; uv/pip/pipx's default command and the user's shell profile retain their installation owner. Explicit
LOOPX_BINpins remain developer-owned. Both HTTP services must read back the selected artifact identity before the workspace opens. Corrupt preferences recover through discovery; terminal failures stop the wait counter and expose recovery immediately.This is a bounded S4/S5/S12 startup and recovery slice under the overall roadmap; multi-Turn supervision and the full Desktop journey remain unqualified. Ownership remains in the native startup/update adapter, existing installer and Core installation identity. The new launch preference stores only an executable path. Core's canonical installation-only wheel identity from #5543 is reused when available; older CLIs use the App-owned fallback. The related refactor removes the manual pairing decision and duplicate runtime-step logic rather than introducing another package identity owner. This changes the default macOS launch behavior from manual pairing to automatic update/selection; README and browser regression expectations are updated together.
Validation on this head's source:
examples/cli-project-lifecycle-command-modularization-smoke.pyfails during refresh with'NoneType' object has no attribute 'todo_id'; the same failure was independently reproduced from a clean archive of baseline1af7dbd43a1629b0356ecd5ee28a426ad45d1d7a. This remains a merge hold, not a passing gate.No newer signed feed candidate was available for a live App replacement test. Windows/Linux, pipx runtime reuse, multiple simultaneous primary Apps, notarization and sustained operation remain unqualified. Wheel reuse depends on #5543; a fingerprint is an artifact reuse fence, not publisher/source attestation. The installed build is a local repair candidate, not a public release. Please retain maintainer review/merge for this runtime and product change.