Skip to content
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

Refactor FXIOS-10645 Update Bitrise to use XCode 16.1 #23211

Merged
merged 28 commits into from
Nov 22, 2024
Merged

Conversation

OrlaM
Copy link
Contributor

@OrlaM OrlaM commented Nov 18, 2024

📜 Tickets

Jira ticket
Github issue

💡 Description

Updating Bitrise to use XCode 16.1

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

@OrlaM OrlaM added the Do Not Merge ⛔️ This issue is a work in progress and is not ready to land label Nov 18, 2024
@OrlaM OrlaM requested a review from a team as a code owner November 18, 2024 20:48
@OrlaM OrlaM requested a review from jjSDET November 18, 2024 20:48
@clarmso
Copy link
Collaborator

clarmso commented Nov 19, 2024

Both Firefox and Focus fail on the swift run step. 😞

./content_blocker_update.sh: line 17:  6485 Killed: 9               swift run

I have mentioned the same issue for Xcode 16.0: #22449

@OrlaM OrlaM requested a review from a team as a code owner November 19, 2024 15:36
@clarmso clarmso requested review from clarmso and mdotb-moz November 19, 2024 16:00
(cd BrowserKit && swift run)
cd BrowserKit
swift run || true
swift run
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workaround works on Github Actions as well. 🎉

@isabelrios
Copy link
Contributor

isabelrios commented Nov 21, 2024

Looks like there are 16 Unit Tests failures, some of those crashed. UI tests have not run in Bitrise yet until the unit tests pass

@mobiletest-ci-bot
Copy link

mobiletest-ci-bot commented Nov 21, 2024

Messages
📖 Edited 18 files
📖 Created 0 files

Generated by 🚫 Danger Swift against 4683e73

@OrlaM OrlaM removed the Do Not Merge ⛔️ This issue is a work in progress and is not ready to land label Nov 21, 2024
@OrlaM
Copy link
Contributor Author

OrlaM commented Nov 21, 2024

We have a green build 🙌

@OrlaM
Copy link
Contributor Author

OrlaM commented Nov 21, 2024

@mdotb-moz or @clarmso I can merge this as soon as I get the ok from the automation side.

@OrlaM OrlaM changed the title Refactor Update Bitrise to use XCode 16.1 Refactor FXIOS-10645 Update Bitrise to use XCode 16.1 Nov 21, 2024
@OrlaM
Copy link
Contributor Author

OrlaM commented Nov 21, 2024

@Mergifyio backport release/v133

Copy link
Contributor

mergify bot commented Nov 21, 2024

backport release/v133

✅ Backports have been created

@isabelrios
Copy link
Contributor

We may need the fix in this PR here so that the failing test passes

Copy link
Contributor

@mdotb-moz mdotb-moz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OrlaM OrlaM merged commit d356717 into main Nov 22, 2024
8 of 9 checks passed
@OrlaM OrlaM deleted the om/bitrise-xcode-16 branch November 22, 2024 17:59
mergify bot pushed a commit that referenced this pull request Nov 22, 2024
* Update Bitrise to use XCode 16.1

* Update npm vulnrability

* Add verbose to the swift command

* Try edge version

* Trying one thing

* Update error handling in script

* Remove edge version

* Run script twice

* Update focus

* Revert npm change

* Test remove shard script

* Fix unit tests

* Update simulator target

* Change simulator

* Disable some tests

* Compile and test Focus on Github Actions

* Use macos-15 runner

* Run Focus tests for supported iOS versions

* Revert to old workflow name

* Update workflow name

* Run Firefox smoke tests on Github Actions

* Could the device matter?

* Disable some more tests

* Update danger version

* Update package

* How about iPad mini

* How about using Github Actions to run old iOS versions?

* Remove the update address from the smoke test

---------

Co-authored-by: Laurie Marceau <[email protected]>
Co-authored-by: Clare So <[email protected]>
Co-authored-by: mbarone <[email protected]>
(cherry picked from commit d356717)
clarmso added a commit that referenced this pull request Nov 25, 2024
* Update Bitrise to use XCode 16.1

* Update npm vulnrability

* Add verbose to the swift command

* Try edge version

* Trying one thing

* Update error handling in script

* Remove edge version

* Run script twice

* Update focus

* Revert npm change

* Test remove shard script

* Fix unit tests

* Update simulator target

* Change simulator

* Disable some tests

* Compile and test Focus on Github Actions

* Use macos-15 runner

* Run Focus tests for supported iOS versions

* Revert to old workflow name

* Update workflow name

* Run Firefox smoke tests on Github Actions

* Could the device matter?

* Disable some more tests

* Update danger version

* Update package

* How about iPad mini

* How about using Github Actions to run old iOS versions?

* Remove the update address from the smoke test

---------

Co-authored-by: Laurie Marceau <[email protected]>
Co-authored-by: Clare So <[email protected]>
Co-authored-by: mbarone <[email protected]>
OrlaM added a commit that referenced this pull request Nov 28, 2024
* Update Bitrise to use XCode 16.1

* Update npm vulnrability

* Add verbose to the swift command

* Try edge version

* Trying one thing

* Update error handling in script

* Remove edge version

* Run script twice

* Update focus

* Revert npm change

* Test remove shard script

* Fix unit tests

* Update simulator target

* Change simulator

* Disable some tests

* Compile and test Focus on Github Actions

* Use macos-15 runner

* Run Focus tests for supported iOS versions

* Revert to old workflow name

* Update workflow name

* Run Firefox smoke tests on Github Actions

* Could the device matter?

* Disable some more tests

* Update danger version

* Update package

* How about iPad mini

* How about using Github Actions to run old iOS versions?

* Remove the update address from the smoke test

---------

Co-authored-by: Laurie Marceau <[email protected]>
Co-authored-by: Clare So <[email protected]>
Co-authored-by: mbarone <[email protected]>
(cherry picked from commit d356717)
DonalMe pushed a commit that referenced this pull request Nov 28, 2024
… (#23332)

Refactor FXIOS-10645 Update Bitrise to use XCode 16.1 (#23211)

* Update Bitrise to use XCode 16.1

* Update npm vulnrability

* Add verbose to the swift command

* Try edge version

* Trying one thing

* Update error handling in script

* Remove edge version

* Run script twice

* Update focus

* Revert npm change

* Test remove shard script

* Fix unit tests

* Update simulator target

* Change simulator

* Disable some tests

* Compile and test Focus on Github Actions

* Use macos-15 runner

* Run Focus tests for supported iOS versions

* Revert to old workflow name

* Update workflow name

* Run Firefox smoke tests on Github Actions

* Could the device matter?

* Disable some more tests

* Update danger version

* Update package

* How about iPad mini

* How about using Github Actions to run old iOS versions?

* Remove the update address from the smoke test

---------

Co-authored-by: Laurie Marceau <[email protected]>
Co-authored-by: Clare So <[email protected]>
Co-authored-by: mbarone <[email protected]>
(cherry picked from commit d356717)

Co-authored-by: OrlaM <[email protected]>
isabelrios pushed a commit that referenced this pull request Dec 3, 2024
* Update Bitrise to use XCode 16.1

* Update npm vulnrability

* Add verbose to the swift command

* Try edge version

* Trying one thing

* Update error handling in script

* Remove edge version

* Run script twice

* Update focus

* Revert npm change

* Test remove shard script

* Fix unit tests

* Update simulator target

* Change simulator

* Disable some tests

* Compile and test Focus on Github Actions

* Use macos-15 runner

* Run Focus tests for supported iOS versions

* Revert to old workflow name

* Update workflow name

* Run Firefox smoke tests on Github Actions

* Could the device matter?

* Disable some more tests

* Update danger version

* Update package

* How about iPad mini

* How about using Github Actions to run old iOS versions?

* Remove the update address from the smoke test

---------

Co-authored-by: Laurie Marceau <[email protected]>
Co-authored-by: Clare So <[email protected]>
Co-authored-by: mbarone <[email protected]>
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.

6 participants