[PR #1446] [CLOSED] Responses: replay fixes, experimental persistence and optional summaries #3460

Closed
opened 2026-11-07 14:41:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1446
Author: @CC-David-CC
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: work/responses-core


📝 Commits (1)

  • 54aa4ca Responses: preserve replay and add experimental persistence and summary controls

📊 Changes

9 files changed (+1101 additions, -51 deletions)

View changed files

📝 docs/DETAILS.md (+6 -3)
➕ docs/RESPONSES_EXPERIMENTAL.md (+126 -0)
📝 serve/frontend.py (+10 -3)
➕ serve/response_runner.py (+147 -0)
➕ serve/response_store.py (+220 -0)
📝 serve/responses.py (+25 -17)
📝 serve/server.py (+109 -25)
📝 serve/test_responses.py (+11 -3)
➕ serve/test_responses_experimental.py (+447 -0)

📄 Description

Summary

Build on main d5ea7133 (0.1.40.3), port stateless replay fixes, and add independently configurable persistence and generated summaries. Both experimental features default off.

What changed

  • responses.py / frontend.py: retain late instruction authority and interrupted reasoning in Responses replay.
  • response_store.py: durable response IDs, branching, previous_response_id, retrieve/delete/input_items, retention and restart recovery.
  • response_runner.py / server.py: reuse the existing generation queue; add --experimental-responses-persistence and --experimental-responses-summaries. Use --no-experimental-responses-summaries to skip the second generation and retain primary output and raw reasoning.
  • Tests and docs cover configuration, API contracts and failure handling.

Extra Notes

388 regression tests and 128 focused checks passed (overlapping suites; no failures or skips). Includes SDK requests and real process restarts with a mock engine. Persistence stores API history, not KV state. Native GPU latency is not yet measured; this branch is not deployed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1446 **Author:** [@CC-David-CC](https://github.com/CC-David-CC) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `work/responses-core` --- ### 📝 Commits (1) - [`54aa4ca`](https://github.com/Niko1221/Strata/commit/54aa4caaa3c3756fb0d258cbc3cc1647ff3562d9) Responses: preserve replay and add experimental persistence and summary controls ### 📊 Changes **9 files changed** (+1101 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `docs/DETAILS.md` (+6 -3) ➕ `docs/RESPONSES_EXPERIMENTAL.md` (+126 -0) 📝 `serve/frontend.py` (+10 -3) ➕ `serve/response_runner.py` (+147 -0) ➕ `serve/response_store.py` (+220 -0) 📝 `serve/responses.py` (+25 -17) 📝 `serve/server.py` (+109 -25) 📝 `serve/test_responses.py` (+11 -3) ➕ `serve/test_responses_experimental.py` (+447 -0) </details> ### 📄 Description ## Summary Build on main d5ea7133 (0.1.40.3), port stateless replay fixes, and add independently configurable persistence and generated summaries. Both experimental features default off. ## What changed - responses.py / frontend.py: retain late instruction authority and interrupted reasoning in Responses replay. - response_store.py: durable response IDs, branching, previous_response_id, retrieve/delete/input_items, retention and restart recovery. - response_runner.py / server.py: reuse the existing generation queue; add --experimental-responses-persistence and --experimental-responses-summaries. Use --no-experimental-responses-summaries to skip the second generation and retain primary output and raw reasoning. - Tests and docs cover configuration, API contracts and failure handling. ## Extra Notes 388 regression tests and 128 focused checks passed (overlapping suites; no failures or skips). Includes SDK requests and real process restarts with a mock engine. Persistence stores API history, not KV state. Native GPU latency is not yet measured; this branch is not deployed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:38 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3460
No description provided.