Skip to content

ref(chat): Remove turn-session ops metadata from Redis - #1315

Merged
dcramer merged 4 commits into
mainfrom
ref/turn-session-drop-redis-ops
Aug 8, 2026
Merged

dcramer merged 4 commits into
mainfrom
ref/turn-session-drop-redis-ops

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Stop persisting turn-session ops metadata in Redis while keeping SQL conversation metadata writes live during rollout. Redis records now retain only resume/control fields and volatile runtime context.

SQL-backed runtime metadata

Channel name, cumulative duration, and cumulative usage are materialized from the canonical conversation row. Model, reasoning, and loaded-skill values remain live caller data rather than persisted resume state; actor lists are derived from committed instruction provenance.

Redis shape

channelName, modelId, reasoningLevel, loadedSkillNames, cumulativeDurationMs, cumulativeUsage, and actors are stripped from stored turn-session records. Component coverage verifies the fields stay out of Redis while SQL receives the operational metrics.

Refs #1267

Requested by David Cramer.

--

View Junior Session [Sentry]

@vercel

vercel Bot commented Aug 8, 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 8, 2026 1:29am

Request Review

@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 1 potential issue.

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 a7f2452. Configure here.

@dcramer
dcramer merged commit 2472bd0 into main Aug 8, 2026
54 of 56 checks passed
@dcramer
dcramer deleted the ref/turn-session-drop-redis-ops branch August 8, 2026 01:42

This branch was successfully deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant