Skip to content

ci(ci): run the e2e journeys against pnpm dev on linux - #42

Merged
kiro-systemf[bot] merged 46 commits into
mainfrom
lake1/stack-ci
Oct 7, 2026
Merged

kiro-systemf[bot] merged 46 commits into
mainfrom
lake1/stack-ci

Conversation

@systemfsoftware-maker

@systemfsoftware-maker systemfsoftware-maker commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Lake 1, U8, stacked on #41. Trimmed per Kiro's 2026-10-06 ruling: the journeys run against pnpm dev, on Linux, with no local stack.

  • bin/journeys starts pnpm --filter @endgame/site dev in its own process group, waits for http://localhost:1337/, runs the site-e2e journeys against it, stops dev with one SIGINT (so alchemy dev stops its sidecar instead of orphaning it), and prints the last 60 lines of the dev log when a run is red. Root script: pnpm journeys.
  • alchemy.run.ts pins the dev port (dev: { port: 1337, strictPort: true }): a busy port fails the run instead of serving on 1338 while the journeys test 1337.
  • ci.yml gains a journeys job on ubuntu-latest that uploads apps/site-e2e/artifacts/ and .journeys/dev.log.
  • AGENTS.md gains START-5: the e2e journeys pass against pnpm dev (gate: pnpm journeys).

Removed by the trim: the process-compose local stack (#38, closed), bin/stack-ci, stack:ci, and the OpenTelemetry collector, Tempo and Grafana.

Gate at e917151

$ pnpm check:ci
checkci=0
$ pnpm journeys
journeys=0

Two consecutive pnpm journeys runs both passed and left no listener on 1337-1340.

Cycle 35 (Kiro rulings on starter-verify's review)

  • F6 (3f3a504, cycle 35): added a busy-port refusal to bin/journeys. Deleted in cycle 61 (below).

Linux only (Kiro, cycle 52)

  • 9bb82c7: the journeys job runs on ubuntu-latest only, and the title drops "and macos". This edits ci.yml, an evaluator surface, at Kiro's direction (CONST-W3); Kiro owns the instrument.

Gate at 71841ad, clean worktree, Linux:

$ pnpm install --frozen-lockfile    # exit 0
$ pnpm check:ci                     # exit 0: 12/12 turbo tasks, dist 2/2
$ pnpm journeys                     # exit 0
Tests  2 passed (2)

CI run 37573358625 on 71841ad: all 6 jobs pass (the five check legs and journeys).

Cycle 61 (conductor rulings on starter-verify's c59 re-check)

@systemfsoftware-maker
systemfsoftware-maker added this pull request to stack #34 October 5, 2026 20:48
@systemfsoftware-maker
systemfsoftware-maker force-pushed the lake1/stack-ci branch 2 times, most recently from 89ac1cd to 9b8f216 Compare October 5, 2026 22:32
@systemfsoftware-maker

Copy link
Copy Markdown
Collaborator Author

Fix 15d131d: stack:ci moves to bin/stack-ci, which starts process-compose with --keep-project (the first hosted run lost the server when Tempo died, so down got connection refused) and on any failure writes local-stack/data/stack-report.md: process list -o wide plus the last 40 log lines per process. The job appends it to the step summary and uploads it; a separate step realises the dev shell first so the 300 s readiness budget measures startup (the cold fetch took 21 s; there is no repo Nix cache action, so none was added). Sabotage (Tempo marker dir under /proc): report shows tempo Completed exit 1, otel-collector/grafana/site Skipped, and the live-store mkdir error. CI run 37407682838: 7/7 green, stack 92 s.

Ryan's standing rule via Kiro (cycle 52): no macOS anywhere. The flake builds x86_64-linux and aarch64-linux only; dprint pins only Linux archives; the comment-checker sandbox loses its sandbox-exec branch; AGENTS.md says CI is Linux only
Ryan's standing rule via Kiro (cycle 52): no macOS legs. The journeys job runs on ubuntu-latest alone
@systemfsoftware-maker systemfsoftware-maker changed the title ci(ci): run the e2e journeys against pnpm dev on linux and macos ci(ci): run the e2e journeys against pnpm dev on linux Oct 7, 2026
Conductor ruling, cycle 61, F4: inside the sandbox's network namespace the guard can never fire, and that isolation already keeps a stale host server from answering the journeys
Conductor ruling, cycle 61, F6: the test task's outputLogs is new-only, so CI logs show each executed test
Conductor ruling, cycle 62: the same bump pnpm-release-management#31 took. effect and every @effect/* stay at 4.0.1; none resolves lower. tsgo 0.50.0 reports nothing new: typecheck and lint are clean uncached. @systemfsoftware/oxlint-config-recommended 4.0.0 still pulls its own @effect/tsgo 0.45.0
# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
@kiro-systemf
kiro-systemf Bot removed this pull request from stack #61 October 7, 2026 15:41
@kiro-systemf
kiro-systemf Bot changed the base branch from lake1/site to main October 7, 2026 16:09
…go to 0.51.0

Conductor ruling, cycle 67: prm main (#9, ca932ae) now requires versioning.strategy. The starter versions each workspace package from .changeset intents, so it takes changesets. Followed prm README: "`changesets` versioning drives the changesets libraries per package: the assembled release plan decides each member's bump, workspace dependents move with it, and the consumed intents are removed". No other field is required under that strategy. @effect/tsgo 0.50.0 -> 0.51.0 (npm latest, 2026-10-07T09:37Z); effect stays 4.0.1. Uncached check:ci and journeys pass with no new diagnostics

@kiro-systemf kiro-systemf Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conductor verdict: 8/8 green on a1aee1d incl. changeset check (strategy: changesets) and journeys; tsgo 0.51.0; 0 threads; hunt clean.

@kiro-systemf
kiro-systemf Bot merged commit 9905d51 into main Oct 7, 2026
8 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.

1 participant