Skip to content

fix(ci): keep Radius auth tests outside core typechecks - #148503

Closed
steipete wants to merge 1 commit into
mainfrom
codex/radius-auth-test-boundary-20260914
Closed

steipete wants to merge 1 commit into
mainfrom
codex/radius-auth-test-boundary-20260914

Conversation

@steipete

@steipete steipete commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Related: #148469

What Problem This Solves

Restores core CI typechecks after the Radius sign-in regression test pulled bundled plugin source into the core test graph. This is a maintainer-requested follow-up.

User Impact

No runtime behavior changes. Core validation works again while registered Radius sign-in and cancellation remain covered.

Why This Change Was Made

Keep the generic auth adapter tests in core and exercise the real registered Radius OAuth method in the plugin's existing test suite through public SDK helpers. The plugin cases verify local and remote code presentation, cancellation after progress starts, and no subsequent token or catalog request. Existing WizardSession tests retain link, device-code and cancellation coverage.

Preserves the coverage contributed by @obviyus in #148469. No typecheck exclusions, baselines, SDK exports or runtime code change.

Evidence

  • Reproduced the unchanged-main boundary failure at 1f4521eb: five Radius files appeared in core-test-plugins-platform.
  • The repaired core graph boundary passes.
  • All 72 focused tests pass across the core auth adapter, WizardSession, Radius registration and Radius OAuth suites.
  • Independent review found no actionable P0–P2 issues.
  • Full changed-file checks pass, including both typecheck suites, the core graph boundary, plugin boundaries and typed lint.

Preserve generic auth routing in core and registered Radius device-code cancellation in the plugin test suite.

Co-authored-by: Ayaan Zaidi <[email protected]>
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 14, 2026 19:57
@steipete

steipete commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor Author

This preserves the real Radius structured device-code and cancellation cases that #148502 currently loses. I inspected the two-file diff and the existing OAuth/test owners; moving those registered-provider cases to the Radius suite is a suitable boundary repair.

There are two simultaneous main regressions to account for before landing. Registry-only #148493 completed CI run 34888240681 with only the two Radius boundary failures and the aggregate gate failing. Its storage-state job passed all eight recovery-integration cases under infra (98/98 files in that owner group).

Update: exact-head CI 34890017945 is successful on 6a9f10c989802a9937ec751469a67c3ef91e30b0. Although that head still has zero recovery registrations, its selected CI passes, so there is no current mutual CI block: this repair can land first, followed by the existing registry restoration. No combined replacement PR is needed on the observed evidence. I am keeping our redundant restoration unmerged to avoid racing the existing owners.

@steipete steipete self-assigned this Sep 14, 2026
@steipete steipete closed this Sep 14, 2026
@steipete steipete reopened this Sep 14, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 14, 2026, 4:46 PM ET / 20:46 UTC.

ClawSweeper review

What this changes

Moves registered Radius sign-in and cancellation tests into the plugin suite while keeping generic authentication adapter tests in core.

Merge readiness

⛔ Blocked before merge - 2 items remain

The repair is already covered by merged #148504. Keep open for maintainer disposition because this PR carries protected maintainer status; no blocking patch defect was found.

Priority: P3
Reviewed head: 6a9f10c989802a9937ec751469a67c3ef91e30b0
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, sound boundary repair with successful CI; subsequent supersession does not diminish patch quality.
Proof confidence 🌊 off-meta tidepool Not applicable: Maintainer-authored test-only repair with successful exact-head CI; no production behavior changes. Inspected predecessor screenshots show sign-in controls but are not evidence for this typecheck repair.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Maintainer-authored test-only repair with successful exact-head CI; no production behavior changes. Inspected predecessor screenshots show sign-in controls but are not evidence for this typecheck repair.
Evidence reviewed 8 items Introduced scope: The pinned merge-base-to-head delta changes only the two test files. No runtime, SDK export, dependency, workflow, configuration, or storage changes are introduced.
Merged canonical repair: GitHub confirms #148504 merged at 2026-09-14T20:39:08Z. Its body explicitly describes moving the registered Radius cases out of core while retaining the auth adapter, WizardSession, device metadata, cancellation, and settlement.
Current-main coverage: Current main retains both local and remote registered Radius cases in the root integration suite, including the real auth adapter and wizard, link/code/expiry assertions, cancellation, settlement, and exactly one guarded request. The core test file matches this PR's repaired version.
Findings None None.
Security None None.

How this fits together

OpenClaw separates core typechecking from bundled plugin source. These tests check how Radius presents device sign-in details and stops authentication when cancelled.

flowchart TD
  A[Authentication regression tests] --> B{Test owner}
  B --> C[Generic core adapter tests]
  B --> D[Radius plugin tests]
  C --> E[Core typechecks]
  D --> F[Device code and cancellation checks]
Loading

Decision needed

Question Recommendation
Should this protected PR be retired now that the merged canonical repair preserves the Radius flow outside core? Retire the redundant branch: Close this PR in favor of the merged integration-suite repair at #148504.

Why: The technical purpose is covered, but protected maintainer work requires explicit human disposition.

Before merge

Agent review details

Security

None.

PR surface

Tests +19. Total +19 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 71 52 +19
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 71 52 +19

Review metrics

None.

Root-cause cluster

Relationship: superseded
Canonical: #148504
Summary: The merged canonical repair covers the same core import-boundary failure and preserves the registered Radius regression.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Retain main's integration-suite coverage and generic core tests, with maintainer-directed retirement of the redundant branch.

Do we have a high-confidence way to reproduce the issue?

No current-main failure was reproduced: main has removed the offending core import and relocated the registered-provider flow. The original failure mechanism is supported by the boundary guard and captured validation.

Is this the best way to solve the issue?

Yes, separating generic core tests from provider tests is sound; main's merged integration suite now achieves that separation while retaining the complete adapter-to-wizard flow.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5d461f09667b; fix evidence: commit 867e655d51d8, main fix timestamp 2026-09-14T20:39:07Z.

Labels

Label changes:

  • add P3: Current main already repairs the test boundary; the remaining task is protected branch disposition.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Maintainer-authored test-only repair with successful exact-head CI; no production behavior changes. Inspected predecessor screenshots show sign-in controls but are not evidence for this typecheck repair.

Label justifications:

  • P3: Current main already repairs the test boundary; the remaining task is protected branch disposition.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Maintainer-authored test-only repair with successful exact-head CI; no production behavior changes. Inspected predecessor screenshots show sign-in controls but are not evidence for this typecheck repair.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit f89fa78 adds extensions/radius/index.ts:24 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f89fa78584b8; files: extensions/radius/index.ts)
  • obviyus: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa

RomneyDa commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

superceded by #148504

@RomneyDa RomneyDa closed this Sep 14, 2026
@RomneyDa
RomneyDa deleted the codex/radius-auth-test-boundary-20260914 branch October 22, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: radius maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants