-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
8341097: GHA: Demote Mac x86 jobs to build only #21257
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
@shipilev This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 52 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
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 change seems premature. Various companies (Oracle, SAP, others?) are still
supporting macos-x64 on mainline. Removing this seems to be just asking for more
frequent backouts due to x64-specific changes that aren't compatible with clang.
Maybe premature, maybe not. We always run against the runner availability in GHA. AFAIU, MacOS 13 will EOL 3 years after release, so around Oct 2025. I don't mind waiting until next year, but want to point out that the clock is ticking on GHA support for Mac x86, and runner availability will likely get gradually worse. Given that GHA runs for every PR, I prefer to fix GHA relabililty/turnaround issues before they become pain points.
I would assume that clang incompatibilities would be caught as build error/warnings during the build. This PR suggests to only disable the test jobs. Build jobs are still on, and at least some parts of runtime are verified when building the full JDK, e.g. when building jmods/jimages. |
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 think this sounds reasonable. Just as we keep adding to GHA testing, we also need to find any opportunity we can to keep it slim.
If macos-x64 had been added at this point, I don't think anyone would have suggested that we added running tests for it, so then we should not keep them just out of old habit.
@shipilev This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Not now, bot. I'll probably delay this until the JDK 25 fork. |
As far as I can tell -- and this is very much like reading the tea leaves:
Pessimistically assuming the same 5-month interval, we may expect the brownouts and removals for I say we integrate this PR in early "JDK 25" mainline, and let update releases pick it up, as the situation develops. |
Rebased, retested, JDK 25 is now open. @kimbarrett -- checking now that 2+ months have passed, and seeing @magicus's opinion, are you still thinking this is premature? |
Not anecdotally anymore: GHA now publishes richer Actions stats, should be at "Actions" in your personal fork. Here is mine, sorted by queue wait time last month. macos-x86 are the largest waiters, which IMO underlines the reality that macos-x86 workers are not in abundance. macos-aarch64 are also not great, but at least they match the current hardware that we want to test for. |
Friendly ping :) |
I don't have any objection to this, but |
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.
Looks good.
Thanks! Here goes. /integrate |
Going to push as commit d66737e.
Your commit was automatically rebased without conflicts. |
See the discussion in the bug. I think we can stop testing Mac x86 in GHA, leaving only the build jobs.
Additional testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21257/head:pull/21257
$ git checkout pull/21257
Update a local copy of the PR:
$ git checkout pull/21257
$ git pull https://git.openjdk.org/jdk.git pull/21257/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21257
View PR using the GUI difftool:
$ git pr show -t 21257
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21257.diff
Using Webrev
Link to Webrev Comment