Repository navigation
ci: bulk-refresh Playwright orchestration scripts + safe workflow files (25 files) - #33882
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Comments Outside DiffThese findings sit on lines the diff does not cover, so they could not be posted inline. Each one leaves this list once its file changes.
|
- merge_queue_metrics.py: on the artifact/API-read exception path, completed runs were recorded with reportExpected=None, so aggregation and the missing-report count skipped them and the digest could show zero missing reports even when evidence was unreadable. Keep completed runs visible by setting reportExpected=True when run.status=="completed". - build_sso_login_summary.sh: dead code — playwright-sso-login-nightly.yml invokes the .py implementation (already on main) and nothing calls this shell duplicate. Drop it to prevent silent drift. Stale bot findings NOT applicable (files not in this PR): select_playwright_tests.py, data-access-request-e2e.yml, integration-tests-*.yml, test_playwright_merge_group_validation.py. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Restore the release-branch retries override that the wholesale copy from harshach's branch had dropped. Reasoning per main's inline comment: release branches accumulate flakes faster than main, so nightly runs on those branches use two retries instead of the config default of one. Per user direction: dropping this needs more testing before removal — keep parity with main on these two nightly workflows for now. Bot finding (greptile P2 on data-access-request-e2e.yml + gitar wholesale- copies-drop-safeguards) already flagged this pattern; the DAR workflow isn't in this PR, but these two are, so we bring them back in line here. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Code Review ✅ Approved 4 closed / 4 findings🟡 Medium risk · CI scripts and workflows change Playwright evidence validation and merge-queue reporting. Bulk refresh of 25 CI files introduces safeguard regressions: ✅ 4 closed✅ Bug: PR events now force full-suite Playwright, bypassing targeted selection
✅ Bug: New merge-group validation tests reference workflow steps absent here
✅ Quality: New build_sso_login_summary.sh is dead code; workflow uses the .py
Closed: Bug: Wholesale workflow copies drop safeguards that exist on main
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Fixes #33087
Describe your changes:
Rebuilt after bot review flagged 3 real issues in the earlier draft. Now 25 CI files from #33088 — all pure additions OR wholesale copies where main hasn't touched the file since our merge-base.
Fixes from earlier draft
select_playwright_tests.py— reverted to main's version. Harshach's version addedpull_requestandpull_request_targettofull_event, which would force every ordinary PR to run the full ~36-shard Playwright suite, bypassing the impact-map targeted selection. The run-mode change belongs with the surrounding shard-planning refactor, not here.data-access-request-e2e.yml— reverted to main's version. Harshach's copy dropped thecheck-changespath-filter, so the DAR external Collate dispatch (48-60 min, usesCOLLATE_PAT) would fire on every non-draft PR.integration-tests-{mysql-es,postgres-es-redis,postgres-os}.yml— reverted. Harshach's copies dropped the "Upload Integration Test Runtime (retry)" step that handles transientFinalizeArtifact500s.test_playwright_merge_group_validation.py— dropped. References workflow steps (Gate verified merge-group shards,verify-shard-coverage) that only exist on workflows deliberately excluded from this PR.playwright-knowledge-graph-postgresql-e2e.yml— dropped, already in fix(ui) + test: PlatformLineage stale-search race + lineage/owner-picker test coverage #33877.Scripts (19)
New (10):
audit_playwright_design.cjs,normalize_playwright_artifacts.cjs,start_playwright_autopilot_mysql.sh,build_sso_login_summary.sh, and 5 new test files underscripts/tests/.Refreshed (9, all main-safe):
capture_playwright_server_output.py,evaluate_playwright_performance.py,merge_queue_daily_report.py,merge_queue_metrics.py,playwright_cache_fingerprint.py,stop_playwright_fast_environment.sh,summarize_playwright_requests.py,test_playwright_cache_assets.py,test_classify_playwright_outcome.py,verify_playwright_coverage.py.Workflows (6, all main-safe)
merge-queue-daily-report.yml,mysql-nightly-e2e.yml,playwright-visual.yml,populate-playwright-caches.yml,postgresql-nightly-e2e.yml,yarn-coverage.yml.Type of change:
Notes
Cherry-picked from #33088. All original content authored by @harshach.
🤖 Generated with Claude Code