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 — fix(desktop): download updates only when requested by incognitojam · Pull Request #1654 · incognitojam/styal

Conversation

@incognitojam

@incognitojam incognitojam commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Note

Downloads require a click. Downloaded updates install on ordinary quit, and macOS prepares the installer after download when permissions allow. Both behaviors are kept. #1647 remains the separate download-resume fix.

Automatic desktop downloads can saturate a slow or metered connection. Downloads now wait for a click, and Restart to Install installs the release already downloaded without another check or release-choice dialog.

Situation What happens
Startup or hourly check Fetches metadata only and pauses while a finished download waits, keeping Restart to Install available. An available release waits for Download. Hourly checks use the one-hour suggestion the maintainer has seen; he requested more frequent checks than upstream’s four hours.
Download in the sidebar or Settings Refreshes the release first, so a newly published Nightly is fetched. A failed metadata refresh retains the known offer, matching upstream.
Downloading or failed download Shows the version and static progress. Failure adds an amber warning and the cause, with Retry Download.
Restart to Install Installs the finished release. Existing consent still protects running work; there is no newer-release question, metadata request, or replacement download. After restart a newer release is offered through Download.
Remote update, Update everything, or track switch Keeps its explicit download path, activity consent and migration compatibility checks.

Unlike upstream’s install-time refresh, Install always uses the already-downloaded release. The existing updater ledger entry records this deliberate product decision. Mobile’s separate automatic Expo downloads are unchanged.

Validation: the built desktop ran in real Electron against a loopback feed with synthetic Linux AppImage payloads. A check offered 1.2.4 without fetching an archive; publishing 1.2.5 before Download made that click fetch 1.2.5. After simulated process loss before the legacy quit installer ran, a second launch reused its verified cache with zero archive requests. Deliberately corrupting that cache caused a replacement fetch. With 1.2.6 then on the feed, Install made no metadata or archive request, showed no update-choice dialog, and the actual AppImage updater replaced and executed the finished 1.2.5. The changed install behavior and pause during a waiting download failed first in regression tests; adjacent scenarios cover concurrent checks, retained downloads, channel floors, remote activity consent and Update everything’s refreshed version.

The launch UI still returns to Download after a process restart; that explicit click validates and reuses a matching cached archive. Startup does not call a library method that could download. Linux evidence does not verify production archives, signing, macOS Squirrel installation or Windows NSIS. The macOS preview can show the UI and channel switching, but an unsigned preview may not be able to update itself.

Independent review findings and dispositions:

The ready-state follow-up pauses automatic startup/hourly checks while a download waits, removing the temporary loss of Restart to Install and the misleading newer-release wording. Existing backend and UI logic cases failed first; they now cover the paused timer and unchanged ready state while explicit checks still work.

  • codex/gpt-6-astra: found Update everything saved the offered version even when Download refreshed to a newer release, causing an incorrect completion summary after restart. It now saves the actual finished version before handoff; the existing browser scenario failed first for the newer release and passes for both versions. Fresh work consent still applies if the downloaded version differs from the agreed one. Found two stale macOS replacement descriptions; both now match the retained-download policy. Re-review found no actionable issues.
  • claude/claude-fable-5-2: confirmed the final installer behavior and found the remote retry test still expected the two deleted install-time checks; corrected and exercised on both layers. Its completion-summary finding is fixed above. Remote targets keep the versions selected for that pass if the local Download finds a newer release. Follow-up outside this PR: a failed hourly metadata check hides sidebar Download until a successful check; Settings can retry. A test's “background” wording describes the transfer after the user's click; no automatic-download path remains.
  • Controls and wording built by claude/claude-opus-5-5: consistent “Version X …” descriptions, aligned failure row, visible error cue and higher-contrast static progress ring. This is implementation credit, not an independent review.

