Repository navigation
Name the journey tasks by what they run, add snap:* tasks, and explain --area and --tag - #4819
Merged
Merged
Conversation
… --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]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… 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]>
…hore/journeys-test-task
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4819/ Sample changed pages: |
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]>
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.
The TUnit journey task is
mise run journeys:test(withjourneys:test:assemblerandjourneys:test:codex), the snapshot tool hasmise run snap:*tasks, and the docs explain--areaand--tag.Affects: Internals only
Why
mise run journeysran the TUnit tests whilejourneys:liveandjourneys:localrundocs-journeys, with different output and different checks, and the bare name hid which one it was. Reviewing what a test run leaves meant rememberingdotnet snapcommands. The docs never said what an area or a tag is.What
Journey task names
journeysbecomesjourneys:test,journeys:assemblerbecomesjourneys:test:assembler, andjourneys:codexbecomesjourneys: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 asCLAUDE.md), the/testskill, anddocs/development/journeys.md.Snapshot tasks
snap:status,snap:diff,snap:review,snap:accept,snap:rejectandsnap:orphanswrap thedotnet snapcommands. Each hands every argument to the tool, so keys, unique suffixes, globs and--allwork, and a quoted glob arrives intact. Review the diff beforesnap:accept, and never in CI.Agent instructions
AGENTS.md(also read asCLAUDE.md) gets a Browser journeys entry that says which task to run when:journeys:localfor a quick check while writing a journey,journeys:testbefore pushing,journeys:livefor a deployed site, and to read a transcript diff before accepting it. The/testskill'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 underjourneys/, a tag is a# @tagsheader 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
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:statussays so andsnap:accept --alldoes nothing.🤖 Generated with Claude Code