Repository navigation
fix(live): provide stable OpenCode session identity - #150501
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
aeada63 to
d03ad46
Compare
|
Codex review: needs maintainer review before merge. Reviewed September 17, 2026, 2:24 AM ET / 06:24 UTC (Revision 4). ClawSweeper reviewWhat this changesThe PR supplies stable per-model session IDs to direct live-model probes and moves their existing OpenAI instructions into a lightweight tested helper. Merge readiness✅ Ready for maintainer review This remains a useful, bounded live-validation fix. The related merged changes do not supply stable per-model identity at this direct probe call site, and no blocking defect was found. Priority: P2 Review scores
Verification
How this fits togetherThe live-model suite sends diagnostic prompts to selected providers and reports completion failures during release validation. Its session ID feeds the existing transport policy that attaches OpenCode routing headers. flowchart LR
A[Selected provider and model] --> B[Live completion probe]
C[Explicit session ID] --> D[Preserve explicit or derive stable ID]
B --> D
D --> E[Existing provider transport]
E --> F[OpenCode routing header]
F --> G[Completion result and validation report]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +10, Tests +2. Total +12 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep probe identity deterministic at the live-test caller while the existing transport owner handles routing headers and explicit-header precedence. Do we have a high-confidence way to reproduce the issue? No independently verified HTTP reproduction was established in this read-only review. Source confirms the omitted probe identity and the documented header mechanism; the PR reports the release-validation failure. Is this the best way to solve the issue? Yes. Supplying the existing session option at the direct probe boundary is a narrow repair that preserves explicit values and leaves provider header policy centralized. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c49879668263. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
1cd49ad to
fea9a7a
Compare
fea9a7a to
3eacb2a
Compare
Summary
Validation
pnpm vitest run src/agents/live-model-session-id.test.tspnpm check:changedRelease evidence
Fixes the OpenCode live-model HTTP 400 failures in Full Release Validation 35164828118, where every request was rejected because the probe supplied no session identity.