-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Bugfix MTE-4133 Disable retries in fastlane #24251
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
39e6d4a
Enable retries in fastlane
clarmso c5635bf
Hardcode xcbeautify as the formatter. It's the default on Bitrise
clarmso 9a554a1
Sometimes we can open the tab tray
clarmso c2ab494
Create L10nSnapshotTests test plan. Enable test retries.
clarmso c54a8e1
Use test plan for L10n
clarmso c61388c
Use old wait for now.
clarmso 5638e8f
Disable retries for L10n
clarmso dff1b83
Refactor FXIOS-10205 [Swiftlint] Refactor how we handle .swiftlint.ym…
tonell-m c536cc0
Add FXIOS-10386 #22756 Add debug logs for handling route (#24218)
lmarceau ce86e9c
Bugfix FXIOS-10601 - User Not Directed To Correct Website Firefox-iOS…
DanielDervishi dc718ff
Bugfix FXIOS-7301 Fix swiftlint build errors on main (#24259)
ih-codes 1f0779a
Add FXIOS-11098 (Focus iOS) Update "Automatically Send Crash Reports"…
razvanlitianu 42dd48f
Add FXIOS-10666 Implement iOS "onboarding-opt-out" ping (#24101)
razvanlitianu 0b6048f
Remove [FXIOS-10299] remove universal link logic from Firefox and Fir…
Cramsden 80ef0fd
Refactor [v136] Auto update SPM with latest rust-component 136.0.2025…
github-actions[bot] 8efa353
Bugfix FXIOS-11127 ⁃ [Felt privacy - unified panel] - ETP toggle is d…
dicarobinho 6a28ae6
Bugfix FXIOS-11078 [Bookmarks Evolution] Incorrect index path resolut…
MattLichtenstein 7588b5a
Bugfix FXIOS-11081 [Bookmarks Evolution] Bookmarks disclosure button …
MattLichtenstein c199e00
Refactor FXIOS-11111 Make SwiftLint pre-push use --quiet (#24229)
mattreaganmozilla edc56e7
Refactor FXIOS-11120 #24247 [Sponsored tiles] Ensure we use productio…
lmarceau 3312fd5
Refactor FXIOS-11071 bookmarks telemetry into it's own struct (#24227)
yoanarios f73a493
Refactor FXIOS-10855 #23671 Reenable rating prompt with different rul…
lmarceau ee1ea73
focus-string-import-01-20-2025 (#24238)
github-actions[bot] 0da2f6b
FXIOS-11121 #24248 [Sponsored tiles] Ensure we send to both places fo…
lmarceau 0f19ac3
Add MTE-4138 - long press share actions tests (#24242)
dragosb01 05a4018
Bugfix FXIOS-11138 [ToS] Landscape mode should not be supported for '…
dicarobinho 46fc441
Bugfix FXIOS-11128 [ToS] - "Continue" is written with lowercase (#24281)
dicarobinho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ for lang in $LOCALES; do | |
echo "$(date) Snapshotting $lang" | ||
mkdir "l10n-screenshots/$lang" | ||
fastlane snapshot --project firefox-ios/Client.xcodeproj --scheme L10nSnapshotTests \ | ||
--number_of_retries 0 \ | ||
--number_of_retries 3 \ | ||
--skip_open_summary \ | ||
--xcargs "-maximum-parallel-testing-workers 2" \ | ||
--derived_data_path l10n-screenshots-dd \ | ||
|
@@ -46,7 +46,7 @@ for lang in $LOCALES; do | |
if [ "$?" != "0" ]; then | ||
echo "Fastlane exited with code: $?" | ||
exit $? | ||
elif grep -q "** TEST FAILED **"; then | ||
elif grep -q "TEST FAILED" "output.txt"; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "output.txt" was missing previously, so this line might not be working properly before. |
||
echo "Test/compilation failed" | ||
exit 1 | ||
elif grep -q "Caught error" "output.txt"; then | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell if the default value has changed or not by reading the documentation. Let's hard code this value.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
testHistoryTableContextMenu
failed. The whole list of tests are rerun. This may not be what we want.https://app.bitrise.io/build/bc7e1954-3780-4157-afeb-51e10ad9ff3d?tab=log
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, we don't want retries. Just one execution per locale no matter the reesult. Please see explanation here:https://mozilla.slack.com/archives/C02KSH6QNBS/p1737374666180979?thread_ts=1737374476.241319&cid=C02KSH6QNBS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option is ignored now by fastlane. We should use set the retry opion to off from xcode and to do that, we need to create a test plan for the L10n schema where we can configure that. I have done that locally, forced a test to fail, and there are no retries.
Please try that and let me know in case you want a hack session to do that together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have created a
L10nSnapshotTests
test plan and have the schema to use the test plan.