You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
#451 step 5: Roadmap and side panel read issues from upstream #456
Part of #451. Step 5 of 7, after step 4. Plan: #451 (comment) ("Order", item 5, and "Target shape").
The per-repository side panel, the thread-details section and /roadmap take rows from upstream IssueService.list plus the fork overlay (relationships, milestone, live work, queue, work state). Delete the fork's list, detail and comment reads and the fork ref types. The Ready / Paused / Queued / In progress / Done states keep working.
Done: includes a rate-limit check (the fork used conditional requests that cost nothing when unchanged). Refresh when the inbox activity feed reports a change, not on a timer.
Carried over from step 4 (#455, PR #474): issues.subscribeLinkRefreshes still exists. Step 4 removed only its table-refresh source. The stream still drives the roadmap's live-work refresh (runs, requests, background tasks) while the roadmap reads through fork code. Retire it in this step, once the roadmap reads upstream rows plus the overlay, replacing it with an event-driven refresh (the inbox activity feed and orchestration events), not the 5-minute poll.
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T02:57:28.867Z
I've opened draft PR #476, which closes #456 and references #451. The roadmap, the side panel and the thread-details section now read issue rows from upstream's IssueService.list plus the fork's overlay. Before/after captures show the same issue states and row text, and the new path costs fewer GitHub requests. I haven't merged it.
What changed
Rows and detail come from upstream. The fork's overlay adds relationships, milestone, sub-issue counts and Projects; live work, queue position, suspension and work state still come from IssueLinks.enrich. The fork's list, detail and comment reads are deleted, along with the types only they used (RepositoryIssueComment, the detail's body and comments, the roadmap list flag, expectedAccountId).
Refresh follows events, not a timer.issues.subscribeLinkRefreshes, the 60-second client poll and the 5-minute detail poll are gone. Lists and detail re-read when a thread's status, run, pending request, background tasks, linked issues, pull requests, branch or worktree change. They also re-read on new inbox activity, after a local write, and on an explicit Refresh.
The server caches rows and detail. It reuses them until a fork write or new inbox activity changes the repository, for at most 5 minutes, so frequent refresh signals don't hit GitHub. Refresh always reads GitHub.
Since the new path costs no more, I didn't need to ask you about it.
Captures: I captured /roadmap, the side panel and the thread view before and after, on the same synthetic repository with seeding off. The issue states and row text match exactly; only the "Updated" time differs. The first "after" capture showed an empty "0/0" sub-issue count on issues without sub-issues. I fixed that to match main and took the captures again. The in-app Browser panel produced no frames because its window was hidden, so these are headless Chromium captures of the worktree's dev server. I stopped the server, and ports 8123 and 16163 are free.
Tests: I extended the roadmap and work-state tests. The focused server, client-runtime, contracts and web tests all pass. One cleanup test fails only under the global git config and passes with GIT_CONFIG_GLOBAL=/dev/null, as noted in memory. vp run check:changed passes format, knip, the 14 test files and the React compiler check. Its type check fails only on the 3 known mobile errors. Its lint failed only on 7 errors that already exist on main, in two web files I touched. The commit hook blocked on them, so I fixed them instead of bypassing it:
dropped useMemo/useCallback in apps/web/src/state/repositoryIssues.ts;
added a reasoned disable on two lines of ThreadLinkedIssueRow.test.tsx, which uses react-test-renderer rather than the browser render helper.
Decisions made while you were away
/roadmap lists only repositories that have a T3 project (your answer). For any other repository it asks you to add it as a project.
Starting or queueing an issue now checks that it's open with the existing workRead. One queue race test had to skip each issue's first read, because that read is now the open-state check.
The inbox's first value doesn't count as activity, so mounting the roadmap doesn't cause an extra read.
Known limits
Changes made through upstream's write path (the panel's state change, agent tools) appear only after the next inbox activity, the 5-minute limit, or a Refresh.
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T03:36:01.142Z
I fixed all five checker items on the same branch and pushed. While doing so I found a worse problem: the head you reviewed (97023ea) didn't type-check on the server. Managed issue delegation and four test mocks still used the fork detail read I removed. I misread the failing type-check package as the known mobile one; the new commit fixes it, and the PR body now says so.
The five checker items
Upstream writes now refresh. A wrapper around upstream's issue service advances the fork revision after create, comment, update and setState. It's added where that service is built in server.ts, so panel actions and agent tools both go through it.
Every revision change now reaches clients. Each time the fork revision advances (a fork write, an upstream write or new GitHub activity), the server pushes it into the inbox's unread stream, which clients already re-read on. The poll's own before/after revision comparison is gone, so this is the only path.
Queue and ownership events reach clients again. The same stream now also carries issue.queue.updated, issue.work.requested, issue.work.cancelled, repository.work.restored and thread.metadata-updated, grouped within 250 ms. They come from the event sink, the way the work service already reads events.
Fallback rows aren't cached. The overlay read now returns "none" when GitHub fails. The roadmap shows relationships as unknown for that read and doesn't keep the rows.
Tests and wording:
The existing overlay test now covers sub-issue counts, including that a zero count is left out.
The roadmap test shows rows built from a failed overlay aren't kept.
One new inbox test shows a revision change reaches the unread stream.
I removed the issueWorkSignal test that only mirrored its field list; the refresh test still covers that progress doesn't trigger a re-read and a status change does.
The PR body is corrected:
5 minutes is only the server's cache age.
Changes made on GitHub show at the next inbox poll: 5 minutes with an orchestrator, 15 without.
The table counts requests against a mocked client.
A Refresh costs 3 GraphQL plus 1 conditional REST (main: 1 GraphQL plus 2 REST).
Busy days weren't measured.
One behavior change: resuming a suspended issue that is still closed is now refused with "Only open issues can be queued." A live read would always have done this; the test passed on main only because its two mocks disagreed about the issue's state. That test now runs the reconcile itself and still ends with both issues suspended.
Checks:
Tests: all 26 server test files that use the fork issue service pass, except the two runtimeLayer tests (an html_render timeout and a wake-order assertion). 16 tests already fail on main in files check:changed rarely selects #470 lists two runtimeLayer failures on main but doesn't name them, so I'm assuming these are those two and didn't re-run them on main.
vp run check:changed: format, lint, knip, graphql and the React compiler check pass. The type check fails only on the 3 known mobile errors; the test step fails only on those two runtimeLayer tests.
PR #476, head be64af6, checks and reviews: none reported yet (draft, no CI runs or reviews listed).
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T03:53:27.035Z
I fixed the remaining defect and both related changes, pushed them to the same branch, and updated the PR body to match.
Per-client queues are gone. The inbox now subscribes once to the event sink and once to revision changes, when it is created. It keeps only the issue-work event types, batches them within 250 ms and publishes into the existing size-1 change queue. Each client's unread stream is back to exactly what main has: one subscription to that queue. If the internal feed fails, the server logs "Issue changes stopped reaching clients" instead of dropping it silently.
Metadata events are narrowed.thread.metadata-updated triggers a refresh only when payload.repositoryOrchestration !== undefined, the same test IssueWorkService uses. Renames and branch syncs no longer re-read anything.
One GitHub poll now means one re-read round. I couldn't rely on the 250 ms batch alone, because a poll advances the revision before it commits its new inbox events. Clients would have re-read unread counts before the new events existed. So the activity read now advances the revision without publishing. The poll then pushes once, after its events commit, when it inserted events or the revision moved. Writes still publish their own advance.
The existing inbox test (a revision advance reaches the unread stream) still covers the single-subscription path, so I added no new case.
Checks:
Server type check: clean.
Focused tests: the inbox, fork service, roadmap and queue tests pass (99), as do the owner-decisions tests (24). Owner decisions also builds the inbox.
vp run check:changed: format, lint, knip, graphql and the React compiler check pass. The type check fails only on the 3 known mobile errors. The test step fails only on the same two runtimeLayer tests you confirmed fail on main.
PR #476, head d28c72d, checks and reviews: none reported (draft, no CI runs or reviews listed).
Activity
tannerpolley commentedon Nov 18, 2026
Carried over from step 4 (#455, PR #474):
issues.subscribeLinkRefreshesstill exists. Step 4 removed only its table-refresh source. The stream still drives the roadmap's live-work refresh (runs, requests, background tasks) while the roadmap reads through fork code. Retire it in this step, once the roadmap reads upstream rows plus the overlay, replacing it with an event-driven refresh (the inbox activity feed and orchestration events), not the 5-minute poll.tannerpolley commentedon Nov 18, 2026
T3 Code status: Done
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Updated: 2026-11-18T03:53:26.610Z
tannerpolley commentedon Nov 18, 2026
T3 Code closeout: done
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T02:57:28.867Z
I've opened draft PR #476, which closes #456 and references #451. The roadmap, the side panel and the thread-details section now read issue rows from upstream's
IssueService.listplus the fork's overlay. Before/after captures show the same issue states and row text, and the new path costs fewer GitHub requests. I haven't merged it.What changed
IssueLinks.enrich. The fork's list, detail and comment reads are deleted, along with the types only they used (RepositoryIssueComment, the detail'sbodyandcomments, theroadmaplist flag,expectedAccountId).issues.subscribeLinkRefreshes, the 60-second client poll and the 5-minute detail poll are gone. Lists and detail re-read when a thread's status, run, pending request, background tasks, linked issues, pull requests, branch or worktree change. They also re-read on new inbox activity, after a local write, and on an explicit Refresh.Rate limit (idle roadmap, 10 minutes, mocked GitHub)
Since the new path costs no more, I didn't need to ask you about it.
Captures: I captured /roadmap, the side panel and the thread view before and after, on the same synthetic repository with seeding off. The issue states and row text match exactly; only the "Updated" time differs. The first "after" capture showed an empty "0/0" sub-issue count on issues without sub-issues. I fixed that to match
mainand took the captures again. The in-app Browser panel produced no frames because its window was hidden, so these are headless Chromium captures of the worktree's dev server. I stopped the server, and ports 8123 and 16163 are free.Tests: I extended the roadmap and work-state tests. The focused server, client-runtime, contracts and web tests all pass. One cleanup test fails only under the global git config and passes with
GIT_CONFIG_GLOBAL=/dev/null, as noted in memory.vp run check:changedpasses format, knip, the 14 test files and the React compiler check. Its type check fails only on the 3 known mobile errors. Its lint failed only on 7 errors that already exist onmain, in two web files I touched. The commit hook blocked on them, so I fixed them instead of bypassing it:useMemo/useCallbackinapps/web/src/state/repositoryIssues.ts;ThreadLinkedIssueRow.test.tsx, which uses react-test-renderer rather than the browser render helper.Decisions made while you were away
workRead. One queue race test had to skip each issue's first read, because that read is now the open-state check.Known limits
vieweris null in roadmap results.milestoneIssuesstay in place for step 6 (#451 step 6: Issue writes run on upstream IssueService #457), along with the writes.I didn't touch
RepositoryOrchestrationMcpor the provider adapters.PR #476, head 97023ea, checks and reviews: none reported yet (draft).
tannerpolley commentedon Nov 18, 2026
T3 Code closeout: done
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T03:36:01.142Z
I fixed all five checker items on the same branch and pushed. While doing so I found a worse problem: the head you reviewed (97023ea) didn't type-check on the server. Managed issue delegation and four test mocks still used the fork
detailread I removed. I misread the failing type-check package as the known mobile one; the new commit fixes it, and the PR body now says so.The five checker items
create,comment,updateandsetState. It's added where that service is built inserver.ts, so panel actions and agent tools both go through it.issue.queue.updated,issue.work.requested,issue.work.cancelled,repository.work.restoredandthread.metadata-updated, grouped within 250 ms. They come from the event sink, the way the work service already reads events.issueWorkSignaltest that only mirrored its field list; the refresh test still covers that progress doesn't trigger a re-read and a status change does.One behavior change: resuming a suspended issue that is still closed is now refused with "Only open issues can be queued." A live read would always have done this; the test passed on
mainonly because its two mocks disagreed about the issue's state. That test now runs the reconcile itself and still ends with both issues suspended.Checks:
runtimeLayertests (an html_render timeout and a wake-order assertion). 16 tests already fail on main in files check:changed rarely selects #470 lists tworuntimeLayerfailures onmainbut doesn't name them, so I'm assuming these are those two and didn't re-run them onmain.vp run check:changed: format, lint, knip, graphql and the React compiler check pass. The type check fails only on the 3 known mobile errors; the test step fails only on those tworuntimeLayertests.PR #476, head be64af6, checks and reviews: none reported yet (draft, no CI runs or reviews listed).
tannerpolley commentedon Nov 18, 2026
T3 Code closeout: done
Issue: #456 #451 step 5: Roadmap and side panel read issues from upstream
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-456-451-step5-2026-11-18
Model: claude-opus-5-5
Branch: issue-456-451-step-5-roadmap-and-side-panel-read
Completed: 2026-11-18T03:53:27.035Z
I fixed the remaining defect and both related changes, pushed them to the same branch, and updated the PR body to match.
mainhas: one subscription to that queue. If the internal feed fails, the server logs "Issue changes stopped reaching clients" instead of dropping it silently.thread.metadata-updatedtriggers a refresh only whenpayload.repositoryOrchestration !== undefined, the same testIssueWorkServiceuses. Renames and branch syncs no longer re-read anything.The existing inbox test (a revision advance reaches the unread stream) still covers the single-subscription path, so I added no new case.
Checks:
vp run check:changed: format, lint, knip, graphql and the React compiler check pass. The type check fails only on the 3 known mobile errors. The test step fails only on the same tworuntimeLayertests you confirmed fail onmain.PR #476, head d28c72d, checks and reviews: none reported (draft, no CI runs or reviews listed).