Repository navigation
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. |
|
The boundary failure is confirmed, but replacing the registered Radius cases drops coverage that the PR body says is preserved. Please retain the existing registered-provider cases through |
|
Codex review: needs changes before merge. Reviewed September 14, 2026, 4:03 PM ET / 20:03 UTC. ClawSweeper reviewWhat this changesThe PR replaces the registered Radius provider in authentication tests with a generic fixture, removing a forbidden plugin import while checking wizard presentation and cancellation. Merge readiness⛔ Needs changes before merge - 2 items remain The boundary repair remains necessary on current main, but the discussion correctly identifies lost Radius regression coverage. The protected PR should remain open for that focused correction. Priority: P2 Review scores
Verification
How this fits togetherThe provider authentication runner connects plugin sign-in methods to OpenClaw’s setup wizard. These tests check that provider links and device codes reach clients and that cancellation reaches authentication. flowchart LR
A[Provider sign-in method] --> B[Shared authentication runner]
B --> C{Client can present links}
C --> D[Wizard link and device code]
C --> E[Local browser fallback]
F[User cancels wizard] --> B
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +5. Total +5 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Preserve the registered Radius local/remote regression through the existing public-entrypoint loader, retaining link, code, cancellation, and no-further-poll assertions. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main’s static Radius index import violates the core test-boundary assertion, and the replacement no longer executes Radius’s structured sign-in branch. No tests were run during this read-only review. Is this the best way to solve the issue? No. Removing the static import is appropriate, but the existing public-entrypoint loading helper can do that while preserving the registered-provider regression requested in the discussion. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 318ee9754d96. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Superseded by #148504, merged as 867e655. That landed the boundary repair while preserving the registered Radius device-code coverage in |
Refs #148469
What Problem This Solves
The core plugin-boundary test fails on main because the provider auth-method regression imports the Radius plugin entrypoint directly.
User Impact
No production behavior changes. This restores the core test boundary so unrelated PRs can pass the affected CI check.
Why This Change Was Made
Use a typed generic provider-auth fixture through the real auth runner and wizard session. Preserve local/remote link presentation, device-code metadata, and cancellation coverage while removing the Radius registration and HTTP mock. The fixture explicitly verifies that the wizard's cancellation signal reaches the auth method. Radius-specific OAuth behavior remains owned by its plugin tests; no new public export or boundary exception is needed.
Evidence
node scripts/run-vitest.mjs src/plugins/contracts/boundary-invariants.test.ts src/plugins/provider-auth-method.test.tsstopped at the boundary suite with 1 failed / 12 passed. The sole offender wassrc/plugins/provider-auth-method.test.tsat the assertion on line 333.node scripts/run-vitest.mjs src/plugins/provider-auth-method.test.tspassed all 8 cases independently.node scripts/check-changed.mjspassed, including the core TypeScript boundary, affected test typecheck, formatting, lint, and export scans.git diff --checkpassed.