Skip to content

chore: merge upstream/main (dc2f73af48) - #194

Closed
Pawl-Patrol wants to merge 257 commits into
forkfrom
sync/upstream-2026-11-23-45110570210
Closed

Pawl-Patrol wants to merge 257 commits into
forkfrom
sync/upstream-2026-11-23-45110570210

Conversation

@Pawl-Patrol

Copy link
Copy Markdown
Collaborator

Merges upstream's main up to dc2f73af48 into fork (250 new commits). Sync run

@Pawl-Patrol this sync needs you: see the red items below and the run's sync artifact (Copilot's transcripts). Fixes pushed to this branch carry over: the next sync continues from it.

Conflicts

  • apps/mobile/src/lib/filePreview.test.ts
  • apps/server/src/mcp/AcpMcpStdioBridge.ts
  • apps/server/src/mcp/OrchestratorMcpService.test.ts
  • apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
  • apps/server/src/orchestration-v2/ProviderSessionManager.ts
  • apps/server/src/orchestration-v2/RestartBackgroundNote.test.ts
  • apps/server/src/orchestration-v2/runtimeLayer.ts
  • apps/server/src/sourceControl/builtInDrivers.ts
  • apps/web/package.json
  • apps/web/src/components/ChatMarkdown.tsx
  • apps/web/src/components/CommandPalette.tsx
  • apps/web/src/components/settings/SettingsSidebarNav.tsx
  • apps/web/src/components/sidebar/SidebarDraftBlock.tsx
  • apps/web/src/components/sidebar/SidebarThreadHeader.tsx
  • apps/web/src/hooks/useHandleNewThread.ts
  • apps/web/src/main.tsx
  • packages/contracts/src/clientRpcPermissions.ts
  • packages/contracts/src/rpc.ts
  • packages/provider-core/src/server/runtimeInstructions.ts
  • packages/shared/src/markdownPipeline.ts
  • pnpm-lock.yaml

Copilot's summary

Upstream sync round 2

Result

Merge commit 9777591f43 joins fork 3e6a54a3d61 and upstream dc2f73af48. Follow-up fixes are 45e3a70861, 8b6be27354, e3dcd7a9ae, fd96a4b78c, 094edd8408, and 12c5ddc34e. The worktree is clean.

Conflict resolutions

  • apps/mobile/src/lib/filePreview.test.ts: retained fork home-path/file-preview coverage on upstream's rewritten preview API.
  • apps/server/src/mcp/AcpMcpStdioBridge.ts: kept fork invocation context while adopting upstream bridge changes.
  • apps/server/src/mcp/OrchestratorMcpService.test.ts: retained fork orchestration cases on upstream's MCP service contracts.
  • apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts: combined upstream stream/message IDs with fork context, cache, usage, subagent, and orchestration handling.
  • apps/server/src/orchestration-v2/ProviderSessionManager.ts: retained fork restart/session continuity on upstream lifecycle changes.
  • apps/server/src/orchestration-v2/RestartBackgroundNote.test.ts: kept restart-note behavior with upstream's current event shapes.
  • apps/server/src/orchestration-v2/runtimeLayer.ts: retained fork services while adopting upstream layer dependencies.
  • apps/server/src/sourceControl/builtInDrivers.ts: kept fork driver registration on upstream's source-control changes.
  • apps/web/package.json: accepted upstream-native markdown dependencies; removed fork mermaid and remark-math because upstream now provides Mermaid rendering and math parsing/rendering itself.
  • apps/web/src/components/ChatMarkdown.tsx: moved the fork's math/Mermaid behavior onto upstream's wordsHast math pipeline and MarkdownMermaidCodeBlock; retained fork thread chips and localized fallback labels.
  • apps/web/src/components/CommandPalette.tsx: retained Git graph, agent stage, notes, changelog, and Notion actions on upstream's translated command palette.
  • apps/web/src/components/settings/SettingsSidebarNav.tsx: kept fork settings routes while adopting upstream navigation changes.
  • apps/web/src/components/sidebar/SidebarDraftBlock.tsx: preserved fork sidebar grouping/card integration on upstream draft-row changes.
  • apps/web/src/components/sidebar/SidebarThreadHeader.tsx: preserved fork project-run/sidebar behavior on upstream header changes.
  • apps/web/src/hooks/useHandleNewThread.ts: retained split-view draft opening through keepRouteThreadInSplit on upstream's new draft/default-workspace flow.
  • apps/web/src/main.tsx: retained fork app initialization while adopting upstream startup changes.
  • packages/contracts/src/clientRpcPermissions.ts: retained fork RPC scopes with upstream's permission additions.
  • packages/contracts/src/rpc.ts: retained fork RPC contracts with upstream's current RPC surface.
  • packages/provider-core/src/server/runtimeInstructions.ts: retained fork provider instructions on upstream's runtime text changes.
  • packages/shared/src/markdownPipeline.ts: accepted upstream's rewritten shared pipeline; rich math/Mermaid parsing now lives in upstream wordsHast/web rendering instead of fork remark wrappers.
  • pnpm-lock.yaml: regenerated/committed for the merged manifests; no hand merge.

Fixes after the merge

  • Restored mobile scheduled-task catch-up UI with translations.
  • Restored fork settings-search entries and fork: true discoverability using upstream's translated msg(...) search terms.
  • Adapted two-line cards/project-run rows to upstream's environment metadata layout and preserved worktree/branch display through the extracted ThreadWorktreeIndicator.
  • Preserved Git graph currentRefName using upstream's readCurrentBranch and parallel graph reads.
  • Preserved Claude context usage attribution by carrying message IDs through streamed and snapshot usage.
  • Updated the fork context-budget baseline to the merged MCP tool payload (70423 bytes).
  • Kept split-view new-thread behavior, localized file-preview fallback text, translated command-palette actions, and the renamed upstream “Linked items” panel test.
  • Fixed linked issue badges in two-line cards: the badge is now interactive, and its browser scenario disables the collapsed Working shelf so the inactive rows under test are rendered.
  • Fixed the retained rich-markdown audit test to import vite-plus/test, restoring web typecheck.
  • Isolated the sidebar numbered-jump test from persisted composer drafts and restored its Zustand state after the test.
  • Isolated the sidebar render-count regression test from client settings and composer drafts so aggregate browser runs cannot leak state into its row-count assertions.

Audit accounting

  • apps/web/src/components/richMarkdown/{RichMarkdownComponents,chatMarkdownPipeline,remarkRichMarkdown}.tsx?, its test, apps/web/src/components/ChatMarkdown.tsx, apps/web/package.json, and packages/shared/src/markdownPipeline.ts: the removed fork remark/component implementation is superseded by upstream's native math and Mermaid path. ChatMarkdown reads mathRenderingEnabled, passes math into wordsHast, renders Mermaid with MarkdownMermaidCodeBlock, and retains isFenceClosed plus focused tests for streaming fences.
  • apps/web/src/components/settings/settingsSearch.ts: all reported fork search terms remain, wrapped in translatable msg(...) values; fork entries remain marked fork: true.
  • apps/web/src/components/sidebar/SidebarThreadRow.tsx and sidebarProjectRuns/SidebarProjectRunRowLead.tsx: upstream rewrote row metadata around environment labels. Fork two-line cards, project runs, cross-project coordinators, branch/worktree lead, issue badges, terminal/PR/diff metadata, and provider/environment icons remain.
  • apps/web/src/components/CommandPalette.tsx, RightPanelTabs.keyboard.browser.test.tsx, files/FilePreviewPanel.tsx, and hooks/useHandleNewThread.ts: behavior remains; literal lines changed for translation, upstream's “Linked items” rename, split helper extraction, or formatting.
  • apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts, vcs/GitVcsDriverCore.ts, provider/agentContextBudget.fork.json, and mobile scheduled-task settings: behavior is retained in adapted upstream APIs; the budget value intentionally changed to the measured merged payload.

Validation

  • vp test run src/components/ChatView.browser.test.tsx -t "opens a linked Linear issue from an inactive thread's sidebar badge": passed.
  • vp test run src/components/ChatView.browser.test.tsx: 19 passed.
  • vp test run src/components/richMarkdown/remarkRichMarkdown.test.tsx: 4 passed.
  • vp run --filter @t3tools/web typecheck: passed.
  • vp test run src/components/chat/ComposerPrimaryActions.browser.test.tsx src/components/Sidebar.browser.test.tsx: 2 files and 17 tests passed in 16.82s.
  • Final full verify: install, lockfile, Electron, typecheck, desktop/mobile/server/client-runtime/contracts/provider/shared tests, React Compiler coverage, and all guards passed. The aggregate web batch ran 7,622 tests successfully, including all 10 Sidebar.browser.test.tsx tests, then Chromium disconnected before ComposerPrimaryActions.browser.test.tsx could run. Vitest reported only VITEST_BROWSER_CONNECTION_CLOSED, no failed assertion. The exact disconnected suite passes together with the previously repaired sidebar suite as noted above. This is the only remaining red report and is aggregate-run browser process instability rather than a reproducible code failure.

