docs(flaky-tests): document AI Investigation tab#539
docs(flaky-tests): document AI Investigation tab#539samgutentag wants to merge 1 commit intomainfrom
Conversation
Adds a new page covering the Analysis tab introduced in trunk-io/trunk2#3504. Documents how to view AI investigation results, trigger new investigations, apply fix recommendations, and browse investigation history. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Claude finished @samgutentag's task in 1m 39s —— View job PR Review
Overall the page is well-structured, follows the repo's documentation conventions, and all relative links resolve to existing files. Two issues found: Blocking
Non-blocking
|
|
|
||
| At the top, you will see: | ||
|
|
||
| - The **overall confidence score** (color-coded green for 80%+, yellow for 50%+, orange below 50%) |
There was a problem hiding this comment.
The confidence score ranges overlap: "yellow for 50%+" technically includes the 80%+ range already described as green. The three bands should be mutually exclusive.
| - The **overall confidence score** (color-coded green for 80%+, yellow for 50%+, orange below 50%) | |
| - The **overall confidence score** (color-coded green for 80%+, yellow for 50–79%, orange below 50%) |
|
|
||
| | Fact type | What it analyzes | | ||
| |---|---| | ||
| | **CI Logs** | Supplements test failure outputs with CI workflow logs | |
There was a problem hiding this comment.
The phrasing "Supplements test failure outputs with CI workflow logs" reads as though the fact type is augmenting the outputs rather than analyzing the logs themselves. Suggest clarifying the direction:
| | **CI Logs** | Supplements test failure outputs with CI workflow logs | | |
| | **CI Logs** | CI workflow logs that provide additional context beyond test failure output | |
Summary
flaky-tests/ai-investigation.mddocumenting the Analysis tab on the Flaky Tests test detail page (trunk-io/trunk2#3504)summary.mdSource
Test plan