Skip to content

Name the journey tasks by what they run, add snap:* tasks, and explain --area and --tag - #4819

Merged
Mpdreamz merged 7 commits into
mainfrom
chore/journeys-test-task
Nov 11, 2026
Merged

Mpdreamz merged 7 commits into
mainfrom
chore/journeys-test-task

Conversation

@Mpdreamz

@Mpdreamz Mpdreamz commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

The TUnit journey task is mise run journeys:test (with journeys:test:assembler and journeys:test:codex), the snapshot tool has mise run snap:* tasks, and the docs explain --area and --tag.

Affects: Internals only

Why

mise run journeys ran the TUnit tests while journeys:live and journeys:local run docs-journeys, with different output and different checks, and the bare name hid which one it was. Reviewing what a test run leaves meant remembering dotnet snap commands. The docs never said what an area or a tag is.

What

Journey task names

journeys becomes journeys:test, journeys:assembler becomes journeys:test:assembler, and journeys:codex becomes journeys:test:codex, so every task that compares transcripts shares one prefix. The old names are gone, and every mention moves with them: AGENTS.md (also read as CLAUDE.md), the /test skill, and docs/development/journeys.md.

Snapshot tasks

snap:status, snap:diff, snap:review, snap:accept, snap:reject and snap:orphans wrap the dotnet snap commands. Each hands every argument to the tool, so keys, unique suffixes, globs and --all work, and a quoted glob arrives intact. Review the diff before snap:accept, and never in CI.

Agent instructions

AGENTS.md (also read as CLAUDE.md) gets a Browser journeys entry that says which task to run when: journeys:local for a quick check while writing a journey, journeys:test before pushing, journeys:live for a deployed site, and to read a transcript diff before accepting it. The /test skill's journeys row says the same.

Area and tag, explained

The docs get a short part on choosing journeys: an id is area/name, an area is the folder under journeys/, a tag is a # @tags header line that cuts across areas (smoke, which only the live journeys carry), the options combine, and a journey that does not apply is skipped whatever you choose.

Verify

mise tasks | grep -E '^(journeys|snap)'
mise run journeys:test -- --treenode-filter "/*/*/LandingJourneys/*"
mise run snap:status
mise run snap:accept --all

The first lists the five journey tasks and the six snapshot tasks. The second runs the four landing journeys and passes. With nothing pending, snap:status says so and snap:accept --all does nothing.

🤖 Generated with Claude Code

… --tag

`mise run journeys` was the TUnit run while journeys:live and journeys:local run docs-journeys, so the bare name hid which one it was. It is journeys:test now, and every mention in the docs and the agent files follows. The docs say what an area and a tag are, with examples.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 11, 2026 13:08
@Mpdreamz Mpdreamz added the chore label Nov 11, 2026
@Mpdreamz
Mpdreamz requested a review from reakaleek November 11, 2026 13:08
Comment thread docs/development/journeys.md Resolved
Mpdreamz and others added 4 commits November 11, 2026 14:12
… the snapshot tool

journeys:assembler and journeys:codex become journeys:test:assembler and journeys:test:codex, so every task that compares transcripts shares the journeys:test prefix. snap:status, snap:diff, snap:review, snap:accept, snap:reject and snap:orphans wrap the dotnet snap commands, so reviewing what a test run left is a mise task too.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
snap accept, reject and diff take several keys, unique suffixes, globs and --all, and the tasks wrapped only one key. They now hand every argument to dotnet snap, through eval so a quoted glob arrives intact.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz Mpdreamz changed the title Rename mise run journeys to journeys:test and explain --area and --tag Name the journey tasks by what they run, add snap:* tasks, and explain --area and --tag Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

AGENTS.md gets a Browser journeys entry: journeys:local for a quick check while writing a journey, journeys:test before pushing, journeys:live for a deployed site, and the rule to read a transcript diff before accepting it. The test skill's journeys row says the same.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz merged commit dd38850 into main Nov 11, 2026
42 checks passed
@Mpdreamz
Mpdreamz deleted the chore/journeys-test-task branch November 11, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant