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 4 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 closed this Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants