Step 18: Preview for the owner #14

Open
opened 2026-09-21 17:36:20 +00:00 by kayg · 4 comments
Owner

Latest dev build running on the dev VM for the owner to test (port 7010, reachable over NetBird). Passkeys need a secure context, so testing uses an SSH port-forward to localhost until HTTPS exists.

Step 18 in docs/PLAN.md.

Latest dev build running on the dev VM for the owner to test (port 7010, reachable over NetBird). Passkeys need a secure context, so testing uses an SSH port-forward to localhost until HTTPS exists. Step 18 in docs/PLAN.md.
Author
Owner

Starting step 18 in branch preview-tooling at base head 1022ad6d4f. Scope: scripts/preview, docs/DEVELOPING.md, preview VM verification and fast gate.

Starting step 18 in branch preview-tooling at base head 1022ad6d4f97f7df5af56ec992469cb51f5d6628. Scope: scripts/preview, docs/DEVELOPING.md, preview VM verification and fast gate.
Author
Owner

Findings/evidence: the first preview run failed before service setup because the detached worktree has no ignored Bun dependencies (vite not found); scripts/preview now bootstraps bun install --frozen-lockfile only when preview worktree tools are missing. The preview was then built and served successfully. NetBird 0.79.0 help exposes -L local forwarding, but self-tests from this VM could not establish a session to its own peer: default :22 refused; explicit :22022 reached the endpoint but ended before the SSH banner. Docs record the exact owner forwarding command and the plain NetBird HTTP fallback.

Findings/evidence: the first preview run failed before service setup because the detached worktree has no ignored Bun dependencies (vite not found); scripts/preview now bootstraps bun install --frozen-lockfile only when preview worktree tools are missing. The preview was then built and served successfully. NetBird 0.79.0 help exposes -L local forwarding, but self-tests from this VM could not establish a session to its own peer: default :22 refused; explicit :22022 reached the endpoint but ended before the SSH banner. Docs record the exact owner forwarding command and the plain NetBird HTTP fallback.
Author
Owner

Finished step 18 on branch preview-tooling.
head: 190b8af529
preview: http://infraternal-dev.vpn.kayg.org:7010, running 0.0.1 @ 1022ad6d4f
health: {"status":"ok","version":"0.0.1"}
unit: infraternal-preview.service enabled and active; detached preview worktree matches refs/heads/dev.
browser: Playwright browser check exited 0; screenshots are in /mnt/hdd/infraternal/artifacts/preview/ (light/dark at 1440x900 and 390x844, plus 1024x768 and 320x640).
NetBird: the installed CLI documents -L forwarding, but the VM self-target test could not establish the SSH session; docs include the exact command and plain-HTTP fallback. The required 0.0.0.0:7010 listener is unchanged.

gates:
PASS fast: JavaScript dependencies
PASS fast: build web app
PASS fast: cargo fmt --check
PASS fast: cargo clippy
PASS fast: cargo test
PASS fast: svelte-check
PASS fast: UI package svelte-check
PASS fast: Vitest
PASS fast: UI package Vitest
PASS fast: OpenAPI and TypeScript client drift

Finished step 18 on branch preview-tooling. head: 190b8af529af5e30a48c4f0d9a2f82935d2c2881 preview: http://infraternal-dev.vpn.kayg.org:7010, running 0.0.1 @ 1022ad6d4f97f7df5af56ec992469cb51f5d6628 health: {"status":"ok","version":"0.0.1"} unit: infraternal-preview.service enabled and active; detached preview worktree matches refs/heads/dev. browser: Playwright browser check exited 0; screenshots are in /mnt/hdd/infraternal/artifacts/preview/ (light/dark at 1440x900 and 390x844, plus 1024x768 and 320x640). NetBird: the installed CLI documents -L forwarding, but the VM self-target test could not establish the SSH session; docs include the exact command and plain-HTTP fallback. The required 0.0.0.0:7010 listener is unchanged. gates: PASS fast: JavaScript dependencies PASS fast: build web app PASS fast: cargo fmt --check PASS fast: cargo clippy PASS fast: cargo test PASS fast: svelte-check PASS fast: UI package svelte-check PASS fast: Vitest PASS fast: UI package Vitest PASS fast: OpenAPI and TypeScript client drift
Author
Owner

Preview live: http://infraternal-dev.vpn.kayg.org:7010 (checked from the owner Mac: health ok, 0.0.1). For passkeys: netbird ssh -L 7010:127.0.0.1:7010 infraternal-dev.vpn.kayg.org, then http://localhost:7010. Orchestrator reviewed the diff and merged to dev. Step 18 done; scripts/preview is re-run after each merge.

Preview live: http://infraternal-dev.vpn.kayg.org:7010 (checked from the owner Mac: health ok, 0.0.1). For passkeys: `netbird ssh -L 7010:127.0.0.1:7010 infraternal-dev.vpn.kayg.org`, then http://localhost:7010. Orchestrator reviewed the diff and merged to dev. Step 18 done; `scripts/preview` is re-run after each merge.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal-v0#14
No description provided.