Repository navigation
Type the Plugin Driver conformance suite - #6099
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 changesConverts the Plugin Driver conformance suite to TypeScript, extracts typed fixtures and case modules, and updates CI and contributor commands. Example: A contributor runs the Plugin Driver conformance suite.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is useful test maintenance with no actionable findings; keep it open for normal maintainer landing. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe conformance suite supplies plugin selections, configurations, and controlled protocol responses to the bundled Plugin Drivers, then checks their catalog, policy, translation, and process-cleanup behavior. flowchart LR
A[CI lane] --> B[Typed test entry]
B --> C[Policy and translation cases]
B --> D[Catalog reader cases]
C --> E[Bundled Plugin Drivers]
D --> E
E --> F[Typed protocol peer]
E --> G[Behavior assertions]
Technical reviewBest possible solution: Land the focused TypeScript migration with the existing Driver contracts and conformance scenarios preserved. Do we have a high-confidence way to reproduce the issue? No product bug is claimed; source comparison establishes that current main still uses the JavaScript suite. Is this the best way to solve the issue? The migration follows existing test boundaries, retains independent expectations, and replaces generated script strings with a typed protocol fixture without adding production machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c068b1aa212a. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
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. Review metrics
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 14, 2026, 3:38 PM ET / 20:38 UTC. |
What changed
Run the Plugin Driver conformance suite as native TypeScript. The entry keeps all 37 cases in their existing order and groups them by the behavior they exercise. The native catalog cases launch a typed peer over real OS pipes. The closed-input case now checks both the error class and the specific write failure, and the Slack credential case checks the slot ID and label.
The baseline CI selector, duration estimate, and testing guide point to the typed entry. The plugin matrix still links to evidence at its original commit.
Verification