Skip to content

ref(cache-warming): Read replay fields from payload keys - #3529

Merged
BYK merged 1 commit into
mainfrom
feat/history-replay-fields
Nov 16, 2026
Merged

BYK merged 1 commit into
mainfrom
feat/history-replay-fields

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #3528.

The cache warming history scan reads stopReason, timestamp, toolName, and isError of each assistant message and tool result. In schema v2 they are only in the message JSON string, so each row had to be parsed with ::jsonb.

  • encodeHistoryPayload now also writes these fields as payload keys, next to model and usage.
  • loadEvents reads a row with these keys directly and parses the message string only for rows from older releases.
  • modelId comes from the model payload key, which v1 and v2 rows both have.

--

View Session [Sentry]

@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 16, 2026 8:14pm UTC

Request Review

@BYK
BYK marked this pull request as ready for review November 16, 2026 20:20
@BYK
BYK enabled auto-merge (squash) November 16, 2026 20:20
@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 16, 2026
@blacksmith-sh

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

26 screenshot changes — 26 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automation Skill Editor · Mobile
Automation Skill Editor · Mobile
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Attachment Zoom · Mobile
Conversation Attachment Zoom · Mobile
Changed
Show 12 more changed screenshots
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Event Log · Mobile
Conversation Event Log · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Memory List Jump · Desktop
Conversation Memory List Jump · Desktop
Changed
Conversation Memory List Jump · Mobile
Conversation Memory List Jump · Mobile
Changed
Conversation Object Links · Desktop
Conversation Object Links · Desktop
Changed
Conversation Object Links Light · Desktop
Conversation Object Links Light · Desktop
Changed
Conversation Pending Attachment · Desktop
Conversation Pending Attachment · Desktop
Changed
Conversation Pending Attachment · Mobile
Conversation Pending Attachment · Mobile
Changed
Conversation Question Picks And Text · Desktop
Conversation Question Picks And Text · Desktop
Changed

8 more changed screenshots in Frameshift.

@BYK
BYK merged commit d7c7fed into main Nov 16, 2026
87 of 91 checks passed
@BYK
BYK deleted the feat/history-replay-fields branch November 16, 2026 21:22

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 7e0539d3 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant