Skip to content

Declare the site's live preview (saas-parallel-baselining PB4) - #6

Merged
ruehowl merged 3 commits into
mainfrom
claude/festive-ritchie-o3kib6
Nov 4, 2026
Merged

ruehowl merged 3 commits into
mainfrom
claude/festive-ritchie-o3kib6

Conversation

@ruehowl

@ruehowl ruehowl commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

orun.work's Preview tab shows a coding session's dev server, live from its box. The session runs whatever the repository declares with orun preview (orun v2.96.0, sourceplane/orun#802) and keeps it running while it works. This PR declares the site's preview.

  • apps/web/component.yaml: spec.preview runs pnpm install --frozen-lockfile --prefer-offline, then vite dev --host 127.0.0.1 --port 3000 --strictPort. It serves port 3000 and opens on /. The install comes first so the preview also starts on a checkout the session hasn't installed yet.
  • intent.yaml: preview: {component: web}.
  • README.md: how to run it by hand.

An orun older than v2.96.0 ignores the intent key and warns about the component key, so this is safe to merge before the release. The baseline-v4 tag and the registry row follow once v2.96.0 is out.

Checks. I ran this branch with orun v2.96.0, built from sourceplane/orun#802:

  • orun validate passes.
  • orun preview start reported ready on port 3000, with one process.
  • The site answered 200, with title "TanStack Start Starter".
  • orun preview stop ended the process.
  • git status showed only these files afterwards, so .orun/preview/ keeps its state and logs out of git.

Generated by Claude Code

orun.work now serves on orun.work (prod) and stage.orun.work (stage), so
both join the stage Worker's frame-ancestors list ahead of the workers.dev
origins. Tests, the e2e probe and the docs list them; risk TS-L is
mitigated once this is tagged baseline-v3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNWBtvn3y8id6vTP3Yz
orun.work's Preview tab shows a coding session's dev server, live from its
box: `orun preview` (orun v2.96.0) runs what a repository declares, and the
session keeps it running while it works.

- apps/web/component.yaml: spec.preview — install, then `vite dev` on
  127.0.0.1:3000, strict port; the tab opens /.
- intent.yaml: preview: {component: web}.
- README: how to run it by hand.

Checked with orun v2.96.0's `orun validate` and `orun preview start`: the
site came up on :3000 and served its welcome page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNWBtvn3y8id6vTP3Yz
@ruehowl
ruehowl marked this pull request as ready for review November 4, 2026 06:11
@ruehowl
ruehowl merged commit a105b28 into main Nov 4, 2026
5 checks passed
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.

2 participants