Skip to content

Fix slow quick workspace creation - #1985

Merged
AmethystLiang merged 1 commit into
mainfrom
improve-create-dialog-speed
May 15, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
improve-create-dialog-speed

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

  • keep Cmd/Ctrl+N quick-create enabled while hook and issue-command probes are still pending
  • skip issue-command automation reads for the quick-create modal, since that path launches blank/draft sessions instead
  • resolve setup hook state on submit when needed, with guarded hook-check commits to avoid stale repo races

Verification

  • pnpm exec vitest run src/renderer/src/lib/new-workspace-create-gates.test.ts --config config/vitest.config.ts
  • pnpm exec oxlint src/renderer/src/components/NewWorkspaceComposerModal.tsx src/renderer/src/hooks/useComposerState.ts src/renderer/src/lib/new-workspace-create-gates.ts src/renderer/src/lib/new-workspace-create-gates.test.ts
  • pnpm typecheck

Note: an initial broad Vitest invocation accidentally ran the full suite and failed only on local better-sqlite3 native ABI mismatch (compiled for NODE_MODULE_VERSION 145, current Node requires 137).

@AmethystLiang
AmethystLiang merged commit 027f561 into main May 15, 2026
3 checks passed
@AmethystLiang
AmethystLiang deleted the improve-create-dialog-speed branch May 15, 2026 20:43
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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.

1 participant