Repository navigation
fix: align WebChat fixtures with required replies and remove an unused macOS export - #197605
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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR supplies replies for successful WebChat test turns, corrects reply-policy expectations, and makes an unused macOS audit export private. Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is useful maintenance: it aligns fixtures with the current reply contract without weakening their assertions. No actionable correctness or security findings; the reviewed head passes the CI gate. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGateway fixtures exercise admitted chat and session requests through reply processing; the macOS packaging CLI invokes the existing native dependency audit. flowchart LR
A[Gateway test requests] --> B[Admission and session controller]
B --> C[Reply processing]
C --> D[Fixture answer and assertions]
E[macOS packaging CLI] --> F[Native dependency audit]
Technical reviewBest possible solution: Retain the focused fixture repairs and private audit function while preserving the existing production reply and packaging owners. Do we have a high-confidence way to reproduce the issue? Source confirms the obsolete result-required expectations and empty successful-turn fixtures; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch repairs setup at the existing fixture boundaries, preserves distinct behavioral assertions, and removes no callable packaging path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 52569752c0e7. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests +11, Other 0. Total +11 across 6 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 12, 2026, 2:39 AM ET / 07:39 UTC. |
|
Merged via squash.
|
What Problem This Solves
Human WebChat turns now use the
requiredreply policy, but several fixtures still returned no answer for turns expected to succeed. Both attachment tests reported “No answer was returned.” The gateway wait logs showed only an error status.The tests now expect
requiredfor human turns andoptionalfor scheduled heartbeats. Only successful turns get a normal text reply. The primary finalization callback still returnsundefined. The tests still check admission, cancellation, explicit silence, errors, history, and the bytes of staged attachments. The macOS packaging CLI still calls the same app audit after removal of its unused export.Evidence
Across five whole test files, 43/43 tests passed on Node and 43/43 on Bun, with zero skips. Both runs used the original candidate before the formatting-only line wrap and the port to current main. Lint passed on the six changed files. Final formatting and diff checks passed after the wrap. The port matches that formatted patch byte for byte. CI and all six CodeQL Security High analyses passed on
167dc5f. Native Darwin also passed. The script-export Knip scan remains unverified.