Skip to content

ref(chat): Thin turn-session recovery indexes - #1313

Merged
dcramer merged 1 commit into
mainfrom
ref/thin-turn-session-index
Aug 8, 2026
Merged

dcramer merged 1 commit into
mainfrom
ref/thin-turn-session-index

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Turn-session Redis indexes stop doubling as a dashboard feed. The global summary list is gone, and the per-conversation recovery index only keeps resume/dispatch fields.

Thin recovery projection

AgentTurnSessionSummary is no longer a fat omit of the full record. It stores only the fields recovery needs: session identity, state, version, resume reason, surface, and dispatch linkage. Ops fields like model, usage, skills, and channel name stay on the session record / SQL path.

Dashboard reads SQL

Removed listAgentTurnSessionSummaries, the global junior:agent_turn_session:index list, and the multi-conversation batch reader. Conversation reporting already comes from junior_conversations.

Refs #1267

Requested by U039RR91S.

--

View Junior Session [Sentry]

Drop the global dashboard index and shrink per-conversation recovery
summaries to resume/dispatch fields. Reporting stays on SQL.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Aug 7, 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 7, 2026 10:20pm

Request Review

@dcramer
dcramer marked this pull request as ready for review August 7, 2026 23:54
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 7, 2026
@dcramer
dcramer merged commit 2d4a89d into main Aug 8, 2026
41 checks passed
@dcramer
dcramer deleted the ref/thin-turn-session-index branch August 8, 2026 00:24

This branch was successfully deployed

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