Skip to content

[TRUNK-17757] Document Test History tab on Flaky Tests test detail page#481

Open
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/test-run-history-tab
Open

[TRUNK-17757] Document Test History tab on Flaky Tests test detail page#481
samgutentag wants to merge 1 commit intomainfrom
sam-gutentag/test-run-history-tab

Conversation

@samgutentag
Copy link
Member

See PR body below

@trunk-staging-io
Copy link

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

@claude
Copy link
Contributor

claude bot commented Mar 16, 2026

Claude finished @samgutentag's task in 1m 21s —— View job


PR Review

  • Gather context
  • Read changed files
  • Review for typos, grammar, and formatting issues
  • Post inline comments
  • Final summary

The documentation for the Test History tab is well-structured and clearly written. The reorganization of the "Test case details" section into a tabbed layout, and the renaming of the old "Test history" section to "Status history" to avoid naming conflict, are both good improvements.

Two minor issues found (inline comments posted):

  1. flaky-tests/dashboard.md line 121 — Color inconsistency between the chart legend (Green/Red/Blue/Gray) and the row border color description (Green/Red/Blue/Orange). The gray/skipped color is missing from the row border list.

  2. flaky-tests/quarantining.md line 204 — "These views show every override, setting change, and comment..." conflates what the Events tab and Test History tab each show. The Events tab covers overrides/changes/comments; the Test History tab shows runs.

Everything else looks good — headings hierarchy is correct, tables are well-formatted, filter descriptions are accurate, and cross-references between docs are updated appropriately.


<table><thead><tr><th width="188">Column</th><th>Description</th></tr></thead><tbody><tr><td>Timestamp</td><td>When the test ran, displayed in UTC.</td></tr><tr><td>Duration</td><td>How long the test took to execute.</td></tr><tr><td>Branch</td><td>The branch context. Shows "Mergequeue testing #NNN" for merge queue runs, "#NNN" for pull request runs, or the branch name for other runs.</td></tr><tr><td>Commit</td><td>The first 7 characters of the commit SHA.</td></tr></tbody></table>

Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, and orange for error.
Copy link
Contributor

Choose a reason for hiding this comment

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

The chart color legend above (lines 98–101) lists Gray = Skipped, but this row-border description mentions orange for error without including gray/skipped. The two color references are inconsistent — readers may wonder why the row borders and chart use different color sets.

Consider aligning them, e.g.:

Suggested change
Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, and orange for error.
Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, gray for skipped, and orange for error.

<figure><img src="../.gitbook/assets/qurantine-individual-tests-revert.png" alt=""><figcaption></figcaption></figure>

To review a history of all quarantine changes on a test, use the **Quarantine Events** filter within the **Test History** section. This will show every override, setting change, and comment, along with the author and timestamp for each entry.
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. These views show every override, setting change, and comment, along with the author and timestamp for each entry.
Copy link
Contributor

Choose a reason for hiding this comment

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

The last sentence "These views show every override, setting change, and comment..." conflates two tabs that show different things: the Events tab shows overrides/setting changes/comments, while the Test History tab (filtered to Quarantined) shows runs. Consider splitting for clarity:

Suggested change
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. These views show every override, setting change, and comment, along with the author and timestamp for each entry.
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. The Events tab shows every override, setting change, and comment, along with the author and timestamp for each entry.

Update dashboard page to describe the new tabbed layout (Summary, Test History,
Monitors, Events) and add comprehensive documentation for the Test History tab
including the daily runs chart, filters, runs table, and run detail panel.
Update quarantining page to clarify the reference to quarantine events across
the Events and Test History tabs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@samgutentag samgutentag force-pushed the sam-gutentag/test-run-history-tab branch from 389c2e8 to 427dd03 Compare March 17, 2026 05:47
@claude
Copy link
Contributor

claude bot commented Mar 17, 2026

Claude finished @samgutentag's task in 1m 9s —— View job


PR Review

  • Gather context
  • Read changed files
  • Review for typos, grammar, and formatting issues
  • Post inline comments
  • Final summary

The new Test History tab documentation is well-structured and the reorganization into a tabbed layout is an improvement. The same two issues from the previous review remain unaddressed (inline comments re-posted):

  1. flaky-tests/dashboard.md line 121 — The daily runs chart legend lists Gray = Skipped, but the row border color list omits gray/skipped. Needs gray for skipped added.

  2. flaky-tests/quarantining.md line 204 — "These views show every override, setting change, and comment..." still conflates the Events tab (overrides/changes/comments) and Test History tab (runs). The final sentence should apply only to the Events tab.


<table><thead><tr><th width="188">Column</th><th>Description</th></tr></thead><tbody><tr><td>Timestamp</td><td>When the test ran, displayed in UTC.</td></tr><tr><td>Duration</td><td>How long the test took to execute.</td></tr><tr><td>Branch</td><td>The branch context. Shows "Mergequeue testing #NNN" for merge queue runs, "#NNN" for pull request runs, or the branch name for other runs.</td></tr><tr><td>Commit</td><td>The first 7 characters of the commit SHA.</td></tr></tbody></table>

Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, and orange for error.
Copy link
Contributor

Choose a reason for hiding this comment

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

The daily runs chart legend above (lines ~93–101) includes Gray = Skipped, but gray/skipped is missing from this row border color list. Consider adding it for consistency:

Suggested change
Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, and orange for error.
Each row has a colored left border indicating the result: green for pass, red for fail, blue for quarantined, gray for skipped, and orange for error.

<figure><img src="../.gitbook/assets/qurantine-individual-tests-revert.png" alt=""><figcaption></figcaption></figure>

To review a history of all quarantine changes on a test, use the **Quarantine Events** filter within the **Test History** section. This will show every override, setting change, and comment, along with the author and timestamp for each entry.
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. These views show every override, setting change, and comment, along with the author and timestamp for each entry.
Copy link
Contributor

Choose a reason for hiding this comment

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

The closing sentence "These views show every override, setting change, and comment..." still conflates the two tabs: the Events tab shows overrides/setting changes/comments, while the Test History tab only shows runs. Applying the cleaner split from the previous suggestion:

Suggested change
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. These views show every override, setting change, and comment, along with the author and timestamp for each entry.
To review a history of all quarantine changes on a test, check the **Events** tab on the test details page. You can also use the **Quarantined** result filter in the **Test History** tab to see all quarantined runs. The Events tab shows every override, setting change, and comment, along with the author and timestamp for each entry.

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.

1 participant