Skip to content

ref(chat): Separate vision cache from thread scratch - #1368

Merged
dcramer merged 3 commits into
mainfrom
refactor/separate-vision-cache
Aug 10, 2026
Merged

dcramer merged 3 commits into
mainfrom
refactor/separate-vision-cache

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Vision summaries are rebuildable input context, not durable conversation state.

This change moves them to a versioned, seven-day Redis cache. Thread scratch now stores only processing control and sandbox metadata. Cache expiry may repeat image analysis, but it does not lose product state.

Closes the vision-cache decision in #1267.

Requested by David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 10, 2026 3:28am

Request Review

@dcramer
dcramer marked this pull request as ready for review August 10, 2026 03:17
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 10, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d23676a. Configure here.

@dcramer
dcramer merged commit 263d23c into main Aug 10, 2026
37 checks passed
@dcramer
dcramer deleted the refactor/separate-vision-cache branch August 10, 2026 03:33

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 2eb2f3c8 Deployed Aug 10, 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