Commit 05feb90
Extend deflake-e2e-recent-commits to scan PRs by wwwillchen/wwwillchen-bot (dyad-sh#2647)
## Summary
- Extends the `deflake-e2e-recent-commits` command to also gather flaky
tests from open PRs authored by `wwwillchen` and `wwwillchen-bot`
- Parses Playwright Test Results comments on these PRs to extract flaky
test names
- Provides more comprehensive coverage for deflaking efforts by
combining main branch CI runs with PR-reported flakes
## Test plan
- Run `/dyad:deflake-e2e-recent-commits` and verify it now scans both
main branch CI runs AND open PRs by the specified authors
- Verify flaky tests from PR comments are correctly parsed and added to
the deflake list
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2647"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Extends deflake-e2e-recent-commits to also scan open PRs by wwwillchen
and wwwillchen-bot for Playwright-reported flaky tests. This broadens
coverage beyond main-branch CI and improves deflaking accuracy.
- **New Features**
- Lists recent open PRs by wwwillchen and wwwillchen-bot.
- Parses the latest “Playwright Test Results” bot comment to extract
flaky test titles.
- Merges PR-derived flakes with main-branch results, de-duplicates, and
notes PR sources in the summary.
- Updates no-results message to include PRs (“recent commits or PRs”).
<sup>Written for commit 32766d6.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Documentation-only change that broadens the data sources described for
collecting flaky tests; no runtime or production code is modified.
>
> **Overview**
> Extends the `.claude` command `deflake-e2e-recent-commits` to
**collect flaky Playwright tests from two sources**: recent `main` CI
`html-report` artifacts *and* the latest “Playwright Test Results” bot
comment on recent open PRs authored by `wwwillchen`/`wwwillchen-bot`.
>
> Updates the instructions to include the PR scanning/parsing workflow,
to attribute flakes by source in the final report, and to change the
no-flakes message to cover “recent commits or PRs.”
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
32766d6. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent c21d5e9 commit 05feb90
1 file changed
Lines changed: 24 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 49 | + | |
53 | 50 | | |
54 | | - | |
| 51 | + | |
55 | 52 | | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
57 | 70 | | |
58 | 71 | | |
59 | 72 | | |
| |||
70 | 83 | | |
71 | 84 | | |
72 | 85 | | |
73 | | - | |
| 86 | + | |
74 | 87 | | |
75 | 88 | | |
76 | 89 | | |
| |||
128 | 141 | | |
129 | 142 | | |
130 | 143 | | |
131 | | - | |
| 144 | + | |
| 145 | + | |
132 | 146 | | |
133 | 147 | | |
134 | 148 | | |
| |||
0 commit comments