Skip to content

fix: refresh pending updates and show skipped release notes - #136

Merged
Seb-GRAF merged 4 commits into
mainfrom
fix/135-refresh-pending-updates
Oct 21, 2026
Merged

Seb-GRAF merged 4 commits into
mainfrom
fix/135-refresh-pending-updates

Conversation

@Seb-GRAF

@Seb-GRAF Seb-GRAF commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

An update offered before newer releases arrive stays tied to the older release, requiring another installation to catch up. The popup also shows only that release’s notes, so users skipping releases cannot see everything they are about to receive. Fixes #135.

Changes

  • Download dismisses an undownloaded offer, waits for Sparkle to finish the session, then checks again and accepts the newest compatible release it selects. The tile stays visible and the action shows “Checking…” during the handoff. A failed check clears that intent; already-downloaded updates keep their install action.
  • Load GitHub release history when the popup opens, including pagination beyond the three entries retained in the appcast. Show releases published after the installed version through the offered version, newest first, with a “Changes in …” heading for each. Exclude the feed release and versions outside that range. If history loading fails, keep the offered release’s notes and link to the full GitHub comparison.
  • Keep the popup at 420 points, subject to the existing screen-space limit. Scroll the notes inside it while keeping the version header, comparison link, progress and action outside the scrolling list.
  • Use filled circular download and sync symbols with a small notification dot in the theme’s accent color. The icon, tile background and border follow the current widget theme. Switch to sync when ready, without text labels in the bar. Tooltips and accessibility labels describe each stage.
  • Update the README. No JSON properties changed; the popup uses the existing height setting, so schema/decoder keys, layers, configuration editing and examples need no changes.

Testing

  • Full local swift test --disable-keychain passed after the CI test correction.
  • Removed a timing race in the existing directory-notification regression that failed on CI: schedule the reload directly, save before yielding, then await that exact task. The app’s reload behavior is unchanged. All 41 bar-editing tests pass; temporarily removing generation validation makes the regression fail as expected.
  • 26 focused tests passed, covering update-session handoff and failure recovery, release-range selection despite GitHub’s ordering, multi-page history, beta-to-stable history, missing release boundaries and native fixed/automatic popup sizing.
  • The pending-offer regression fails against the original main implementation and passes with the fix. It verifies that the old callback is dismissed and only the new callback is accepted, including when automatic checks are off.
  • Checked the session handoff against the pinned Sparkle 2.10.0 source and the history endpoint against GitHub’s releases API documentation.
  • Verified both SF Symbols are available through AppKit. Optimized app build and codesign --verify --deep --strict passed.
  • Commit message lint and git diff --check passed.
  • Native visual check and screenshots were explicitly skipped at the maintainer’s request. The popup’s final appearance, live GitHub history loading in the app and a signed-update installation have not been manually tested.

Merging

Merge commit or rebase merge to preserve the fix: and feat: commits. Wait for required CI checks before merging.

GPT-6 Astra via the Codex harness in T3 Code.

@Seb-GRAF
Seb-GRAF marked this pull request as ready for review October 21, 2026 06:47
@Seb-GRAF Seb-GRAF changed the title fix: check for the latest release before downloading fix: refresh pending updates and show skipped release notes Oct 21, 2026
@Seb-GRAF
Seb-GRAF enabled auto-merge October 21, 2026 07:01
@Seb-GRAF
Seb-GRAF disabled auto-merge October 21, 2026 07:02
@Seb-GRAF
Seb-GRAF merged commit d6ec911 into main Oct 21, 2026
4 checks passed
@Seb-GRAF
Seb-GRAF deleted the fix/135-refresh-pending-updates branch October 21, 2026 07:30
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update offers stay on an older release when newer releases arrive

1 participant