Skip to content

Conversation

@ariane-emory
Copy link
Owner

DUMMY PR, IGNORE

Replace reconcile() with produce() for TextPart updates during streaming to prevent race conditions where text-end events overwrite accumulated text from text-delta events.

- Use produce() for incremental text updates instead of full object replacement
- Preserve streaming context and prevent mid-sentence truncation
- Maintain backward compatibility for non-text parts with fallback to reconcile()
- Fix race condition in sync.tsx that caused intermittent truncation
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

Hey! Your PR title Fix/message truncation doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants