Skip to content

chore(remote): raise the remote PC bundle to 11 - #322

Merged
devswha merged 3 commits into
mainfrom
chore/remote-bundle-11
Oct 2, 2026
Merged

devswha merged 3 commits into
mainfrom
chore/remote-bundle-11

Conversation

@devswha

@devswha devswha commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Change

Raises REMOTE_BUNDLE_VERSION to 11, so remote PCs get the server-side changes made since remote-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

  1. Merge this PR.
  2. Push the remote-v11 tag on that main commit; remote-bundles.yml builds and publishes the bundles and the manifest.
  3. Only then release the app: an app that carries the new number finds no remote-v11 manifest 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.

@coderabbitai

coderabbitai Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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 configuration

Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 1391ee0e-20cc-4b18-a922-c901c84183d9

📥 Commits

Reviewing files that changed from the base of the PR and between 70e239b and 0d75579.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • shared/machines.ts
 _____________________________
< The Da Vinci Code Reviewer. >
 -----------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@devswha
devswha merged commit e4252b1 into main Oct 2, 2026
10 checks passed
@devswha
devswha deleted the chore/remote-bundle-11 branch October 2, 2026 12:32
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`.
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]>
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