Skip to content

fix: split oversized final results into indexed chunks#109

Merged
LIU9293 merged 1 commit intomainfrom
feat/chunk-long-result-messages-366539
Feb 21, 2026
Merged

fix: split oversized final results into indexed chunks#109
LIU9293 merged 1 commit intomainfrom
feat/chunk-long-result-messages-366539

Conversation

@LIU9293
Copy link
Contributor

@LIU9293 LIU9293 commented Feb 21, 2026

Summary

  • add a shared splitResultMessage helper that splits final output at 3000 chars, prefers newline/space boundaries, and prefixes multipart chunks as (i/N)
  • update runtime final publishing to send multipart chunks as separate thread messages instead of a single truncated message
  • remove underscore-wrapped fallback notices and add focused tests for chunking and index prefix behavior

Testing

  • bun test packages/core/test/result-message.test.ts packages/core/test/request-runner.test.ts

@LIU9293 LIU9293 merged commit d691df7 into main Feb 21, 2026
2 checks passed
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