Repository navigation
Move the Nullean.Snapshots packages to 0.8.1: failed journeys show up on GitHub - #4816
Merged
Merged
Conversation
0.8.1 reports failed journeys to GitHub Actions: an error annotation on each failed journey, log groups when several failed, and a fuller step summary, so docs-journeys gets them in the journey checks. 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/4816/ |
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.
Nullean.Snapshots0.8.1 reports failed journeys to GitHub Actions, so the journey checks of a pull request now annotate the journey that failed and summarise the run.Affects: Internals only
Why
The journey checks wrote a table of results to the step summary and nothing else for GitHub. A failure showed only in the log, a skip was as prominent as a failure, and the summary did not say what failed or why.
What
Annotations and summary from the runner
docs-journeysruns on the console runner ofNullean.Snapshots.Browser.Console, which now emits one error annotation per failed journey at its file and failing step (ten at most, then one warning that counts the rest) and none for a skipped one. More than three failures are folded into log groups. The step summary has a line of totals, a line for what was skipped, the journeys that ran (all when ten or fewer, otherwise the failures), and for each failure its step, error, page and rerun command.Package versions
Nullean.Snapshots.*,Nullean.HttpFileParserand thesnaptool move from 0.8.0 to 0.8.1.Verify
The last command prints an
::error file=…,line=…line for the failed journey and writes the summary to/tmp/summary.md.🤖 Generated with Claude Code