-
Notifications
You must be signed in to change notification settings - Fork 80
[PM-27522] Test workflows use simulator ID for xcodebuild destinations and remove test retry flags #2075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great job! No new security vulnerabilities introduced in this pull request |
This reverts commit a329c2f.
0d5fd9b to
94a24d9
Compare
|
Warning @vvolkgang Uploading code coverage report failed. Please check the "Upload to codecov.io" step of Process Test Reports job for more details. |
521e8d5 to
7f33380
Compare
7f33380 to
18a67e0
Compare
|
Warning @vvolkgang Uploading code coverage report failed. Please check the "Upload to codecov.io" step of Process Test Reports job for more details. |
|
Warning @vvolkgang Uploading code coverage report failed. Please check the "Upload to codecov.io" step of Process Test Reports job for more details. |
|
Claude finished @vvolkgang's task —— View job PR Review: Test workflows use simulator ID for xcodebuild destinationsSummary of ChangesThis PR makes two key improvements to the iOS test workflows:
Files Changed:
Critical IssuesNone found. The implementation is correct and achieves the stated objectives. Suggested Improvements1. Quote Consistency EnhancementLocation: The Test step has one remaining inconsistency with quoting: kill "$PYEETD_PID"While this was fixed in test.yml:162, the same pattern exists in test-bwa.yml:167. Both files now correctly quote Actually, reviewing the diff again - both files correctly quote 2. Variable Quoting in test.ymlLocation: Minor quoting inconsistency (already fixed in this PR)The PR already fixes this: - -resultBundlePath $_TESTS_RESULT_BUNDLE_PATH \
+ -resultBundlePath "$_TESTS_RESULT_BUNDLE_PATH" \This is good practice for shell variable safety. ✓ 3. Documentation ConsiderationLocation: Consider adding a usage note in the output description mentioning that this ID should be used for xcodebuild destinations: outputs:
simulator-id:
description: 'The identifier of the booted simulator device (use with -destination "platform=iOS Simulator,id=<id>")'
value: ${{ steps.boot.outputs.device-id }}This would make it clearer for future developers how to use this output. Good Practices Observed
Architecture & Design ReviewSimulator ID Approach ✓The change from using Why this is better:
Implementation verification:
Test Retry Removal ✓Removing Rationale: These flags together cause all tests in a target to retry if any single test fails, which is not the intended behavior. This can:
The remaining flags still provide test reliability:
These prevent hanging tests without forcing unnecessary retries. Security ConsiderationsNo security concerns identified. Changes are limited to:
No changes to:
Testing VerificationManual verification needed:
Observable CI signals: Action ItemsOptional Improvements
No Blocking IssuesThis PR is ready to merge. All changes are correct, well-structured, and achieve the stated objectives. ConclusionThis is a well-executed PR that addresses real CI reliability issues: Strengths:
Impact:
Recommendation: ✅ Approve and merge |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2075 +/- ##
==========================================
- Coverage 85.28% 82.92% -2.36%
==========================================
Files 1695 1978 +283
Lines 144592 160907 +16315
==========================================
+ Hits 123319 133437 +10118
- Misses 21273 27470 +6197 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-27522
📔 Objective
-retry-tests-on-failureand-test-repetition-relaunch-enabled YESforces all tests of a Target to retry if a single test fails. Discussed it with the team and we agreed to remove it for now, we may revisit this decision later.⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes