Skip to content

Update main to upstream 1.5.5 and name an online host whose task read failed - #2

Merged
RocStone merged 47 commits into
mainfrom
fm/fork-main-read-failure
Nov 13, 2026
Merged

RocStone merged 47 commits into
mainfrom
fm/fork-main-read-failure

Conversation

@RocStone

Copy link
Copy Markdown
Owner

Summary

Brings this fork's main up to the head of upstream PR RoundRedDot#35 (ecb2cc6b). That head has three parts:

  1. Upstream main up to release 1.5.5. These are the 43 upstream commits since 6b2cea2f that main is missing.
  2. The multi-host board, rebased onto 1.5.5. It supersedes c94735ff and 4f88650f, which are already on main.
  3. A new fix. The upstream maintainer found that a remote host that stays online but fails its task read dropped its cards with no warning. The board now says so and retries.
 useBoard
   remoteTasks = useRemoteTasks(hosts.remotes)
   merged = useMergedTasks(own, hosts, remoteTasks)   // carries this host's error only (toast)
+  failedHosts = useRemoteReadFailures(remoteTasks)   // remote store error -> listed, refresh after 5 s, doubling to 1 min
-  hostNotice = awayNotice(hosts.away)
+  hostNotice = hostNotice(hosts.away, failedHosts)   // "Couldn't load tasks from remote-box; some may be missing. Retrying."

A host stays listed until a retry lands, so the notice does not blink between attempts. It goes once a read succeeds, or hands over to the offline notice when the host disconnects.

This branch is a merge commit, with this main and multihost-tasks as parents. Its tree is exactly multihost-tasks, so the PR merges without conflicts.

Evidence

  • Before: with a remote host online and its agents.list failing, the board showed only the local card and no notice.
    After: I ran this live on an isolated daemon with a remote host over SSH. The fault was a switch that exists only in the test build.

    fresh board, remote first read fails  -> notice "Couldn't load tasks from remote-box; …"  cards: local only   host: online
    fault off, retry lands                -> no notice                                     cards: local+remote host: online
    loaded board, refresh fails (Alt+R)   -> notice, still there after the failed 5 s retry  host: online
    fault off, next retry (10 s)          -> no notice                                                       host: online
    remote host disabled / re-enabled     -> offline notice / cards back
    
  • New tests, all with the host online throughout:

    real remote store, first list fails       -> named; retry at 5 s reads it -> cleared, card back
    live subscription errors                  -> named; retry -> cleared, new card included
    retry fails                               -> stays named, never blank; next retry at 10 s
    retry fails before the new error is drawn -> stays named (judged by refresh result)
    host leaves / board closes                -> dropped, no timers left
    whole board                               -> notice drawn with warning icon, cleared after retry
    

    Each test was mutation-checked: breaking the matching line in useRemoteReadFailures makes that test fail.

  • npm test passes all 295 files and 7732 tests. npm run typecheck, npm run build:client, npm run check:hermes, node --test scripts/ci-workflow.test.mjs and git diff --check also pass.

Merge Danger

Door: two-way

Reverting this merge restores the old main. No settings or stored data change shape.

Blast Radius: whole-plugin

Anyone running this fork from main gets 1.5.3–1.5.5 at the same time. Those releases bring the question-answering UI, search popover changes and the filter order Agent, Labels, Project, Workspace. With one host the board behaves exactly as upstream 1.5.5.

🤖 Generated with Claude Code

luoph added 30 commits November 11, 2026 15:30
- 卡片菜单和平板收起后的筛选项原来是三条横线
- 改成与工具栏筛选按钮相同的漏斗图标
- 桌面筛选栏、侧边栏分组,以及手机、平板和窄屏筛选面板都按这个顺序排列
- 卡片菜单没有单独的标签筛选项,其余三项仍是 Agent、项目、工作区
When a narrow tablet hides its search field, the query now stays in the
toolbar as a pill that reopens the field on tap and clears from its X.

- Below 480pt (times the UI scale) the pill carries a status mark:
  spinner while loading, pause when stopped, alert when older tasks
  failed to load.
- Wider tablets show a compact count, a retry target and short
  "Stopped" / "Load failed" words beside the pill instead.
- From 700pt the opened field moves into the toolbar with its own close
  button; submitting collapses it back to the pill.
- Screen reader progress moves to SearchAnnouncement, mounted by the
  coverage provider, so announcements survive the field unmounting.
…oken

Two review nits on the tablet query pill:

- Below 480pt the pill shows its state only as a mark, so its edit
  button was announced as just "Edit search: <query>". It now carries an
  accessibilityHint with the state the mark shows (failed to load,
  stopped, or searching), worded as the live region words it. The mark
  and the hint read one shared status, and the hint lives in a small
  StatusQueryChip so count updates re-render the pill alone. Wider pills
  keep no hint: their count, retry and short words are already labelled.
- The failure icon and compact retry in SearchCoverageItems hard-coded
  #CF222E / #F85149; they now use taskTokens(theme).danger, the same red
  as SearchStatusMark.

Left as is on purpose: between 480pt and 680pt the compact summary has
no room for the "Stopped" / "Load failed" short words next to a long
query, so that range relies on the resume button (its hint says the
search stopped) and the labelled retry target instead. Both bounds
scale with the UI size.
Let tablet search replace the task count and share the toolbar when space permits. Keep whitespace-separated terms independently removable and horizontally scrollable.
luoph and others added 17 commits November 12, 2026 15:55
A task marked unread from the board kept its plugin-side mark after it
was opened, because only Mark read, a new turn or archiving cleared it.
The daemon cannot carry the mark on Paseo 0.15 (its client has no mark
unread call), so viewing the agent never reached the plugin. A done
task from days ago then jumped back to review whenever the done lane
loaded the page that held it.

- New tasks.unread-clear RPC drops the unread marks of opened agents
  without touching the daemon or the read marks.
- Opening a task from a board card or from the sidebar's question
  dialog clears its mark: the card leaves review at once, and the marks
  are read again once the server answers, so a refused clear puts the
  card back.
- A mark read that left before the clear landed is ignored for that
  agent, so the card does not flicker back to review.

Opening the agent from Paseo's own sidebar still reaches no plugin hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Tasks board now merges the agents of every online Paseo host into the
same lanes and sort, discovered with useHosts() and read through
getPaseoClient(serverId), both feature-detected so older Paseo keeps the
one-host board unchanged.

- A card from another host carries a host badge; a Host filter joins the
  filter bar, sheet and sidebar groups while there is more than one host.
- Open, preview and Archive go to the card's own host; opening a remote
  card opens it on that host, which also clears its attention there.
- Stop, Mark read/unread, Unarchive and titles go through this plugin's
  server, which reaches only its own daemon, so they are left out on
  remote cards.
- An offline or reconnecting host's cards leave the board with one quiet
  notice naming it, and return when it is back.
- Remote stores skip the plugin-server loaders; merged handle methods keep
  stable identities so search effects do not loop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A file link in another host's card details copies its path instead of
  revealing a same-named path on this plugin's host.
- A provider subagent's card carries its parent's host, so the host filter
  and its counts treat both together.
- The details no longer poll this plugin's server for a remote agent's
  live token count.
- Tests: remote detail link, subagent cards under the host filter, and
  Open on a remote card passing its serverId. README limits table updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The merged handle carries only this host's error, and the host notice
followed connection states only, so a remote host that stayed online while
its task subscription or first read failed dropped its cards without a word.

- useRemoteReadFailures lists each remote host whose store reports an
  error, and reads it again (refresh) after 5 s, doubling up to 1 min.
  A host stays listed until a retry lands, so the notice does not blink
  while the retry's refresh has cleared the store's error; a failed retry
  is judged by its result, not by a snapshot the board may not have drawn.
- The host notice names such a host ("Couldn't load tasks from …; some
  may be missing. Retrying.") with a warning mark, after any offline or
  reconnecting hosts; it goes once a read lands, or the host leaves the
  board (the offline notice takes over).
- This host's error keeps its toast, as before.

Tests cover a failed first read and a dropped live subscription on a real
remote store, each recovering while the host stays online, a failed retry
that keeps the host named and backs off (also when the board has not yet
drawn the store's new error), cleanup when the host leaves or the board
closes, and the whole board drawing and clearing the notice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ead-failure notice

Brings fork main to the head of upstream PR RoundRedDot#35 (ecb2cc6): the 43 upstream
commits since 6b2cea2 (releases 1.5.3 to 1.5.5), the multi-host board
rebased onto them, and the fix that names an online host whose task read
failed. The tree is multihost-tasks' own; the earlier multi-host commits on
this main are superseded by their rebased versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RocStone
RocStone merged commit 6bdd311 into main Nov 13, 2026
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.

2 participants