Skip to content

fix(git): model non-git workspace availability - #295

Open
oxwen11 wants to merge 1 commit into
port/pie-55-branch-footerfrom
port/pie-59-workspace-availability
Open

oxwen11 wants to merge 1 commit into
port/pie-55-branch-footerfrom
port/pie-59-workspace-availability

Conversation

@oxwen11

@oxwen11 oxwen11 commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

Test plan

  • turbo run test --filter=@vibest/server --force -- test/git.test.ts test/rpc-git.test.ts
  • Session whose cwd is not a git repo: footer says Not a Git repository, composer still accepts input
  • Session whose cwd is a git repo: footer still shows the branch name
  • Deleted / unreadable project folder: footer says Workspace unavailable, send stays disabled

Made with Cursor

Non-git directories and missing folders return kind tags from git.branch;
only a real git execution failure stays GIT_FAILED. The composer labels
those states and blocks send when the workspace is gone.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

React Doctor found 1 issue in 1 file · 1 warning · score 92 / 100 (Great) · full project

1 warning

src/features/chat/runtime/client-prompt-queue.ts

  • ⚠️ L0 unused-file

Reviewed by React Doctor for commit fb55a36. See inline comments for fixes.

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