hermes-agent/apps/desktop/electron
briandevans cb6edbf448 fix(desktop): skip the rev-list count when it is discarded anyway
checkUpdates() ran `git rev-list HEAD..origin/<branch> --count`
unconditionally in the parallel probe batch, even on the shallow +
no-merge-base path where resolveBehindCount() ignores the result and
falls back to a SHA compare. In the #51922 failure mode that count walks
the entire remote ancestry (thousands of commits), so the work was pure
latency on every update check for the exact case the fix targets.

Split the probes into two phases: resolve --is-shallow-repository and
merge-base first, then run rev-list --count only when shouldCountCommits
says the number is meaningful (full clone, or shallow-with-merge-base).
The shallow/no-merge-base SHA fallback is preserved unchanged.
2026-06-24 19:12:09 -05:00
..
backend-env.cjs
…
backend-env.test.cjs
…
backend-probes.cjs
…
backend-probes.test.cjs
…
backend-ready.cjs
…
backend-ready.test.cjs
…
bootstrap-platform.cjs
…
bootstrap-platform.test.cjs
…
bootstrap-runner.cjs
…
bootstrap-runner.test.cjs
…
connection-config.cjs
…
connection-config.test.cjs
…
dashboard-token.cjs
…
dashboard-token.test.cjs
…
desktop-uninstall.cjs
…
desktop-uninstall.test.cjs
…
entitlements.mac.inherit.plist
…
entitlements.mac.plist
…
fs-read-dir.cjs
…
fs-read-dir.test.cjs
…
gateway-ws-probe.cjs
…
gateway-ws-probe.test.cjs
…
git-root.cjs
…
git-root.test.cjs
…
git-worktrees.cjs
…
hardening.cjs
…
hardening.test.cjs
…
link-title-window.cjs
…
link-title-window.test.cjs
…
main.cjs fix(desktop): skip the rev-list count when it is discarded anyway 2026-06-24 19:12:09 -05:00
oauth-net-request.cjs
…
oauth-net-request.test.cjs
…
preload.cjs Merge remote-tracking branch 'origin/main' into bb/pets-merge 2026-06-23 19:05:22 -05:00
session-windows.cjs
…
session-windows.test.cjs
…
update-count.cjs fix(desktop): skip the rev-list count when it is discarded anyway 2026-06-24 19:12:09 -05:00
update-count.test.cjs fix(desktop): skip the rev-list count when it is discarded anyway 2026-06-24 19:12:09 -05:00
update-marker.cjs
…
update-marker.test.cjs
…
update-rebuild.cjs
…
update-rebuild.test.cjs
…
update-relaunch.cjs
…
update-relaunch.test.cjs
…
update-remote.cjs
…
update-remote.test.cjs
…
vscode-marketplace.cjs
…
vscode-marketplace.test.cjs
…
window-state.cjs feat(desktop): remember window size/position/maximized across launches (salvage #39154) 2026-06-24 13:32:05 -05:00
window-state.test.cjs feat(desktop): remember window size/position/maximized across launches (salvage #39154) 2026-06-24 13:32:05 -05:00
windows-child-process.test.cjs
…
windows-user-env.cjs
…
windows-user-env.test.cjs
…
workspace-cwd.cjs
…
workspace-cwd.test.cjs
…