Skip to content

fix(onboard): enable Runway and Alibaba video provider authentication - #126722

Merged
steipete merged 3 commits into
mainfrom
codex/onboarding-video-provider-auth
Aug 20, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/onboarding-video-provider-auth

Conversation

@steipete

@steipete steipete commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users following the documented Runway or Alibaba Model Studio onboarding instructions could not authenticate their video-generation provider. Both plugins advertised their public authentication choices, direct API-key flags, and environment-variable aliases, but registered only their video capability and never registered an executable authentication owner.

Why This Change Was Made

Register each provider's existing SDK API-key authentication method inside its owning plugin, alongside its existing video provider. Preserve documented credential aliases, the media-only onboarding scope, explicit-flag precedence, existing video capabilities, and the absence of text-model catalogs or text-model defaults. This follows the existing Comfy/PixVerse owner pattern and requires no shared-core, manifest, schema, or configuration changes.

The initial hosted build also reproduced an already-red main Control UI startup-budget regression caused by cumulative application growth. The startup-resident application host now loads its existing 469-line onboarding memory-import component and dedicated styles only when the onboarding route actually needs them, preserving the onboarding flow without weakening the committed startup budget.

User Impact

Both documented provider-specific flows now complete successfully:

openclaw onboard --non-interactive --accept-risk --auth-choice runway-api-key --runway-api-key <fixture> ...
openclaw onboard --non-interactive --accept-risk --auth-choice alibaba-model-studio-api-key --alibaba-model-studio-api-key <fixture> ...

Runway persists runway:default, Alibaba persists alibaba:default, and neither video-only provider replaces an existing chatbot text model. Existing environment aliases remain supported.

Evidence

  • Before: executing both actual plugin entrypoints against their existing public manifests registered their video capability but zero authentication providers; the newly added owner-boundary regressions fail at the missing provider registration.
  • After: the real installed CLI completed isolated, noninteractive onboarding for both providers with fixture keys, no provider-network calls, no gateway/service changes, and strict successful JSON results. The built launcher loaded the exact current plugin owner implementations plus already-merged media onboarding semantics through an in-memory read-only loader; each resulting isolated config contained the correct provider profile and enabled plugin, with no text-model default.
  • Actual SQLite authentication-profile persistence and the canonical noninteractive credential resolver independently confirmed both owner profiles. An explicit Alibaba Standard fixture key beat an ambient Qwen Coding Plan fixture key.
  • Existing plugin video suites gained focused regressions protecting provider/choice registration, direct flag and canonical environment mapping, all documented environment aliases, media-only scope, existing video capabilities, no text-model catalog, and no text starter model.
  • Targeted canonical formatter and linter passed for all four changed files; git diff --check passed; independent Codex autoreview reported no actionable findings.
  • Production: +52/-0 across two missing executable plugin owner registrations; tests: +96/-0. The shorter single-provider SDK entry abstraction was rejected because it would incorrectly invent text-model catalogs for video-only plugins.
  • Independent current-main builds failed the identical Control UI startup limit: 348274 B and 348310 B versus the 348079 B committed-baseline allowance; the original PR build was 348284 B. Moving the startup-resident onboarding memory-import component behind its actual onboarding-route condition reduced the exact hosted startup bundle to 345211 B (337.1 KiB), restoring 2868 B of budget headroom; both the package build and real-Gateway UI end-to-end job passed. An initial attempted lightbox optimization was completely reverted after hosted build evidence proved that viewer was already route-lazy.
  • Named separate follow-up: credential-class validation for ambient Standard-versus-Coding-Plan DashScope keys affects existing Qwen Standard authentication as well as Alibaba and should be repaired once at the cross-provider credential owner; explicit provider flags already take precedence.

Related: #126711

AI-assisted implementation and review.

@clawsweeper

clawsweeper Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 20, 2026 15:54
@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Aug 20, 2026
@steipete
steipete merged commit 7975432 into main Aug 20, 2026
176 checks passed
@steipete
steipete deleted the codex/onboarding-video-provider-auth branch August 20, 2026 16:30
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 21, 2026
…openclaw#126722)

* fix(onboard): enable Runway and Alibaba video provider authentication

* perf(ui): load image lightbox only when opening images

* perf(ui): defer onboarding memory import outside setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant