fix(desktop): update pre-probe source checkouts from main over git

A source checkout without hermes_cli/source_check.py predates release
channels, so the only line it can be on is git. The desktop treated the
missing probe as unsupported and parked the user on a manual
`hermes update --help` card ("This checkout predates desktop
source-channel checks"), so an older non-bundled install could never
update itself from the app.

Report such a checkout as tracking main with an update available and let
apply take the normal git handoff. That update brings in the probe, so
later checks resolve normally. A probe that exists but fails still throws.
This commit is contained in:
ethernet
2026-09-24 19:23:27 -04:00
parent 26b5494667
commit 473fd1663c
4 changed files with 16 additions and 30 deletions

View File

@@ -106,9 +106,9 @@ replace a selected release channel with its default branch.
For branch-tracking source installs, the desktop keeps the current named branch
unless an explicit desktop branch override exists. A detached checkout uses the
default branch. Older checkouts without source-channel probing show manual
recovery instructions instead of guessing a target: inspect `hermes update --help`
in that installation and choose the intended branch or channel before updating.
default branch. Older checkouts without source-channel probing predate release
channels, so the desktop updates them from `main` over git; that update brings in
the probing.
Packaged desktop feed channels derive from their build tag and package owner.
Changing a source channel is not an MSIX or Store channel switch. Canary builds