Skip to content

fix(app): reconcile v2 session projections - #40376

Merged
Brendonovich merged 2 commits into
v2from
app-v2-sessions
Aug 5, 2026
Merged

fix(app): reconcile v2 session projections#40376
Brendonovich merged 2 commits into
v2from
app-v2-sessions

Conversation

@Brendonovich

Copy link
Copy Markdown
Member

Summary

  • mark current message pages complete when their cursor is exhausted
  • prune stale projected source while preserving older and live-touched history
  • avoid synthetic empty user text parts and align fixture tool identity with V2

Stack 3 of 6 replacing #39485. Depends on #40375.

Validation

  • bun typecheck
  • bun run typecheck:e2e
  • bun test --preload ./happydom.ts ./src/context/server-session.test.ts ./src/utils/session-message.test.ts (80 passed)
  • bun test ./e2e/performance/timeline-stability/fixture.test.ts (5 passed)
  • performance unit baseline and after: 45 passed

@Brendonovich
Brendonovich requested a review from Hona as a code owner August 4, 2026 05:47
Base automatically changed from app-rendering-types to v2 August 5, 2026 05:30
@Brendonovich
Brendonovich merged commit 4eb1b37 into v2 Aug 5, 2026
7 checks passed
@Brendonovich
Brendonovich deleted the app-v2-sessions branch August 5, 2026 05:46
github-actions Bot pushed a commit to ReStranger/opencode that referenced this pull request Aug 5, 2026
* upstream/v2: (28 commits)
  refactor(app): gate unsupported v2 capabilities (anomalyco#40381)
  fix(app): show active search details (anomalyco#40597)
  refactor(app): migrate supported v2 APIs (anomalyco#40378)
  fix(app): reconcile v2 session projections (anomalyco#40376)
  refactor(app): own rendering contracts (anomalyco#40375)
  fix(core): make xAI OAuth device-only (anomalyco#40538)
  test(app): migrate e2e fixtures to v2 (anomalyco#40374)
  fix(core): report missing shell workdir (anomalyco#40542)
  fix(ai): restore Responses tool input semantics (anomalyco#40553)
  fix(ai): classify malformed Responses tool calls (anomalyco#40549)
  feat(tui): streamline tab navigation shortcuts (anomalyco#40551)
  fix(ai): preserve Gemini tool finish semantics (anomalyco#40546)
  fix: retry empty incomplete streams (anomalyco#40535)
  fix(app): finish tool call ID rename (anomalyco#40539)
  refactor: rename tool call ID fields
  fix(client): wait for live service contenders (anomalyco#40515)
  chore(core): drop unreachable AI SDK provider packages (anomalyco#40504)
  fix(tui): update tab titles immediately (anomalyco#40318)
  fix(tui): show branch beside directory (anomalyco#40500)
  feat(vcs): publish branch updates (anomalyco#40371)
  ...
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.

1 participant