Skip to content

fix(claw): keep setup wizard moving during provisioning#2360

Merged
RSO merged 6 commits intomainfrom
fix/claw-background-provisioning
Apr 14, 2026
Merged

fix(claw): keep setup wizard moving during provisioning#2360
RSO merged 6 commits intomainfrom
fix/claw-background-provisioning

Conversation

@RSO
Copy link
Copy Markdown
Contributor

@RSO RSO commented Apr 13, 2026

Summary

  • Keep the KiloClaw setup wizard on the identity, permissions, and channel steps while new instances provision in the background.
  • Reserve the full provisioning step for the end of the wizard, where it applies user-selected config and waits for gateway readiness.
  • Start status polling through the create-first setup route for personal and org flows so the wizard does not reset when billing/status catches up.

Verification

  • pnpm -w exec oxfmt \"apps/web/src/app/(app)/claw/new/page.tsx\" \"apps/web/src/app/(app)/claw/components/ClawOnboardingFlow.tsx\" \"apps/web/src/app/(app)/organizations/[id]/claw/new/OrgClawNewClient.tsx\"
  • pnpm typecheck
  • Browser smoke: opened /claw/new with an isolated fake user session and confirmed the create card renders; clicking Get Started was blocked by local backend provisioning with Failed to create: fetch failed.

Visual Changes

N/A — flow behavior only; no static UI styling changes.

Reviewer Notes

  • The small background provisioning banner still appears on setup steps until the gateway is running.
  • The full ProvisioningStep still runs after channel selection/skip so config, channel tokens, and bot identity are applied once the instance is ready.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Apr 13, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • apps/web/src/app/(app)/organizations/[id]/claw/new/OrgClawNewClient.tsx

Reviewed by gpt-5.4-20260305 · 1,975,878 tokens

@RSO RSO force-pushed the fix/claw-background-provisioning branch from ea0575a to 166ad54 Compare April 13, 2026 14:58
@RSO RSO merged commit 9559fd6 into main Apr 14, 2026
14 checks passed
@RSO RSO deleted the fix/claw-background-provisioning branch April 14, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants