Skip to content

fix: clean windows onboarding changes against main#796

Open
AnrokX wants to merge 15 commits intomainfrom
fix/windows-onboarding-clean-main
Open

fix: clean windows onboarding changes against main#796
AnrokX wants to merge 15 commits intomainfrom
fix/windows-onboarding-clean-main

Conversation

@AnrokX
Copy link
Collaborator

@AnrokX AnrokX commented Mar 4, 2026

Summary

  • Rebuilds the Windows onboarding dependency flow on top of main history only (clean PR base)
  • Ports onboarding UI/UX, setup actions, and diagnostics detection updates used in the VM flow
  • Adds setup action endpoints/service and keeps onboarding launch behavior in Tauri startup path

Files in scope

  • client/app.js
  • client/index.html
  • client/notifications.js
  • client/styles.css
  • client/styles/tabs.css
  • server/diagnosticsService.js
  • server/index.js
  • server/setupActionService.js
  • src-tauri/src/main.rs
  • CODEBASE_DOCUMENTATION.md

Validation

  • node --check server/index.js
  • node --check server/diagnosticsService.js
  • node --check server/setupActionService.js
  • node --check client/app.js
  • npm run -s test:unit (79 passed, 2 failed)
  • Verified the same 2 failing tests also fail on origin/main:
    • tests/unit/sessionRecoveryService.clearAgent.test.js
    • tests/unit/sessionManager.statusCleanup.test.js

Notes

web3dev1337 added a commit that referenced this pull request Mar 8, 2026
Cherry-pick the windows onboarding flow from AnrokX PRs #796 and #791
with all review issues fixed:

Features ported:
- First-run dependency wizard (Git, Node, npm, gh, Claude, Codex)
- Setup action service with PowerShell command runner
- GitHub CLI device-flow login with code detection
- Git identity configuration (name/email)
- Diagnostics panel enhancements
- Toast notification CSS rewrite
- Workspace startup race condition fix (workspaceSystemReady gate)
- Desktop launch trace support in bootstrap page

Issues fixed from review:
- Remove dead `guidance` variable (~60 lines never rendered in template)
- Add retention limit (50 runs) to setupActionService Maps (memory leak)
- Disable updater plugin instead of empty pubkey (prevents silent update failures)
- Keep stderr on non-Windows platforms for debugging (was nulled everywhere)
- Document autoCreate behavioral change in workspaceManager
- Exclude binary artifacts (zip files) and patch script from cherry-pick

Based on work by AnrokX in PRs #796 and #791.

Co-Authored-By: AnrokX <anrokx@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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