-
Notifications
You must be signed in to change notification settings - Fork 13
[TRUNK-17695] Document impacted targets visualization in merge graph UI #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -47,6 +47,23 @@ The view of all current PRs being tested by Trunk Merge Queue and their respecti | |||||
|
|
||||||
| You can click on any shown PR to navigate to the details page for that PR. | ||||||
|
|
||||||
| #### Impacted targets in the graph | ||||||
|
|
||||||
| When running in [Parallel mode](../optimizations/parallel-queues/), the graph view shows impacted targets information to help you understand why PRs are grouped or ordered the way they are. | ||||||
|
|
||||||
| * **Per-PR tooltips**: Hover over a PR node to see which targets that PR impacts. | ||||||
| * **Overlapping targets on edges**: Use the **Show impacted targets** toggle to display which targets overlap between connected PRs. Overlapping targets explain why PRs are in the same testing sequence — PRs with shared targets must test together. | ||||||
|
|
||||||
| This is useful for debugging unexpected queue ordering or understanding why specific PRs are batched together. | ||||||
|
|
||||||
| #### Impacted targets on the PR detail page | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Structural placement concern: This subsection discusses the PR detail page, but it's nested under
As written, readers browsing the "Graph view" section may find the PR detail page content unexpected here. |
||||||
|
|
||||||
| On any PR's detail page, click **View impacted targets** to see the full list of uploaded targets. The modal shows one of three states: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Open question (from PR description): Does the View impacted targets modal appear for PRs in Single mode as well, or only in Parallel mode? If it's Parallel-mode-only, add a qualifier here similar to the note in the section above:
|
||||||
|
|
||||||
| * **IMPACTS\_ALL**: The PR impacts all targets, so no parallel optimization is possible. | ||||||
| * **Specific targets**: A list of each target the PR impacts. | ||||||
| * **No targets uploaded**: No targets were provided, so the PR is treated as IMPACTS\_ALL for safety. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Formatting inconsistency:
Suggested change
Alternatively, consider using backtick code formatting ( |
||||||
|
|
||||||
| ### Health view | ||||||
|
|
||||||
| Select a period of time to inspect using the **Period** dropdown (default 7 days) and a **Granularity** (defaults to daily) of queue metrics | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open question (from PR description): The toggle is referred to as "Show impacted targets" here. Please confirm this matches the exact label in the UI before merging — the PR body flags this as an open question.