ci: improve E2E merge gate, add yarn cache, rename flakiness label#29553
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 85a1ea8. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
None of these changes touch application source code, E2E test files, test page objects, fixtures, or any component that would require Detox E2E validation. The CI workflow changes are validated by GitHub Actions itself when the workflows run, not by Detox tests. No performance-sensitive code is modified either. Performance Test Selection: |
|




Description
Three independent improvements to the CI pipeline:
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Modifies CI workflow gating and label-driven behavior that can block or permit merges, so misconfiguration could affect release throughput. Changes are scoped to GitHub Actions/scripts and caching, with no app runtime impact.
Overview
CI merge gating is tightened for E2E by treating failures/cancellations in
build-android-apksandbuild-ios-appsas merge-blocking (previously a failed build could cause smoke tests to skip and still pass the gate), while still allowing intentionalskippedoutcomes when E2E is not expected to run.Dependency caching is expanded by caching
node_modulesplus.yarn/install-state.gzin the sharedsetup-e2e-envaction and inci.ymljobs that run component-view tests and coverage merge, skippingyarn installon cache hits.Labeling/controls are updated:
skip-e2e-quality-gateis renamed toskip-e2e-flakiness-detectionacross scripts, rerun triggers, and docs;auto-label-not-ready-for-e2eis time-gated (13:00–17:00 UTC) before applyingpr-not-ready-for-e2e; and documentation/ownership is updated (adds QA ownership forE2E_DECISION_TREE.mdand clarifiesskip-e2eas an exceptional “skip builds + all E2E” escape hatch).Reviewed by Cursor Bugbot for commit ede188d. Bugbot is set up for automated code reviews on this repo. Configure here.