Checks

  • ✅ vp install
  • ✅ pnpm-lock.yaml committed
  • ✅ electron runtime
  • ✅ typecheck
  • ✅ tests related to 3 changed files in apps/desktop
  • ✅ tests related to 7 changed files in apps/mobile
  • ✅ tests related to 47 changed files in apps/server
  • ❌ tests related to 41 changed files in apps/web
  • ✅ tests related to 1 changed files in packages/client-runtime
  • ✅ tests related to 10 changed files in packages/contracts
  • ✅ tests related to 2 changed files in packages/provider-core
  • ✅ tests related to 2 changed files in packages/provider-cursor
  • ✅ tests related to 2 changed files in packages/shared
  • ✅ React Compiler coverage in apps/web

Guards

  • ✅ merge commit of fork and upstream, no rebase
  • ✅ no conflict markers
  • ✅ no fork files deleted
  • ✅ no new skipped tests

Fork lines not in the result

343 lines the fork added are missing verbatim. Upstream rewrites and reformatting cause some; check that the features still exist.

File Lines
apps/web/src/components/richMarkdown/RichMarkdownComponents.tsx 103
apps/web/src/components/richMarkdown/remarkRichMarkdown.ts 68
apps/web/src/components/richMarkdown/remarkRichMarkdown.test.tsx 48
apps/web/src/components/settings/settingsSearch.ts 34
apps/web/src/components/sidebar/SidebarThreadRow.tsx 29
apps/web/src/components/richMarkdown/chatMarkdownPipeline.ts 29
apps/web/src/components/sidebarProjectRuns/SidebarProjectRunRowLead.tsx 10
apps/web/src/components/ChatMarkdown.tsx 6
apps/web/src/components/RightPanelTabs.keyboard.browser.test.tsx 2
apps/web/src/components/CommandPalette.tsx 2
apps/web/package.json 2
apps/server/src/vcs/GitVcsDriverCore.ts 2
apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts 2
apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx 2
packages/shared/src/markdownPipeline.ts 1
apps/web/src/hooks/useHandleNewThread.ts 1
apps/web/src/components/files/FilePreviewPanel.tsx 1
apps/server/src/provider/agentContextBudget.fork.json 1

Lucenx9 and others added 30 commits November 21, 2026 05:56
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#40297)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#40299)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pingdotgg#40381)

Co-authored-by: Abaan <abaan@Abaans-MacBook-Pro.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… update fails (pingdotgg#37225)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…loopback (pingdotgg#40423)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…breaks (pingdotgg#40437)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…eck out (pingdotgg#40436)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…point in a shared folder (pingdotgg#40411)

Co-authored-by: ExSidius <17144735+ExSidius@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ironment probe (pingdotgg#37154)

Co-authored-by: lowlyleon <183293296+lowlyleon@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#37314)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…folder labels (pingdotgg#40464)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…n character set (pingdotgg#40476)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Yash-Singh1 and others added 26 commits November 22, 2026 20:58
…eadKey (pingdotgg#41143)

Co-authored-by: Isaac-b-ux <264455269+Isaac-b-ux@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#25537)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…gdotgg#41168)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ll (pingdotgg#37585)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… is latched (pingdotgg#41173)

Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…repository (pingdotgg#41177)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…real checkout (pingdotgg#41192)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
pingdotgg#41191)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…link strings (pingdotgg#41193)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…g#41184)

Co-authored-by: 137 <113233555+caezium@users.noreply.github.com>
…ges (pingdotgg#41196)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s created (pingdotgg#36904)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	apps/mobile/src/lib/filePreview.test.ts
#	apps/server/src/mcp/AcpMcpStdioBridge.ts
#	apps/server/src/mcp/OrchestratorMcpService.test.ts
#	apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
#	apps/server/src/orchestration-v2/ProviderSessionManager.ts
#	apps/server/src/orchestration-v2/RestartBackgroundNote.test.ts
#	apps/server/src/orchestration-v2/runtimeLayer.ts
#	apps/server/src/sourceControl/builtInDrivers.ts
#	apps/web/package.json
#	apps/web/src/components/ChatMarkdown.tsx
#	apps/web/src/components/CommandPalette.tsx
#	apps/web/src/components/settings/SettingsSidebarNav.tsx
#	apps/web/src/components/sidebar/SidebarDraftBlock.tsx
#	apps/web/src/components/sidebar/SidebarThreadHeader.tsx
#	apps/web/src/hooks/useHandleNewThread.ts
#	apps/web/src/main.tsx
#	packages/contracts/src/clientRpcPermissions.ts
#	packages/contracts/src/rpc.ts
#	packages/provider-core/src/server/runtimeInstructions.ts
#	packages/shared/src/markdownPipeline.ts
#	pnpm-lock.yaml
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Pawl-Patrol

Copy link
Copy Markdown
Collaborator Author

Continued in #195

@Pawl-Patrol
Pawl-Patrol deleted the sync/upstream-2026-11-23-45110570210 branch November 23, 2026 13:02
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.