Repository navigation
Declare the console's live preview, as small as it can be (saas-parallel-baselining PB4) - #36
Merged
Merged
Conversation
…lel-baselining PB4)
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. The box is small and shared with
the agent, and the preview is for looking at the UI, so it is the console
alone:
- apps/web-console-next: spec.preview — install only the console's own
packages (--filter "@saas/web-console-next..."), then `next dev` on
127.0.0.1:3001, run directly (not through `pnpm exec`); its API is the
product's deployed stage (CONSOLE_DEPLOY_ENV=stage); a 1 GiB heap cap;
telemetry off. No `needs`: none of the workers, Postgres or wrangler run.
- intent.yaml: preview: {component: web-console-next}.
- The console's README: how to run it by hand, and what shows.
Run with orun v2.96.0: up in ~17 s; /, /login and /demo answered 200;
~830 MB resident with those three pages compiled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNWBtvn3y8id6vTP3Yz
ruehowl
marked this pull request as ready for review
November 4, 2026 06:41
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.
orun.work's Preview tab shows a coding session's dev server, live from its box.
orun preview(orun v2.96.0) runs whatever a repository declares, and the session keeps it running while it works.The box is small (1 vCPU, 3 GiB) and the agent shares it, so the preview here is only for looking at the UI. That means the console alone.
apps/web-console-next/component.yamladdsspec.preview:--filter "@saas/web-console-next...".next devon 127.0.0.1:3001. It calls the binary directly rather than throughpnpm exec, which saves two idle pnpm processes, about 200 MB.CONSOLE_DEPLOY_ENV=stage).NODE_OPTIONS=--max-old-space-size=1024), and Next.js telemetry is off.needs, so none of the thirteen workers, Postgres or wrangler run.intent.yamlgetspreview: {component: web-console-next}.What shows. Pages that don't need a token (
/,/login, and/demo's mock gallery) render in full. Pages behind sign-in show the sign-in prompt instead, because stage's sign-in won't redirect back to a preview host. I kept it that way on purpose: letting sign-in return to any preview host would let one preview capture another person's token.Measured with orun v2.96.0, in this repository:
orun validatepasses.orun preview startreportedreadyin about 17 s./,/loginand/demoeach answered200, with the title "cirrus-baseline Console". The first compile took 8–11 s per page.orun preview stopended it, andgit statusshowed only these three files.orun versions older than v2.96.0 ignore the
preview:key in the intent and warn about the one in the component.baseline-v28and the registry row follow once this merges.Generated by Claude Code