Provenance:

  • Upstream adapted: refresh before Download and startup recovery, retaining fork migration floors and remote consent: fix(desktop): an update download fetches the newest release, not the last check's pingdotgg/t3code#37476
  • Upstream adapted: Download controls and Update everything’s explicit download step: feat(web): one sidebar click updates every machine and provider pingdotgg/t3code#18053. Static progress ring: fix(web): clarify desktop update status pingdotgg/t3code#6504. Authors and source provenance are preserved in commit trailers.
  • Fork code deleted: starting downloads from metadata events and replacing a finished staged update when a later check finds a newer release.
  • Fork adaptations: hourly cadence, pause automatic checks while a finished download waits, install the finished release, retain install on quit and early macOS preparation, quiet idle sidebar, work consent, retry cues, docs and the existing ledger entry including fix(desktop): download updates only when requested #1654.

Before captures show main at 4fc4f3340bcc794d1692b099ae4eea7a7d38cf8a: no Download control, and a metadata offer automatically starts downloading. The available snapshot is that brief pre-download state. All captures use synthetic data in a populated client.

Sidebar: main and final behavior

Available — sidebar, main

Available — sidebar, main

Available — sidebar, this PR

Available — sidebar, this PR

Downloading — sidebar, main

Downloading — sidebar, main

Downloading — sidebar, this PR

Downloading — sidebar, this PR

Downloaded — sidebar, main

Downloaded — sidebar, main

Downloaded — sidebar, this PR

Downloaded — sidebar, this PR

Failed — sidebar, main

Failed — sidebar, main

Failed — sidebar, this PR

Failed — sidebar, this PR

Settings: main and final behavior

Available — settings, main

Available — settings, main

Available — settings, this PR

Available — settings, this PR

Downloading — settings, main

Downloading — settings, main

Downloading — settings, this PR

Downloading — settings, this PR

Downloaded — settings, main

Downloaded — settings, main

Downloaded — settings, this PR

Downloaded — settings, this PR

Failed — settings, main

Failed — settings, main

Failed — settings, this PR

Failed — settings, this PR


Written by codex/gpt-6.1-sol, controls built by claude/claude-opus-5-5, reviewed by codex/gpt-6-astra and claude/claude-fable-5-2, in styal 🧵.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@incognitojam incognitojam added the preview:mac Build an Apple Silicon DMG for this PR on every push. label Nov 19, 2026
@github-actions github-actions Bot added the size:XXL label Nov 19, 2026
@github-actions

github-actions Bot commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Upstream divergence

Both sides are compared with upstream at the in-order tip 9f4b42e750. Excludes .repos/ and pnpm-lock.yaml.

Measure Base This PR Change
Upstream files the fork changes 2,310 2,312 +2
Lines changed in them 158,711 159,326 +615
Upstream files the fork removes 71 71 0
Fork-only files 1,006 1,006 0
Fork-only lines 183,810 183,755 −55

Upstream files that start to differ (2)

  • apps/desktop/src/app/DesktopStartupRecovery.test.ts: +72 −0 from upstream
  • apps/web/src/components/sidebar/SidebarUpdateReleaseNotes.tsx: +9 −15 from upstream
Upstream files whose difference changes (17)
File Change Now differs by
apps/desktop/src/updates/DesktopUpdates.ts +165 339 lines
apps/web/src/components/desktopUpdate.logic.ts +83 164 lines
apps/desktop/src/updates/DesktopUpdates.test.ts +58 787 lines
apps/web/src/components/settings/updateTrackSwitch.logic.test.ts +43 108 lines
apps/web/src/components/desktopUpdate.logic.test.ts +42 231 lines
apps/web/src/components/sidebar/SidebarUpdatePill.browser.test.tsx +35 961 lines
apps/desktop/src/updates/DesktopRemoteUpdates.test.ts +31 247 lines
apps/web/src/components/settings/updateTrackSwitch.logic.ts +23 73 lines
apps/web/src/components/settings/SettingsPanels.tsx +18 591 lines
apps/desktop/src/app/DesktopStartupRecovery.ts +10 26 lines
apps/web/src/components/sidebar/useUpdateEverything.ts +9 175 lines
docs/user/updating.md +5 249 lines
apps/web/src/components/settings/ConnectionsSettings.logic.ts −4 27 lines
apps/web/src/components/sidebar/DesktopUpdateStatusIcon.tsx −3 60 lines
apps/web/src/components/sidebar/SidebarUpdatePill.tsx +2 393 lines
apps/desktop/src/updates/updatesTestHarness.ts +1 91 lines
apps/web/src/components/settings/UpdateTrackSwitchDialog.tsx +1 67 lines
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 19, 2026

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Baseline: dace7da · PR result: 981bbac · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@incognitojam incognitojam mentioned this pull request Nov 19, 2026
fix(desktop): stalled update downloads retry and resume #1647
Merged
@github-actions

