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

chore: move to macstadium intel runner for circle darwinx64 [run ci] #29300

Merged
merged 10 commits into from
Apr 16, 2024

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Apr 10, 2024

Additional details

Circle CI is removing intel based resource classes on mac os, so we have migrated to macstadium to build the intel binary. More can be seen in their blog post.

This means we cannot build the MacOS Intel binary on CircleCI after June 28th, 2024. We could build a composite binary for M1 and Intel, but this doubles the size of the binary and is not an option for us. To work around this, we are opting for a MacStadium Intel machine in addition to our M1 MacStadium Machine. This allows us to continue to build the intel based Mac binary at a fixed cost.

For the meantime, our M1 jobs will also run on MacStadium .

We can no longer run the kitchen sink jobs on mac intel due to the working directory being in the tmp directory, which now has persisted state. The self hosted runner configuration is not sophisticated enough to clear multiple directories. It might be possible to accomplish this with a command_prefix, but this doesn't seem worth the headache.

This also means similar to our M1 runner, our jobs will complete serially. This means if there is heavy demand to build the Mac Intel binary, the jobs will not execute and parallel and time to complete will likely be slow.

NOTE: this runner is also on CircleCI Machine runner 3.0

Steps to test

How has the user experience changed?

PR Tasks

Copy link

cypress bot commented Apr 10, 2024

Passing run #54961 ↗︎

0 110 0 0 Flakiness 0

Details:

bump cache to check full rerun [run ci]
Project: cypress Commit: b4c6ad4451
Status: Passed Duration: 15:39 💡
Started: Apr 16, 2024 1:27 PM Ended: Apr 16, 2024 1:43 PM

Review all test suite changes for PR #29300 ↗︎

@AtofStryker AtofStryker marked this pull request as ready for review April 10, 2024 18:45
@AtofStryker AtofStryker marked this pull request as draft April 12, 2024 16:21
@AtofStryker
Copy link
Contributor Author

working on migrating the launch agent from 1.1 to 3.0. moving to draft until this is done

@AtofStryker AtofStryker force-pushed the chore/move_off_circle_to_macstadium_amd64 branch from 470454d to ad020c0 Compare April 12, 2024 18:45
@AtofStryker AtofStryker force-pushed the chore/move_off_circle_to_macstadium_amd64 branch from 091b514 to ef1ea02 Compare April 12, 2024 19:43
@AtofStryker AtofStryker force-pushed the chore/move_off_circle_to_macstadium_amd64 branch from ea43abf to f8da59c Compare April 12, 2024 20:16
@@ -83,7 +83,7 @@ describe('http/request-middleware', () => {

expect(ctx.req.headers!['x-cypress-is-from-extra-target']).not.to.exist
expect(ctx.req.isFromExtraTarget).to.be.true
expect(ctx.onlyRunMiddleware).to.be.calledWith(['MaybeSetBasicAuthHeaders', 'SendRequestOutgoing'])
expect(ctx['onlyRunMiddleware']).to.be.calledWith(['MaybeSetBasicAuthHeaders', 'SendRequestOutgoing'])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I originally fixed this due to cache issues on the mac machines, but then also realized that the stop-only script fails in local development in spots where it shouldn't. So I think these changes are warranted as the stop-only shouldn't be throwing for these as they are .only mocha tests.

@AtofStryker AtofStryker marked this pull request as ready for review April 15, 2024 17:44
@AtofStryker AtofStryker merged commit 768afcc into develop Apr 16, 2024
105 of 108 checks passed
@AtofStryker AtofStryker deleted the chore/move_off_circle_to_macstadium_amd64 branch April 16, 2024 15:53
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 18, 2024

Released in 13.8.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.8.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move CircleCI Gen2 resources to MacStadium Intel Mac Mini
3 participants