Repository navigation
Conversation
ymichael
force-pushed
the
bb/fixer-keep-late-thinking-details-expandable-on-o-thr_qtzru86rhh
branch
from
September 8, 2026 22:33
d989d88 to
34ccca6
Compare
ymichael
deleted the
bb/fixer-keep-late-thinking-details-expandable-on-o-thr_qtzru86rhh
branch
September 8, 2026 22:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
An older timeline page could correctly keep an item that completed late beside the prompt where it started, but omit the newer user prompt that separates the two responses while rebuilding the older row. The older summary and its details endpoint then calculated different source ranges (
1–9versus4–8), so exact detail lookup failed with “Failed to load turn details.” This completes the behavior introduced by PR #3110; the reproduced case is documented in the fixer handoff.What changed
Standard older-page selection now includes the next prompt only as projection context when an item or turn lifecycle was backfilled past the cursor. The prompt establishes the same response boundary used by full-history and details projection, then is removed before the older page is returned. Existing late-item ownership, normal latest pages, byte and sequence pagination, interruption current work, and retained-output previews remain unchanged.
The regression expands the older summary returned by the real server timeline builder and proves it returns the same details as the complete timeline.
How you verified
Timeline turn summary details could not match range 1-9and passes after it.1–9versus4–8before the fix and4–8versus4–8with no error after it.pnpm exec turbo run test --filter=@bb/server -- test/services/threads/timeline-in-turn-window.test.ts— 30/30 passed after rebasing onto current localorigin/main.pnpm exec turbo run typecheck --filter=@bb/server— passed.Fixes: no linked issue.