Repository navigation
feat(metrics): track rollback faults restored on the dashboard and a badge - #458
Merged
Merged
Conversation
…badge Nightly's rollback jobs now count the faults they inject, and a new Rollback Metrics workflow records the total on gh-pages beside the mutation score, for a dashboard section, a README badge, and jacksonferguson.me.
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.
Summary & Motivation
Rollback is the claim a user can least check for themselves, and it already has an exhaustive nightly suite. This publishes what that suite proves: how many faults were injected and restored, as a README badge (
rollback faults restored | N), a section on the metrics dashboard, and a count on jacksonferguson.me, the way the mutation score is handled. It follows #457, which renamed the dashboard to/metrics/.Planning & Key Decisions
N failing.rollback-latest.jsonupdates on any complete run;rollback-history.jsonappends only fully green runs.rollback-metrics.ymlruns onworkflow_runof scheduled Nightlies, as Nightly Report does, so a publishing failure cannot fail the run a release requires. Manual Nightlies, which may narrow the matrix, never publish.rollback_faultmarker and--rollback-reporthas a small plugin write per-scenario counts. It merges the retry pass, so a fault that failed and then passed counts once, as passed. The matrix entries now name their artifacts.status-colored badge (breaks the cyan row); publishing from inside Nightly (couples release gating to publishing); counting from junit XML (loses earlier results on the retry run).Rollout
Nothing publishes until the first scheduled Nightly after merge; the dashboard section and badge show "no complete runs yet" until then. The site already has the dispatch token from the mutation workflow. A follow-up in JacksonFergusonDev.github.io adds the count to the Protostar card.