Extend deflake-e2e-recent-commits to scan PRs by wwwillchen/wwwillchen-bot (#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 32766d69227eb2454f45899e5784021161765019.
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
32766d69227eb2454f45899e5784021161765019. 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>
正在显示
请
注册
或者
登录
后发表评论