Port OpenCode restore/activity residual subset#353
Open
danshapiro wants to merge 3 commits into
Open
Conversation
added 3 commits
May 18, 2026 02:46
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
origin/main.Source content
Preserved:
035a6949->e6c2cf33: canonical session ids in focus/history tests.ec021780->c57a9c33: OpenCode resume model identity plus related real-provider harness/server-suite routing.fdcc0bfd->15c3f4dc: OpenCode viewport hydration replay should not be capped.Intentionally omitted as already covered elsewhere:
3eee0a7f: OpenCode activity UI signal/protocol/sidebar pieces are covered by PR Fix OpenCode ownership and restart recovery #336.9d087749and2279caec: restore fallback lifecycle and tighter terminal restore contract work are covered by PR Fix OpenCode ownership and restart recovery #336; Codex-adjacent restore coverage is also in PR Port Codex app-server durability subset #352.534d9976anda974fe79: OpenCode contract version and attach JSON-event notes/tests are covered by PR Fix OpenCode ownership and restart recovery #336.a740a56f: pane recency sidecar persistence is already represented by PR fix: skip persist on cross-tab recency prune to prevent ping-pong #333, so this branch does not duplicate the tab-recency dependency stack.3625e4f1: deliberately not preserved; it was reverted by86232c00, and PR Fix OpenCode replay-gap restore on main #348 is the cleaner replay-gap carrier.Dependencies and overlap
origin/main; no runtime dependency on PR Port fresh-agent foundation to main #350, PR Port fresh-agent canonical recovery subset #351, or PR Port Codex app-server durability subset #352.src/components/TerminalView.tsx; the behavior is complementary, not a replay of the reverted3625e4f1approach.Verification
git diff --check origin/main..HEADFRESHELL_TEST_SUMMARY="task12 opencode residual client focused" npm run test:vitest -- test/unit/vite-config.test.ts test/unit/client/components/TerminalView.lifecycle.test.tsx test/e2e/sidebar-click-opens-pane.test.tsx --runpassed: 87 tests.npm run typecheck:clientpassed.npm run build:clientpassed with existing Vite chunk-size/dynamic-import warnings.Blocked on current
origin/mainbaseline:FRESHELL_TEST_SUMMARY="task12 opencode residual server focused" npm run test:vitest -- test/unit/server/terminal-registry.test.ts test/unit/server/run-standard-tests.test.ts --rundid not execute tests because server global setup runsnpm run build:server, which fails in unchangedserver/mcp/freshell-tool.tsat lines 73 and 472.npm run typecheck:serverfails on the same unchangedserver/mcp/freshell-tool.tsparse errors.Real provider contract tests were not run; they exercise installed provider CLIs and external provider configuration.