Commit dcb4a4a
feat: add Gemini CI analysis, PR comments, and CI orchestrator (Phase 3)
Completes the CI pipeline for automated visual regression on PRs:
- analyze-gemini.ts: Batch multimodal analysis using Google GenAI SDK,
processes 20-30 screenshot pairs per API call with structured JSON output
- comment.ts: Generates markdown PR comments with regression tables,
collapsible sections for intentional changes and noise, and
pre-filter breakdowns. Posts via gh CLI.
- ci.ts: Single entrypoint orchestrating capture → prefilter → Gemini
analysis → PR comment. Exits code 1 on high-severity regressions.
All three phases of the PRD are now implemented:
Phase 1: Capture engine + baselines + plugin skeleton
Phase 2: pixelmatch pre-filter with tiered classification
Phase 3: Gemini CI + PR comments + orchestrator
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 217d3c5 commit dcb4a4a
File tree
8 files changed
+1152
-9
lines changed- .claude-plugin
- scripts
- tests
8 files changed
+1152
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
4 | 18 | | |
5 | 19 | | |
6 | 20 | | |
| |||
0 commit comments