Skip to content

refactor(app): remove V1 client compatibility - #43045

Merged
Hona merged 3 commits into
anomalyco:v2from
Hona:remove-v1-compat
Aug 17, 2026
Merged

Hona merged 3 commits into
anomalyco:v2from
Hona:remove-v1-compat

Conversation

@Hona

@Hona Hona commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • keep only canonical GUI routes: /, /new-session, and /server/:serverKey/session/:id
  • remove V1 storage aliases, generic legacy migration, Tauri import, old layout onboarding IPC, /global/health, and dead Desktop shims
  • make App E2E mocks and timeline fixtures use direct OpenCodeEvent and SessionMessageInfo contracts
  • remove tests that only covered unsupported V1 or old Desktop runtime behavior
  • relocate proven V2 server, layout, permission, prompt, draft-store, and workspace-path state once into canonical storage
  • preserve the shipped hidden Linux launcher used by existing GNOME/KDE pins

Architecture

  • keeps multi-server identity as (server key, Session ID)
  • schema-decodes timeline events and messages against current server schemas
  • keeps read-once V2 relocation separate from removed V1/Tauri compatibility
  • preserves the production event/transcript adapter for the next session-model PR
  • does not change Core, Server, Protocol, Client, Schema, or generated surfaces

Testing

  • bun typecheck in packages/app, packages/desktop, and packages/ui
  • bun run typecheck:e2e in packages/app
  • 679 App unit tests, 43 App browser tests, 71 Desktop tests, and 27 UI tests
  • 97 App Playwright E2E tests plus focused remote permission coverage
  • 37 production-build timeline stability Playwright tests
  • current event and message schema validation fixture tests
  • App and Desktop production builds
  • bun install --frozen-lockfile with Bun 1.3.14
  • repository pre-push typecheck

@Hona
Hona requested a review from Brendonovich as a code owner August 17, 2026 11:20
Copilot AI lite review requested due to automatic review settings August 17, 2026 11:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Hona
Hona force-pushed the remove-v1-compat branch from 807ee28 to 6306f39 Compare August 17, 2026 21:30
@Hona
Hona merged commit eb22768 into anomalyco:v2 Aug 17, 2026
11 of 13 checks passed
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 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