Skip to content

Conversation

@kylecarbs
Copy link
Member

Generated with mux

Summary

  • Added a persisted "Fetch latest" checkbox to the workspace creation controls so new workspaces can start from the freshest remote state
  • Plumbed the fetchLatest flag through IPC, runtime APIs, and frontend settings; LocalRuntime now branches from origin/<trunk> after fetching, while SSHRuntime fetches, fast-forwards the trunk when safe, then bundles
  • Added integration tests covering both local and SSH runtimes to verify new branches match remote HEAD when the option is enabled

Testing

  • make typecheck
  • TEST_INTEGRATION=1 bun x jest tests/ipcMain/createWorkspace.test.ts -t "bases new workspace branch on origin head when fetchLatest is enabled" (passes)

@kylecarbs kylecarbs force-pushed the fetch-latest-branch-option branch from 61d2c20 to c829e4f Compare November 17, 2025 02:26
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