Repository navigation
chore(remote): raise the remote PC bundle to 11 - #322
Merged
Merged
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
devswha
added a commit
that referenced
this pull request
Oct 2, 2026
## Change Prepares v0.3.42: `package.json` and `herdr-plugin.toml` go to 0.3.42, and the `[Unreleased]` notes move under `## [0.3.42] - 2026-10-02` with its compare link. Two changelog lines over 100 columns are rewrapped; no entry's wording changes. Every entry carries its PR link, and outside contributors' PRs their `by @login`. The `remote-v11` runtime this release expects is already published (#322). ## After the merge `gh workflow run release.yml --ref main -f version=0.3.42` ## Validation `bun run typecheck`, `bun run test:unit` (1031 pass), `bun run build`.
4 tasks done
devswha
added a commit
that referenced
this pull request
Oct 3, 2026
…enu (#383) ## Summary First half of the worktree step of the sidebar's move toward herdr's own structure (#142). It matches the TUI: a worktree is made from the workspace it starts on (herdr's `prefix+shift+g`), checked out under herdr's worktree folder, and opened as a new workspace grouped with the repository's. - A workspace row's **⋯** menu (a one-pane row's too) gains **New worktree** and **Open worktree…**, between the rename items and Close. - **New worktree** asks for the branch (required), where to start from (HEAD when empty; ignored when the branch exists) and an optional name, then selects the new workspace's pane. - **Open worktree…** lists the repository's other checkouts (branch, path, an **Already open** pill) and opens one, or returns to the workspace it is already open in. - herdr's own words explain a refusal (a folder that is no repository, a branch in use) inside the dialog; `ApiError` now keeps that `detail` apart from the URL and status. - Server: `POST /api/worktree/create`, `GET /api/worktree/list`, `POST /api/worktree/open` over herdr's `worktree.create/list/open`, on the bridge path and the remote-PC proxy. A contract test makes a repository with one commit, creates a worktree of it under the test's own folder, lists it and reopens it (already_open), then removes it. - Remote PCs need the next bundle (13) for the two items; this PR does not raise the number, the next release chore does, as #322 did. - Not in this PR (second half, next): worktree workspaces indented under their repository's row, and **Delete worktree checkout…** (refuse a dirty checkout, then a forced remove with a second confirm). - Housekeeping, outside the feature: `bd9e423` removes two one-off screenshot scripts that `git add -A` had committed — `scripts/_shots2.tmp.ts` (came in with #379, so main carries it today) and `scripts/_shots3.tmp.ts` (this branch) — and `.gitignore` now excludes `scripts/*.tmp.ts`. ## Known limits - A repository owned by another user is refused by git; herdr's `trust_repository` is not exposed, so the dialog shows git's refusal. ## Test plan - [x] `bun run typecheck`, `bun run test:unit` - [x] `HERDR_TEST_MODE=integration bun test ./server/api.contract.test.ts -t worktree` (15 expects, real herdr) - [x] `bun run test:ui`: a step creates a repository, makes a worktree from the row menu, expects its pane selected, and sees it marked open in Open worktree… (green twice) - [x] Desktop screenshots of both dialogs and the five-item row menu, against the real herdr 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Raises
REMOTE_BUNDLE_VERSIONto 11, so remote PCs get the server-side changes made sinceremote-v10: new tab and split from the sidebar (tab/create,pane/split), an OmO pane's background tasks and workflows (pane/omo-tasks), and the access token asked before a Tailscale login header is trusted (#309).Order
remote-v11tag on thatmaincommit;remote-bundles.ymlbuilds and publishes the bundles and the manifest.remote-v11manifest before step 2, and every connected PC's bridge counts as incompatible until it is updated.Validation
bun run typecheck,bun run test:unit(1031 pass). The bundle build and smoke run in this PR's Remote PC bundles checks.