Repository navigation
test: share saved provisioning plan setup - #5452
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 shares admission, Plugin Driver switching, and first-retry setup across five PostgreSQL provisioning tests. Example: A Secret Driver becomes unavailable after provisioning admission.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open. The focused test refactor preserves the five scenarios’ assertions and worker timing; no actionable introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe PostgreSQL provisioning suite submits requests through an injected controller app, runs the real controller worker with test Drivers, and checks persisted work, API responses, effects, and audit records. flowchart LR
A[Provisioning scenarios] --> B[Shared setup helpers]
B --> C[Injected controller app]
C --> D[PostgreSQL state]
D --> E[Controller worker]
E --> F[Test Drivers]
D --> G[Scenario assertions]
Technical reviewBest possible solution: Retain the focused extraction and its scenario-specific assertions for normal review when the author marks the draft ready. Do we have a high-confidence way to reproduce the issue? No product bug is claimed; the relevant verification is preservation of the existing provisioning scenarios. Is this the best way to solve the issue? The extraction uses the existing fixture and worker stop hook, preserves independent expected outcomes, and adds no production seam or duplicate tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d8cfd61434b8. 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, 5:13 AM ET / 10:13 UTC. |
Summary
Share the Namespace, Secret, and request setup used by the five tests that revalidate a saved provisioning plan after a Driver change. The Plugin cases share the Driver switch setup, and the transient Sandbox and Secret cases share the check for one queued retry after the first worker attempt. Each case keeps its own refusal, replay, side-effect, audit, and cleanup assertions.
Verification
6905a203and candidate958dff53. The ordered results matched with zero skips, including all five affected cases. Both runs completed cleanup.