-
Notifications
You must be signed in to change notification settings - Fork 224
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
Run CI dependency checks on a Mac, to properly detect iOS-specific dependencies #3565
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3565 +/- ##
==========================================
+ Coverage 69.47% 76.67% +7.20%
==========================================
Files 230 230
Lines 30879 30879
==========================================
+ Hits 21453 23677 +2224
+ Misses 9426 7202 -2224
Continue to review full report at Codecov.
|
OK so, when calculating the dependency list in CI, this is discarding some but not all of the new dependencies introduced by glean:
Following the chain of dependencies reported in
So maybe this is not being activated in the build plan on CI, but is being activated in build plans when running locally. |
Aha! As of #1720 the dependency checks run on a linux machine rather than a Mac. Unfortunately, this script can't properly detect iOS-specific dependencies when run on anything other than a Mac, for dumb Mac platform lockin reasons. I'm going to revert the above change. |
a69aa13
to
8d8fed3
Compare
…pendencies. This also prints out more context when CI fails due to dependency changes, to help with debugging similar problems in future..
8d8fed3
to
0770a36
Compare
@eoger I'm going to merge this to unbreak CI, but we can have a broader conversation about the CI costs involved here if necessary. (For the record, I hate this this platform-specific stuff is necessary here 🤮) |
For dependency checks we shouldn't need to compile, so running with |
The specific command that we end up trying to use here would be something like:
Which fails for me with:
But it's been a while since we touched this stuff, there may be a different command to use to get the info we need here. |
Ah, I didn't actually check which command gets run. |
Oh, interesting, thanks! I had an earlier version of this script that used |
I filed #3572 to surface the unsupportedness of buildplans as an independent issue for us to deal with. |
Trying to debug failing dependency checks in CI that we can't reproduce locally.