Skip to content

fix(test-insights): reshoot the three screenshots from the sandbox org - #12695

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/jd/jd/mrgfy-8780-docs-give-the-three-test-insights-pages-a-screenshot-again/reshoot-three-screenshots-sandbox-org--98c28b4c
Sep 7, 2026
Merged

fix(test-insights): reshoot the three screenshots from the sandbox org#12695
mergify[bot] merged 1 commit into
mainfrom
devs/jd/jd/mrgfy-8780-docs-give-the-three-test-insights-pages-a-screenshot-again/reshoot-three-screenshots-sandbox-org--98c28b4c

Conversation

@jd

@jd jd commented Sep 5, 2026

Copy link
Copy Markdown
Member

The Detection, Mitigation and Prevention images were captured against a
dashboard logged into an org with access to our private repositories, and they
have been served on docs.mergify.com ever since: real internal test paths, a
real pull request with its author, number and title, and a private repository
name in the selector. These three replace them with captures of
mergify-sandbox, an org that holds nothing private, so the same pages teach
the same thing without publishing anything.

The alternative was removing them and leaving the pages imageless, which is
what I first proposed. Replacing is better: the pages are about reading a
dashboard, and describing a donut in prose is not the same as showing one.

What each shot shows, and that it is real

Nothing here is mocked or posed. The sandbox repository runs a real pytest
suite on a schedule through pytest-mergify, with two intentionally flaky tests,
and Test Insights has been watching it for a month.

  • Detection — the tests-health donut (93.33% healthy, 6.67% flaky) and the
    CI Impact chart over its 141 failed executions.
  • Mitigation — quarantine scale and impact (2 tests saved 69 times), and the
    quarantined-tests list carrying both sources, auto and manual.
  • Prevention — caught-flaky, new-tests and CI-budget metrics, and the
    new-tests list broken down per pull request with each test's health.

Two framing decisions worth stating. All three are cropped to the content pane
rather than the whole window: a screenshot with the sidebar in frame goes stale
every time a nav item is renamed, even when the documented feature has not
moved, and that is how most of our screenshots rotted. Mitigation and
Prevention are shot over a one-month window rather than the default week,
because the week's numbers are zeros and an empty panel teaches nothing.

What this does not do

The git history keeps the old blobs, and I would not spend a history rewrite on
them. What leaked is internal test paths, one pull request title and a private
repository name — no credentials, nothing that grants access, no customer data.
A rewrite means force-pushing main and invalidating every open pull request and
clone, and it still would not delete anything: the blobs stay reachable by SHA
until GitHub garbage-collects, forks keep their copies, and the built pages have
been crawled. What is worth doing instead is purging the CDN cache for the three
asset URLs once this lands.

MRGFY-8780
Fixes Mergifyio/ci-bot#373

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_012x4fo5P6sFzCsKGZ8DDxLE

The Detection, Mitigation and Prevention images were captured against a
dashboard logged into an org with access to our private repositories, and they
have been served on docs.mergify.com ever since: real internal test paths, a
real pull request with its author, number and title, and a private repository
name in the selector. These three replace them with captures of
`mergify-sandbox`, an org that holds nothing private, so the same pages teach
the same thing without publishing anything.

The alternative was removing them and leaving the pages imageless, which is
what I first proposed. Replacing is better: the pages are about reading a
dashboard, and describing a donut in prose is not the same as showing one.

## What each shot shows, and that it is real

Nothing here is mocked or posed. The sandbox repository runs a real pytest
suite on a schedule through pytest-mergify, with two intentionally flaky tests,
and Test Insights has been watching it for a month.

- **Detection** — the tests-health donut (93.33% healthy, 6.67% flaky) and the
  CI Impact chart over its 141 failed executions.
- **Mitigation** — quarantine scale and impact (2 tests saved 69 times), and the
  quarantined-tests list carrying both sources, auto and manual.
- **Prevention** — caught-flaky, new-tests and CI-budget metrics, and the
  new-tests list broken down per pull request with each test's health.

Two framing decisions worth stating. All three are cropped to the content pane
rather than the whole window: a screenshot with the sidebar in frame goes stale
every time a nav item is renamed, even when the documented feature has not
moved, and that is how most of our screenshots rotted. Mitigation and
Prevention are shot over a one-month window rather than the default week,
because the week's numbers are zeros and an empty panel teaches nothing.

## What this does not do

The git history keeps the old blobs, and I would not spend a history rewrite on
them. What leaked is internal test paths, one pull request title and a private
repository name — no credentials, nothing that grants access, no customer data.
A rewrite means force-pushing main and invalidating every open pull request and
clone, and it still would not delete anything: the blobs stay reachable by SHA
until GitHub garbage-collects, forks keep their copies, and the built pages have
been crawled. What is worth doing instead is purging the CDN cache for the three
asset URLs once this lands.

MRGFY-8780
Fixes Mergifyio/ci-bot#373

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012x4fo5P6sFzCsKGZ8DDxLE
Change-Id: I98c28b4ca873d58a85b60c4df5e620145c2c10f1
Copilot AI lite review requested due to automatic review settings September 5, 2026 08:32
@mergify
mergify Bot deployed to Mergify Merge Protections September 5, 2026 08:32 Active

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mergify

mergify Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 6 merge protections satisfied — ready to merge.

Show 6 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = renovate[bot]
    • all of:
      • author = mergify-ci-bot
      • -head ~= ^docs-agent/

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 🔎 Reviews

  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

@mergify
mergify Bot requested a review from a team September 5, 2026 08:35
@jd
jd marked this pull request as ready for review September 5, 2026 21:10
@mergify
mergify Bot requested a review from a team September 7, 2026 07:27
@mergify

mergify Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 2 minutes 44 seconds in the queue, including 2 minutes 19 seconds running CI.

Required conditions to merge

@mergify mergify Bot added the queued label Sep 7, 2026
@mergify
mergify Bot merged commit f08c8f6 into main Sep 7, 2026
10 checks passed
@mergify
mergify Bot deleted the devs/jd/jd/mrgfy-8780-docs-give-the-three-test-insights-pages-a-screenshot-again/reshoot-three-screenshots-sandbox-org--98c28b4c branch September 7, 2026 08:31
@mergify mergify Bot removed the queued label Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants