Repository navigation
Move Nullean.Snapshots to 0.10.1, rename live journeys to synth and compare prod with edge - #4822
Merged
Merged
Conversation
…ainst edge The 0.9.0 `snap journey compare` runs journeys against two sites and compares their transcripts, so `mise run journeys:compare` shows what a release changes: it takes prod as the baseline and edge as the target. The run is read-only and identifies as a monitor, as docs-journeys does. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The script ran without pipefail, so a failed curl was hidden by the final sort and counted as an empty feature set. The comparison then skipped every feature-gated journey and could still report success. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… edge The live journeys drive Elastic Synthetics, so `live` becomes `synth` (`journeys:synth`, the `synth/` folders, `SynthJourneys`). The compare task now runs its own `compare` area, which records page content and screenshots instead of reusing the Synthetics journeys. Those journeys need the `compare` feature, which only `journeys:compare` turns on. 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/4822/ Sample changed pages: |
shards.json still listed LiveJourneys, so the journeys plan job failed. The failed-request check of page-health stays in as a comment, to observe and fix. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Mpdreamz
enabled auto-merge (squash)
November 11, 2026 17:56
Mpdreamz
disabled auto-merge
November 11, 2026 17:58
A rule for the training link only applies when prod is the baseline, so it failed as stale for every other pair of sites, such as edge against demo. The journey now records the heading and lead paragraph and needs no rule. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
0.10.1 fixes how damaged PNGs fail, which no test here depends on. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Mpdreamz
enabled auto-merge (squash)
November 12, 2026 10:01
Mpdreamz
disabled auto-merge
November 12, 2026 10:38
Member
Author
|
Merged by heed (squash) because every merge rule held:
|
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.
Adds
mise run journeys:compare, which runs a newcomparearea against prod and edge and compares the two transcripts and screenshots, renames thelivejourneys tosynth, and moves the Nullean.Snapshots packages and thesnaptool to 0.10.1.Affects: Internals only
Prompt summary: Nullean.Snapshots 0.10.0 is live on nuget.org. Update docs-builder to it, and add a mise task that runs diffs against edge and production, so a release can report what changes go out. The
livejourneys drive Elastic Synthetics, so they are renamedsynth, and the comparison gets a dedicated area.Why
Nobody can see what a release changes until it is live. The 0.9.0
snap journey comparecommand runs journeys against two sites and compares them, but docs-builder is on 0.8.1 and has no task for it. Thelivejourneys exist for Synthetics monitoring, and reusing them for comparison would blur what they are for.What
Compare two deployed sites
journeys:compare [baseline] [target]takesprod,edge,demoor a URL, and defaults to prod against edge. It runs the four journeys injourneys/compare/(home, content page, sidebar, page health), which record page titles, accessibility trees, console output and a screenshot per site. It runs read-only, identifies as a monitor and allows the same hosts asdocs-journeys. Extra arguments pass tosnap journey compare. The journeys need acomparefeature that only this task turns on, sojourneys:synth,journeys:localandjourneys:testskip them.Expected differences
No journey needs a rules file.
content-pagerecords the heading and lead paragraph instead of the article's link tree, because prod records its own links towww.elastic.coas{origin}, and a rule for that fails as stale on any other pair of sites. Shared rule files do not work insnap0.10.0, because the rules a journey does not reach count as stale; see nullean/snapshots#77.live is now synth
journeys:livebecomesjourneys:synth, thelive/folders becomesynth/,LiveJourneysbecomesSynthJourneys(and its entry inshards.json), and the workflowjourneys-live.ymlbecomesjourneys-synth.yml. The Synthetics monitorlive/docs-landingis nowsynth/docs-landing, so the next push to Synthetics creates a monitor under the new name.Version bump
All
Nullean.Snapshots.*packages,Nullean.HttpFileParserand thesnaptool move from 0.8.1 to 0.10.1. No code changes were needed.Out of scope:
page-healthkeeps its failed-request check as a comment, to observe and fix later. Prod and edge screenshots are identical today, so the image diff has not reported a difference yet.Verify
🤖 Generated with Claude Code