Skip to content

Decouple chat bootstrap from branch metadata - #60

Open
dix105 wants to merge 1 commit into
dev-2-tempfrom
fix/decouple-chat-bootstrap-branches
Open

Decouple chat bootstrap from branch metadata#60
dix105 wants to merge 1 commit into
dev-2-tempfrom
fix/decouple-chat-bootstrap-branches

Conversation

@dix105

@dix105 dix105 commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes slow empty-chat loading by making chat render depend only on /api/chat/bootstrap, not unrelated branch metadata.

Changes

  • Removed middleware_branch_list from the blocking chat bootstrap Promise.all path.
  • Return empty branch metadata immediately so chat messages/composer can render as soon as V2 bootstrap resolves.
  • Fetch branch metadata asynchronously after bootstrap and update the React Query cache when it arrives.
  • Added implementation plan doc.

Verification

  • pnpm --filter ui typecheck
  • pnpm --filter ui build
  • git diff --check
  • Three-reviewer pass ✅

@vercel

vercel Bot commented May 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openclaw-desktop-ui Ignored Ignored Preview May 22, 2026 8:39am

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