Repository navigation
improve: verify Workshop review outcomes through the real runtime - #132707
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 2:14 PM ET / 18:14 UTC. ClawSweeper reviewWhat this changesThe branch adds deterministic controlled-provider end-to-end tests for Workshop experience review and extracts shared OpenAI Responses streaming test helpers. Merge readinessNo blocking findings: the protected maintainer PR adds controlled-provider coverage through the existing Workshop review owner, tool catalog, proposal service, and outcome recorder, and remains open for normal exact-head CI and maintainer review. Priority: P2 Review scores
Verification
How this fits togetherWorkshop experience review replays a detached transcript through the embedded agent runtime and Skill Workshop tool, then records a proposal or review outcome. The new tests use controlled Responses events to verify that existing owner boundary. flowchart LR
A[Detached transcript] --> B[Workshop review]
B --> C[Embedded agent runtime]
C --> D[Skill Workshop tool]
D --> E[Proposal service]
B --> F[Review outcome state]
G[Controlled Responses stream] --> C
Before merge
Agent review detailsSecurityNone. PR surfaceSource +273, Tests -12. Total +261 across 5 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Land the focused owner-boundary integration coverage after normal exact-head checks and maintainer review; keep the distinct live acceptance-policy work in PR 132726 and durable-policy work in issue 129973 separate. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR supplies deterministic coverage rather than reporting a new user-facing failure, and its loopback scenarios directly exercise the relevant owner boundary. Is this the best way to solve the issue? Yes. A controlled loopback provider is the narrowest deterministic complement to live model evaluation; replacing the runner, tool catalog, or proposal service would test a different boundary. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8e4eb78fa20b. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
ce71061 to
ee82d9f
Compare
|
Merged via squash.
|
Related: #129973
What Problem This Solves
Release verification currently relies on a live model choosing to create a Workshop proposal, while the review prompt also permits an explicit
NO_REPLY. The existing deterministic owner tests mock the embedded runner, and the catalog-policy tests use a synthetic Workshop tool. They do not prove that a provider request can pass through the real review, catalog, and proposal service to a recorded outcome.Why This Change Was Made
Add four controlled-provider integration cases through the real Responses HTTP transport and Workshop owners: a successful proposal, explicit abstention, rejected tool input, and provider failure. The proposal case requires exactly one pending draft, matching persisted content and run progress, a returned tool receipt, and the recorded
proposedoutcome. Abstention and rejection must leave no proposal; provider failure must throw and recordfailed.The integration shares the existing canonical transcript fixtures with the live test, and shares Responses SSE encoding with the transcript-cursor E2E test. It uses the existing loopback server lifecycle helper. No runner, catalog, Workshop tool, or proposal service is replaced.
User Impact
No runtime or release-acceptance behavior changes. All existing live assertions, prompts, model selection, and mutation limits remain unchanged. This supplies the missing deterministic owner coverage requested by #129973; the live criterion is proposed separately in #132726, and the finer durable no-mutation policy in #129973 remains open.
Evidence
tbx_01m1733f5kagznqj90zvqfz3ma, frozend9fe780239a2cb7158aad437112156605e8d375cplus the test-only patch: all four controlled integration cases pass. The request assertions verify all six historical tool outputs and the realexec,read, andskill_workshopcatalog entries.f495a539f90includes the independent UI timing-test repair from chore(lint): upgrade oxlint to 1.79.0 #132682. The five Workshop/SSE files are byte-identical to the original head (git range-diffis equal); 41 Workshop tests and all 107 Markdown tests pass, including the deterministic scan-count assertion. Fresh Codex review is clean. The refreshed full changed-file gate passed. Exact-head CI is running onee82d9f27b5ffdd361671beef477f8ca2335b56a.Production delta: zero. Changes are tests and shared test support; no schema, configuration, dependency, or persistent-state changes.