Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ jobs:

# Tier 1. THE BLUEPRINT, READ AND PLACED BY THE BINARY A BOOTSTRAP RUNS.
#
# Pinned at the bootstrap floor (BOOTSTRAP.md), not the site's lane pin:
# every test here reads YAML with PyYAML, which parses anything well-formed;
# Pinned at v2.96.0, not the site's lane pin: at or above the bootstrap
# floor (v2.88.0, BOOTSTRAP.md), and the first orun that reads a
# component's `spec.preview`, so the placement's `orun validate` checks the
# site's live preview too. Every test here reads YAML with PyYAML, which
# parses anything well-formed;
# only the pinned orun can say whether the document is one a bootstrap can
# run. `--status` parses it, validates every hook against the action
# registry, compiles every `when` and narration template, and writes
Expand All @@ -73,7 +76,7 @@ jobs:
- uses: actions/checkout@v6
- uses: sourceplane/orun-action@v1.2.0
with:
version: v2.88.0
version: v2.96.0
- uses: pnpm/action-setup@v4
with:
version: 10.12.1
Expand Down Expand Up @@ -109,18 +112,19 @@ jobs:
# Tier 2. THE SITE IT PRODUCES WORKS: the finished site installed, its
# fixtures rendered, type-checked, linted, tested and built, the stage
# lane's own build, output check and dry deploy, and the built Worker served
# and smoke-tested with the component's own smoke command. Pinned at the
# bootstrap floor (v2.88.0): the offline bootstrap reads the blueprint (its
# and smoke-tested with the component's own smoke command. Pinned at
# v2.96.0, above the bootstrap floor (v2.88.0), the first orun that
# reads `spec.preview`: the offline bootstrap reads the blueprint (its
# one `secrets` reconcile, its background task set-up, its landings checked
# in the box), and the floor is newer than the site's lane pin (v2.78.4),
# in the box), and the pin is newer than the site's lane pin (v2.78.4),
# which is all the lane steps need.
site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: sourceplane/orun-action@v1.2.0
with:
version: v2.88.0
version: v2.96.0
- uses: pnpm/action-setup@v4
with:
version: 10.12.1
Expand Down
20 changes: 20 additions & 0 deletions apps/web/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,26 @@ spec:
- profile: deploy
when:
triggerRef: github-push-main
# How the site runs itself for orun.work's live Preview tab
# (saas-parallel-baselining PB4): `orun preview` starts this, and a coding
# session keeps it running while it works, so the person watches it change
# as it is built. The dev server binds the box's loopback only, on a fixed
# port, and installs first, so a checkout the session has not installed yet
# still comes up.
# --ignore-lock keeps astro dev in the foreground, where orun can follow and
# stop it: Astro 7 otherwise detaches itself into a background server when
# it detects an AI agent. orun refuses to start the preview if the port is
# taken, so it fails rather than moving to another port.
preview:
run:
- sh
- -c
- pnpm install --frozen-lockfile --prefer-offline --filter "@app/web..." && exec node_modules/.bin/astro dev --host 127.0.0.1 --port 4321 --ignore-lock
port: 4321
path: /
env:
NODE_OPTIONS: --max-old-space-size=512
ASTRO_TELEMETRY_DISABLED: "1"
parameters:
nodeVersion: "22"
pnpmVersion: "10.12.1"
Expand Down
7 changes: 7 additions & 0 deletions intent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ compositions:
cloudflare-domain: stack-tectonic
db-migrate: stack-tectonic

# The live preview (saas-parallel-baselining PB4): the component orun.work's
# Preview tab shows while a coding session works on the site. Its own
# `spec.preview` (apps/web/component.yaml) says how it runs; `orun preview`
# runs it.
preview:
component: web

discovery:
roots:
- apps/
Expand Down
Loading