Skip to content

Update Github Actions#1385

Merged
j-c-c merged 10 commits into
developfrom
update_actions
Jun 4, 2026
Merged

Update Github Actions#1385
j-c-c merged 10 commits into
developfrom
update_actions

Conversation

@j-c-c

@j-c-c j-c-c commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Update Github actions to support node.js 24

@j-c-c j-c-c self-assigned this May 26, 2026
@j-c-c j-c-c requested review from garrettwrong and janden as code owners May 26, 2026 20:00
@j-c-c j-c-c added the CI Continuous Integration label May 26, 2026
@j-c-c

j-c-c commented May 26, 2026

Copy link
Copy Markdown
Collaborator Author

Running full CI to make sure there's no problems with the updates.

@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.68%. Comparing base (e375bad) to head (bc2a9b2).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1385   +/-   ##
========================================
  Coverage    90.68%   90.68%           
========================================
  Files          135      135           
  Lines        14663    14663           
========================================
  Hits         13297    13297           
  Misses        1366     1366           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@j-c-c j-c-c force-pushed the update_actions branch from 40c70f2 to 69e6371 Compare May 27, 2026 19:32
garrettwrong
garrettwrong previously approved these changes Jun 2, 2026
@garrettwrong

Copy link
Copy Markdown
Collaborator

The changes look fine, do you know if the two failed jobs were just a fluke or?

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

The changes look fine, do you know if the two failed jobs were just a fluke or?

I don't think the failures are a fluke. The same jobs failed 3 times due to timing out (all were cancelled at ~6hrs). Looking into it...

@garrettwrong

Copy link
Copy Markdown
Collaborator

Oh okay, yeah its probably that conda line change. This is currently blocking all CI runs.

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Oh okay, yeah its probably that conda line change. This is currently blocking all CI runs.

Yeah, probably related to the conda/setup-miniconda change, but the log shows pytest does start: it collects 6102 tests and creates the xdist workers before the job times out. So I’m not sure yet whether we’re hanging on a particular test or just running much slower under the new macOS conda env. I’m switching the pytest line to verbose so we can see where it stalls.

@garrettwrong

Copy link
Copy Markdown
Collaborator

Something is definitely wrong with it. Its taking hours to get through tests that are usually instant....

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Something is definitely wrong with it. Its taking hours to get through tests that are usually instant....

Yeah, I see that. One of the main changes that I'm seeing from setup-miniconda@v2 to setup-miniconda@v4 is the platform. v2 was using osx-64 and v4 is using osx-arm64. So I think that is what's causing the slow down.

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Setting OMP_NUM_THREADS=1 resolved the slow down. Maybe the combination of pytest -n2 and OMP_NUM_THREADS=2 on the osx-arm64 platform was oversubscribing the runner?

@garrettwrong

garrettwrong commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Wasn't before your env change.... what about your line changed caused that? (At least, it wasn't to this totally unusable extent, it may have been non-optimal, but finished in reasonable time)

Ahh sorry, I just got your prior github message. I see. The conda platform changed from intel to arm. I see. I think this is the same issue that I hit recently for openblas... just with the other packages now.... ....

@garrettwrong

Copy link
Copy Markdown
Collaborator

Can you check if that env is trying to install (ie emulate ) x86_64 libraries on apple silicon? This is what was the problem last time...

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Can you check if that env is trying to install (ie emulate ) x86_64 libraries on apple silicon? This is what was the problem last time...

Thanks. I'll check...

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Can you check if that env is trying to install (ie emulate ) x86_64 libraries on apple silicon? This is what was the problem last time...

I'm not seeing any x86_64 installs in the environment log. Everything is arm64 or universal2.

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

looking at the runner specs, the change from intel to arm goes from 4 cores to 3. Maybe that could be the problem.

@garrettwrong

garrettwrong commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Weren't we already using this runner before this code change.

Like if you put in the "force use the old node" line in the develop code, does everything still work? If so, its something software following this env change....

@j-c-c

j-c-c commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

Weren't we already using this runner before this code change.

We were using the same runner, but the new version updated the conda architecture to arm64.

Like if you put in the "force use the old node" line in the develop code, does everything still work? If so, its something software following this env change....

There was a single commit for the change to the conda line. Looking at the environment logs before and after you can see the platform change. Also, the tests passed and ran in expected time prior to changing that single line.

@garrettwrong

Copy link
Copy Markdown
Collaborator

Cool, so nothing changed about the runner. I don't doubt the conda platform change, but that is software, not a runner change, core count change, etc. That was all fine, and I think can be confirmed to still be fine as I suggested.

A concern here is that this indicates there might be a problem installing and running the code in a relatively normal way in a conda env due to some yet to be identified software issues. Just disabling OMP threading might be a workaround, but isn't identifying or solving the issue in any meaningful way considering it was working reasonably well before .... and isn't what I would recommend to users either outside special circumstances.... Considering arm is virtually all the macs now I'm not inclined to accept ignoring it.

@garrettwrong garrettwrong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

node 24 is going to be so worth it

@garrettwrong

Copy link
Copy Markdown
Collaborator

Looks good, thanks!

@garrettwrong

Copy link
Copy Markdown
Collaborator

Did you want to merge this or there is still more?

@j-c-c

j-c-c commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

Did you want to merge this or there is still more?

Merging

@j-c-c j-c-c merged commit 24ad316 into develop Jun 4, 2026
33 checks passed
@j-c-c j-c-c mentioned this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants