Repository navigation
Extract OCC resource-route integration cases into TypeScript - #5431
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 moves three OCC resource-route integration cases into a strictly checked TypeScript module while retaining their original suite registration. Example: A revision-only reader loses its read permission before requesting an AgentRevision.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open for normal maintainer review: this maintainer-authored PR preserves the existing scenarios while adding strict TypeScript coverage, and no actionable defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe OCC API integration suite supplies authenticated controller fixtures to resource-route scenarios, which exercise HTTP responses, Namespace isolation, IAM decisions, and audit records. flowchart LR
A[OCC integration suite] --> B[Typed resource scenarios]
B --> C[Existing controller fixtures]
C --> D[OCC HTTP handlers]
D --> E[Native IAM and platform state]
D --> F[Responses and audit records]
Technical reviewBest possible solution: Retain the focused extraction with the existing fixture owners, scenario assertions, and suite registration. Do we have a high-confidence way to reproduce the issue? This PR is a test extraction rather than a reported product bug; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? The extraction uses existing fixtures, preserves observable assertions, and explicitly includes the new module in strict typechecking without introducing a parallel production path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b30d3def3d6c. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
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 11, 2026, 3:11 AM ET / 08:11 UTC. |
Summary
Move three OCC resource-route integration cases into a strict TypeScript module. The owning suite still registers the cases in their original order and supplies the existing injected controller fixtures.
Verification
tests/integration/occ-api.test.mjsfile passed all 136 cases on base228632a1, candidate398269f0, and the candidate composed with main69f1e911. Ordered results matched with zero skips. The focused base and candidate runs each passed the three extracted cases.1d09dc2e. The owning OCC API file matched all 136 local results in order, with zero skips and successful file and lane cleanup. Hosted job