Skip to content

Show which tasks block an update; mark interrupted work stopped - #107

Open
Ghosts wants to merge 1 commit into
masterfrom
update-blocked
Open

Ghosts wants to merge 1 commit into
masterfrom
update-blocked

Conversation

@Ghosts

@Ghosts Ghosts commented Nov 18, 2026

Copy link
Copy Markdown
Member

Restart to update could get stuck: an interrupted task counts as live and blocks the install, and the only way to clear one was Resume, which starts it again. The header pill also called install anyway and failed quietly.

  • Header pill: when tasks block the install, it opens the update details instead of failing. The tooltip says why. The pill is slimmer (22px, 20px inside the glass capsule) and inset, not flush against the capsule edge.
  • Update details/Settings: the generic "finish active tasks…" line is replaced with a list of the blocking tasks: title, reason (Running, Interrupted, History needs saving), Open, and Mark stopped for interrupted ones.
  • Mark stopped: releases an interrupted attempt with the existing task_release_interrupted, after the same leftover-process check Resume uses. Nothing reruns, and the task can still be continued or retried later. It's also offered beside Resume on the task page.
  • The companion notice's "Restart to update" no longer tries to install while blocked.

Checks: pnpm verify passed. Fixture screenshots of the title bar and update settings (light/dark, glass/plain, 420px) are in ignored output/playwright/update-blocked/. Not checked in the native app.

…topped

The header Restart to update called install even while tasks held their
workspaces, so it failed quietly. It now opens the update details, which
list the blocking tasks with Open and, for interrupted ones, Mark stopped.
Mark stopped releases an interrupted attempt without rerunning it (also
offered beside Resume on the task). The header pill is slimmer and inset
inside the glass capsule.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant