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

MOB-1852 Udpate macosx xcode ci #482

Merged
merged 7 commits into from
Jul 4, 2023
Merged

Conversation

d4r1091
Copy link
Member

@d4r1091 d4r1091 commented Jun 29, 2023

MOB-1852

Context

Currently, we use Xcode 14.2 to run our unit tests via GH Actions and our deploy pipelines in CircleCI.

In order to benefit from internal API fixes, we shall upgrade to Xcode 14.3.1 as being the latest stable Xcode release.

Approach

Updated both GH and CircleCI to use the latest 14.3.1 Xcode..
Two separate commits to it's easier to revert one of the CIs in case.

Other

  • Flag 🎏 : Github MacOS13 is still marked as beta - let's check it out though 😉

🚨Last commit to be reverted. Needed to trigger and hopefully pass tests only

@d4r1091 d4r1091 requested a review from a team June 29, 2023 15:16
Copy link

@lucaschifino lucaschifino left a comment

Choose a reason for hiding this comment

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

I've noticed some tests are failing and as far as I can tell those seem to also happen locally using Xcode 14.3... I think we have discussed it before and I have not investigated the issue, just thought I would point it 🙂

@d4r1091
Copy link
Member Author

d4r1091 commented Jun 30, 2023

To add further context, it is an issue that Firefox has spotted in similar scenarios.
Though our base version is different. I'll try to gather thoughts and keep you posted.

@ecotopian
Copy link
Collaborator

To add further context, it is an issue that Firefox has spotted in similar scenarios.
Though our base version is different. I'll try to gather thoughts and keep you posted.

Wondering if those failing tests really indicate a malfunction of the app with a higher base sdk, or if they are simply false negatives. If it's the latter we can simply deactivate them.

@d4r1091
Copy link
Member Author

d4r1091 commented Jul 3, 2023

I seriously doubt that those tests indicate a clear malfunction based on the SDKs.
As part of this ticket, whilst investigating for the failing ones matching FF codebase, I fixed a crash happening on some tests. I would consider myself happy with deactivating the rest of the tests and monitor the FF Github issues. Happy to take care of that as background job.
If I'll get both your 👍 , I'll deactivate the tests, so far only beloging to TabDisplayManagerTests, wih no further crashes.

@d4r1091 d4r1091 requested a review from a team July 3, 2023 08:37
@ecotopian
Copy link
Collaborator

I seriously doubt that those tests indicate a clear malfunction based on the SDKs.
As part of this ticket, whilst investigating for the failing ones matching FF codebase, I fixed a crash happening on some tests. I would consider myself happy with deactivating the rest of the tests and monitor the FF Github issues. Happy to take care of that as background job.
If I'll get both your 👍 , I'll deactivate the tests, so far only beloging to TabDisplayManagerTests, wih no further crashes.

Fine for me. Let's deactivate the TabDisplayManagerTests and remind ourselves to reactivate them after the next upgrade 🤓

@d4r1091 d4r1091 force-pushed the MOB-1852_udpate_macosx_xcode_ci branch 2 times, most recently from 6624981 to c5b3b6e Compare July 4, 2023 07:42
d4r1091 and others added 7 commits July 4, 2023 09:43
…wModelTests unit tests for XCode 14.3 (mozilla-mobile#14209)

# Conflicts:
#	Tests/ClientTests/Frontend/Home/JumpBackIn/JumpBackInViewModelTests.swift
#	Tests/ClientTests/Frontend/Home/TopSites/TopSitesDimensionTests.swift
#	Tests/ClientTests/Mocks/MockTraitCollection.swift
#	Tests/ClientTests/Wallpaper/WallpaperSelectorViewModelTests.swift
#	Tests/ClientTests/Wallpaper/WallpaperSettingsViewModelTests.swift
@d4r1091 d4r1091 force-pushed the MOB-1852_udpate_macosx_xcode_ci branch from c5b3b6e to 17e56bd Compare July 4, 2023 07:43
@d4r1091
Copy link
Member Author

d4r1091 commented Jul 4, 2023

Tackled changes @ecotopian @lucaschifino . Tagging for better reach prior to releasing

Copy link
Collaborator

@ecotopian ecotopian left a comment

Choose a reason for hiding this comment

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

Looks good to me 🚀

Copy link

@lucaschifino lucaschifino left a comment

Choose a reason for hiding this comment

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

LGTM 🙌

@ecotopian
Copy link
Collaborator

Tackled changes @ecotopian @lucaschifino . Tagging for better reach prior to releasing

@d4r1091 Are tests passing now? As they haven't run with the latest commit.

@d4r1091
Copy link
Member Author

d4r1091 commented Jul 4, 2023

Yes they do @ecotopian 👍 - ref https://github.com/ecosia/ios-browser/actions/runs/5446548420
The last commit was used to revert the trigger

@d4r1091 d4r1091 merged commit 7b2282e into main Jul 4, 2023
@d4r1091 d4r1091 deleted the MOB-1852_udpate_macosx_xcode_ci branch July 4, 2023 12:23
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.

4 participants