When a visual regression suite completes with diffs, triages each one against the PR's code diff and decides whether it is intended, unintended, or noise. Unintended diffs are raised as inline PR review threads; intended and noisy diffs are summarized with their reasoning so the report is auditable.
- Identifier
visual-regression-triage- Version
- 1.0.1
- Steps
- 4
- Triggers
- 1
- visual-regression
- triage
- screenshots
- ui
- ci
- automated
When it runs
ci_workflow.completed- Settle delay
- 30s after the event
Only when all hold
- ciWorkflow.conclusion equals success
- ciWorkflow.name in visual-regression, vrt, chromatic, percy, loki, storycap
- actor.username not contains [bot]
The pipeline
The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.
- 01Visual Regression CI Workflow Completed
triggerThe event that starts the run.
- 02Clone Repository
git.cloneShallow-clones the repository at the right ref.
- 03Triage Visual Regression Diffs
agent.runOne agent works the task with its toolkit.
- 04Publish Visual Regression Triage Report
report.publishPosts or updates a deduplicated report comment.
The agent
Visual Regression Triage Reviewer
- Base type
- Code Reviewer
- Temperature
- 0.2
- Max iterations
- 40
- Tools
- 6
Git provider · 2
get_pull_request_diffGet Pull Request Diff · readadd_pull_request_review_threadAdd PR Review Thread · write
CI/CD · 1
get_ci_run_logsGet CI Run Logs · read
Filesystem · 1
read_fileRead File · read
Code search · 1
code_searchCode Search · read
Status · 1
update_statusUpdate Status · write
Related playbooks
PR Triage
Classifies new PRs by type, size, and risk the moment they open or go ready-for-review.
Accessibility Audit
Reviews UI PRs for accessibility defects, posts inline threads citing WCAG criteria, and submits a summary review.
API Deprecation Sweep
Monthly scan of deprecated endpoints, fields, and headers that files removal tickets for anything past its sunset date.