Skip to content

Add mise run journeys:local to run the journeys against docs/ with the pretty output - #4814

Merged
Mpdreamz merged 2 commits into
mainfrom
feature/journeys-local
Nov 11, 2026
Merged

Mpdreamz merged 2 commits into
mainfrom
feature/journeys-local

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

mise run journeys:local serves docs/ and runs docs-journeys against it, so a local run prints what journeys:live prints, in about five seconds.

Affects: Internals only

Prompt summary: Make running journeys from the command line always yield the same pretty output. The live checks already use docs-journeys; the local run of the isolated journeys should too.

Why

Journeys against docs/ could only be run as TUnit tests, which print TUnit's progress and result blocks and take about a minute to build and start. Checking one journey while editing it meant that, and its output looked nothing like the live runs.

What

A task that serves the site and runs the journeys

journeys:local builds docs-builder, serves docs/ on a free port from inside docs/ (as the test target does, with FEATURE_* variables from the shell removed), waits until the site answers, runs docs-journeys run against it, and stops the server whatever the result. It passes extra arguments on, so --only landing/home, --area, --verbose and --screenshot-on-failure work.

Where it fits

The docs table of the ways to run journeys gets a row for it. It checks the expect lines and compares no transcripts: the TUnit run (mise run journeys) stays the gate that compares them, with its variants and the assembler and Codex targets.

Verify

mise run journeys:local
mise run journeys:local --only landing/home

The first runs the 18 isolated journeys in about 5 seconds, and skips the 5 that need the assembler site. After either run, pgrep -f 'docs-builder.dll serve' finds no process.

🤖 Generated with Claude Code

…e task

The task builds docs-builder, serves docs/ on a free port, waits until it answers, runs docs-journeys against it with the same options as journeys:live, and stops the server whatever the result. A run of the 18 isolated journeys takes about five seconds and prints what journeys:live prints.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 11, 2026 09:41
@Mpdreamz
Mpdreamz requested a review from technige November 11, 2026 09:41
Comment thread mise.toml Resolved
Comment thread mise.toml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

@Mpdreamz
Mpdreamz merged commit c07f79c into main Nov 11, 2026
42 checks passed
@Mpdreamz
Mpdreamz deleted the feature/journeys-local branch November 11, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant