Skip to content

Conversation

@snomiao
Copy link
Member

@snomiao snomiao commented Sep 4, 2025

Summary

Fixes the issue where PR comments were missing deployment links because the deployment-info artifacts were never created.

Problem

After PR #5298, the playwright deploy workflow was commenting on PRs but with no deployment links. The comment-tests-completed job was trying to download deployment-info-* artifacts that didn't exist.

Solution

  • Capture wrangler deployment URL output and save to GitHub outputs
  • Create deployment-info artifacts with test results and deployment URLs
  • Add test exit code tracking in test-ui.yaml workflow
  • Add PR number logging for debugging
  • Improve URL extraction with multiple patterns and fallback

Test Plan

This PR will test itself - the CI/CD pipeline should now properly generate comments with deployment URLs for each browser's test report.

🤖 Generated with Claude Code

┆Issue is synchronized with this Notion page by Unito

snomiao and others added 5 commits September 2, 2025 03:41
Combines pr-playwright-deploy.yaml and pr-playwright-comment.yaml into a single workflow to ensure proper dependency ordering. The comment job now waits for deployments to complete before generating comments with deployment URLs.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…kflows

- Capture wrangler deployment URL output and save to GitHub outputs
- Create deployment-info artifacts with test results and deployment URLs
- Add test exit code tracking in test-ui.yaml workflow
- Add PR number logging for debugging
- Improve URL extraction with multiple patterns and fallback

This fixes the issue where PR comments were missing deployment links because the deployment-info artifacts were never created.
@snomiao snomiao marked this pull request as ready for review September 4, 2025 05:01
@snomiao snomiao requested a review from a team as a code owner September 4, 2025 05:01
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Sep 4, 2025
@snomiao snomiao marked this pull request as draft September 4, 2025 05:50
@snomiao
Copy link
Member Author

snomiao commented Sep 10, 2025

@snomiao snomiao closed this Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants