Skip to content

fix: wire workspace list actions#562

Open
mariusvniekerk wants to merge 1 commit into
mainfrom
codex/wire-workspace-list-actions
Open

fix: wire workspace list actions#562
mariusvniekerk wants to merge 1 commit into
mainfrom
codex/wire-workspace-list-actions

Conversation

@mariusvniekerk

@mariusvniekerk mariusvniekerk commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Workspace context menus were exposing actions that looked available but did not actually run. That is a bad failure mode for a maintainer console because users need to trust that visible workspace actions either execute or report a real failure.

This wires push, pull, reveal, and delete from the workspace list, keeps foreground push/pull behavior conservative around dirty or diverged worktrees, and shows pending/failure feedback while long-running git operations are active.

Screenshot:

workspace-actions-context-menu.png

Validated locally with the focused workspace/server Go tests, the workspace sidebar unit tests, frontend typecheck, and the repository commit hooks.

generated by a clanker

Workspace row menus exposed push, pull, reveal, and delete affordances, but several were UI-only placeholders. That creates a dangerous mismatch for users managing real worktrees from the list.

Add foreground workspace branch sync endpoints that keep normal git hooks enabled, reject dirty or diverged states instead of silently mutating them, and expose the same operations through fleet proxies. The workspace list now shows per-row pending state and surfaces failed push, pull, reveal, and delete attempts through existing toast/error handling.

Validation: git diff --check; go test ./internal/workspace -shuffle=on; go test ./internal/server -run 'TestWorkspace(PushBranchRoutePushesAheadBranch|PullBranchRouteFastForwardsBehindBranch|PullBranchRouteRejectsDirtyWorktree|RevealRouteOpensWorkspacePath)$' -shuffle=on; cd frontend && node ../node_modules/vite-plus/bin/vp test run --project unit src/lib/components/terminal/WorkspaceListSidebar.test.ts; node node_modules/vite-plus/bin/vp run frontend-package-typecheck

Generated with Codex
Co-authored-by: Codex <codex@openai.com>
@mariusvniekerk

Copy link
Copy Markdown
Collaborator Author

workspace-actions-context-menu.png

generated by a clanker

@roborev-ci

roborev-ci Bot commented Jun 20, 2026

Copy link
Copy Markdown

roborev: Review Unavailable (68df465)

The review agent repeatedly failed to run (likely an agent or configuration error). roborev will try again on the next commit.

Last error: agent: claude-code failed stream: stream errors: You've hit your session limit · resets 5:50am (UTC): exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant