mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
Gate local realtime frame history on paginated storage (#62271)
## Why Legacy rollout migration rewrites rolled-back history and can disrupt the realtime stream. Enroll local threads once they use paginated history so the stream stays intact. ## What changed - Add the off-by-default `features.realtime_frames_local` flag for paginated local threads with a state database. Accept runtime updates through the app server and keep threads enrolled once they have a persisted canonical session start. - Add thread-store APIs to recover a realtime session and look up the latest session ID from durable history. Route frame completion through a store seal so completion acknowledges durable writes. - Add a local seal for accepted model input that writes source frames before the input and lets callers retry an uncertain flush without appending the input twice. ## Testing Cover enrollment for legacy and paginated threads, continued enrollment after disabling the flag, and retrying a local input seal after a failed directory sync. GitOrigin-RevId: 2012feeca3857da90f9b026f077b31a26d15191b
This commit is contained in:
@@ -6161,7 +6161,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadRealtimeFrameChannels": {
|
||||
"description": "A frame holds one or more payloads, at most one per channel. They share one ID, observation time, and seal. V1 requires its only channel, `voice_transcript`.",
|
||||
"description": "A frame holds one or more payloads, at most one per channel. They share one ID, observation time, and seal. Currently, `voice_transcript` is required.",
|
||||
"properties": {
|
||||
"voice_transcript": {
|
||||
"$ref": "#/definitions/ThreadRealtimeVoiceTranscript"
|
||||
|
||||
Reference in New Issue
Block a user