Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): stop mid-turn timeline overlap on streaming tool groups #12909

Closedmacodev00(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/12909/headopened View on GitHub

Showing 3 changed files with 190 additions and 0 deletions (loading 2).

x
0 of 3 viewed, 3 left
190 additions and 0 deletionsapps/web/src/components/chat/MessagesTimeline.logic.test.tsModified
View file
@@ -24,7 +24,9 @@
computeMessageDurationStart,
deriveMessagesTimelineRows,
deriveMessagesTimelineRowsWithState,
+ getFixedMessagesTimelineItemSize,
liveWorkEntryLabel,
+ messagesTimelineListExtraData,
normalizeCompactToolLabel,
resolveAssistantMessageCopyState,
resolveWorkGroupScrollIndex,
@@ -3890,3 +3892,191 @@
expect(reordered.result).toEqual([initial.result[1], initial.result[0]]);
+​
+describe("live tool group placement across a steer", () => {
+ const turnId = TurnId.make("turn-steer-overlap");
+ const startedAt = "2026-01-01T00:00:00Z";
+​
+ /** User message entry, including a mid-turn steer. */
+ function userEntry(id: string, at: string, text: string) {
+ return {
+ id: `${id}-entry`,
+ kind: "message" as const,
+ createdAt: at,
+ message: {
+ id: id as never,
+ role: "user" as const,
+ text,