github-actions Bot commented Nov 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

macOS preview

The preview download was removed because this PR closed or the preview label was removed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@incognitojam
incognitojam marked this pull request as ready for review November 19, 2026 18:53
@incognitojam
incognitojam marked this pull request as draft November 19, 2026 19:00
This was referenced Nov 19, 2026
fix(desktop): suppress update notices for preview builds #1665
Merged
fix(updates): wait for busy servers to report running work #1667
Merged
@incognitojam incognitojam changed the title fix(desktop): download and install updates only on request fix(desktop): download updates only when requested Nov 19, 2026
@incognitojam
incognitojam force-pushed the styal/realign-desktop-update-downloads branch from 981bbac to 4c16bfe Compare November 19, 2026 21:41
@incognitojam
incognitojam added this pull request to stack #1674 November 19, 2026 21:41
@github-actions github-actions Bot added size:XL and removed size:XXL labels Nov 19, 2026
@incognitojam incognitojam mentioned this pull request Nov 19, 2026
fix(desktop): install updates only when requested #1673
Closed
@incognitojam
incognitojam marked this pull request as ready for review November 19, 2026 21:53
@incognitojam
incognitojam marked this pull request as draft November 19, 2026 22:03
incognitojam and others added 5 commits November 19, 2026 22:53
@incognitojam @juliusmarminge
@t3dotgg @StiensWout
fix(desktop): download updates only when requested
c160120
Restore upstream's Download action and release refresh while checking hourly without fetching archives. Keep a finished download ready through metadata checks. Install refreshes offer installing that exact version or returning to Download; they never fetch a replacement.

Fork adaptation: preserve the quiet sidebar, running-work consent, remote update preparation, migration-safe track changes, and the existing quit/staging lifecycle for this independently shippable change. Show versions, retry errors, and static progress in the manual controls.

Upstream-PR: 6504, 18053, 37476
Early-Import: Requested updater realignment needs release refresh ahead of chronological intake; the UI sources restore behavior already reconciled in the baseline.
Fork-Feature: desktop-background-updates
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Theo Browne <[email protected]>
Co-authored-by: Wout Stiens <[email protected]>
@incognitojam
fix(desktop): retain staged downloads and refresh update consent
53fcfe6
@incognitojam
fix(web): distinguish failed desktop updates and clarify install choices
57b5a44
@incognitojam
fix(desktop): install the completed update without refreshing
be56f24
@incognitojam
fix(updates): record the release installed by Update everything
0fd57dc
@incognitojam
incognitojam force-pushed the styal/realign-desktop-update-downloads branch from 4c16bfe to 0fd57dc Compare November 19, 2026 23:02
@incognitojam
incognitojam marked this pull request as ready for review November 19, 2026 23:10
@incognitojam
incognitojam removed this pull request from stack #1674 November 19, 2026 23:26
@incognitojam
fix(desktop): pause update polling while a download waits
4415022
@incognitojam
incognitojam merged commit c25b634 into main Nov 19, 2026
55 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@incognitojam
incognitojam deleted the styal/realign-desktop-update-downloads branch November 19, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

preview:mac Build an Apple Silicon DMG for this PR on every push. size:XL

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@incognitojam
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.
You are visitor 01402792 — 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.