Repository navigation
Description
Idea, looking for interest. Nothing is decided or built. If you would use this, react with 👍 and tell us in a comment how your testers or customers try a branch today, and what they would need to see next to it. Decisions follow the usual review card (ADR-0070) once there is interest. Related: #357 (a lane on one's own phone).
The scenario
A development team builds software for a customer.
- The team runs its own pool on an internal server, for daily development.
- The customer runs a VPS that provides a second pool for the team (a machine can belong to several pools, ADR-0034).
- A developer starts a lane on the customer's VPS (
devstack up --on customer:vps, possible today) and hands it over for testing. - A tester at the customer opens a dashboard (over the customer's VPN) that lists the lanes handed to them, each with its context: branch, commit, the ticket with its description and test plan, and selected links (the web app, a PWA, an Android build).
The tester tests on the customer's own infrastructure, with the full stack (native services, workers, the lane's own database), on desktop or phone. The developer can fix what they find in the same lane and hand over the next version.
What exists already
| Exists | Used for |
|---|---|
| Several pools per machine (ADR-0034) | the team's pool and the customer's pool side by side |
| Lanes on a node (ADR-0025 ff.) | the lane runs on the customer's VPS, with its own infrastructure (ADR-0030) |
| Profiles (ADR-0041) | an acceptance profile: workers on, fresh seeded data, static builds instead of dev servers |
| Candidates and holds (ADR-0003, ADR-0013) | a handed-over lane keeps its state while it is tested |
| MCP upstreams (ADR-0069) | a coding agent fills the handover from the ticket (description, test plan) |
| The gateway and PWA sketched in #357 | the tester's dashboard, on desktop and phone |
What would be new
- A tester role. A tester is not a pool member with a machine: no devstack install, no lanes started, no logs, no commands. They are invited (by the pool's admin) and sign in from a browser (a passkey, say). The devices of Idea: open a lane on your phone (a PWA and a pool gateway) #357 are a case of the same idea: someone who views a lane and never controls it.
- Handing a lane over for testing, a step of its own per lane, apart from sharing it with members (ADR-0035). A handover carries:
- branch and commit;
- the ticket, its description and test plan (written by the developer, or filled by an agent from the issue tracker);
- the entry points to test (selected links: web, PWA, an APK);
- the profile the lane runs with;
- whom it is handed to.
- A fixed state while it is tested. A tester must not test a dev server that changes under them. A handed-over lane holds its candidates; the developer hands over the next version explicitly ("version 2, fixes X"), and the tester sees what changed.
- The tester's dashboard, served by a gateway on the pool's machine, never by a developer's hub: the handovers, their context, their links. The same surface on a phone.
- Feedback (later): passed or failed with a comment, back to the developer, and optionally to the ticket.
Where this stops: not a preview-environment product
This comes closer to preview-environment products (hosted ones, and self-hosted platforms with pull request previews) than #357 does. The line:
| Non-goal | Why |
|---|---|
| no SaaS, no hosting | it always runs on a pool owner's infrastructure (the team's or the customer's) |
| no public or shareable links | testers are invited and signed in, never "anyone with the link"; they reach the pool's machine over its owner's network or VPN |
| no deploy on a push or from a CI pipeline | a developer hands a lane over deliberately, with its context, from the development they are doing |
| nothing long-lived, no staging, no production | a handover ends with its lane or its acceptance |
| no store or tester-group distribution | an APK goes to the testers of one handover, without release management |
So the rule of #357 ("only the developer and their devices") widens to: only people the pool's owner invited, on the owner's infrastructure, behind the owner's network. What sets it apart from preview products: the preview is a running development lane with the whole stack, without a deploy pipeline of its own, and the developer can repair it on the customer's machine and hand it over again.
Open points
- Source code on the customer's machine. A lane on a node works on a mirror of the worktree (ADR-0029). In contract development that is usually fine, but it should be a deliberate choice.
- Who administers the customer's pool, invites testers and grants nodes: the customer, who runs the machine, or the team?
- Tester sign-in: passkeys, an invitation link once, or the customer's identity provider (OIDC)?
- Ticket context: copied into the handover when it is made, or read live from the tracker (which needs the tester's access, or the gateway's)?
- Data: what test data a handover starts with (the profile's seed), and whether a tester can reset it.
Points a review card would have to decide
- concept: A tester is invited to a pool and views handed-over lanes; they are not a member, run nothing and control nothing.
- trust: A tester sees only the lanes handed to them, through the gateway on the pool's machine; never logs, commands, other lanes or a developer's hub.
- concept: A handover is a lane at a fixed state with its context; a new state is a new version, handed over explicitly.
- contract: What a handover holds (branch, commit, ticket, test plan, links, profile), and how the CLI and MCP make one.
- term: "Hand over for testing" as a user-visible action, apart from sharing.
🤖 Generated with Claude Code
Activity