Flight Log / microsoft/semantic-kernel #12557
Fix TextChunker.SplitPlainTextLines to properly split on newlines regardless of token count — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/semantic-kernel on Jun 20, 2025; a burn — closed unmerged after human review: +96 −9, 4 files, 0 reviews.
- Lines
- +96 −9
- Files
- 4
- Commits
- 4
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Copilot was asked to fix TextChunker.SplitPlainTextLines so it splits on newlines even when the token count is below maxTokensPerLine. The change touched four files across four commits, adding 96 lines and removing nine. The record shows zero reviews, zero change requests, and zero review comments. The pull request was closed unmerged after human review, logged as a burn.
“Hi @RogerBarreto / @markwallace-microsoft, I have raised PR to fix this. I have also validated all existing test cases and added a new one. Please”
— from the review (source)
From the pull request description
## Problem The `TextChunker.SplitPlainTextLines` method does not split text on newlines when the total token count is less than `maxTokensPerLine`. This is counterintuitive given the method name implies line-based splitting. ```csharp // This should split into 3 lines but currently returns 1 line …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- Jun 24, 2025closedrogerbarreto
Read next
Cite this flight: AgentRiders Flight Log, microsoft/semantic-kernel#12557, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/semantic-kernel/12557/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.