-
Notifications
You must be signed in to change notification settings - Fork 413
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(ci): add rust toolchain to ci environments #9235
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 116951 Passed, 58974 Skipped, 3h 53m 9.51s Total duration (2h 57m 23.78s time saved) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9235 +/- ##
===========================================
- Coverage 76.16% 10.34% -65.82%
===========================================
Files 1287 1257 -30
Lines 121888 120131 -1757
===========================================
- Hits 92831 12425 -80406
- Misses 29057 107706 +78649 ☔ View full report in Codecov by Sentry. |
Still not getting builds passing 100% https://github.com/DataDog/dd-trace-py/actions/runs/9045298537/job/24854896593#step:7:1971
I have tried adding that target and it still fails. This PR as-is is still progress. |
I haven't figured out how to get the musl target to properly install/be available yet, so will hold until I figure that out. |
I won't enable auto-merge for this, we first need to discuss if it is safe/advisable for us to drop musllinux-i686 builds. We will have to do that whenever we add Rust since it doesn't support that as a target, but we need to try and determine if any of our users are actively using it. This is considered a breaking change right? Since this would be dropping system support that we say we support. |
Moving back to a draft, since there are some options we can possibly take to still support musllinux-i686 From @sanchda:
|
I know this is kind of off-topic, but I'd really want to make sure that whatever changes we make in CI are easily reproduced locally for dev scenarios. I don't know if that means modifying the testrunner image, or adding hatch/riot things, so that we can easily build and test in it, but it's important that the dev and CI workflows converge rather than diverge. |
@romainkomorndatadog this is already done, there just happens to be a handful of different places where we need to add rust compiler :/ e.g. if you want to build locally you'll need to install rust on your laptop, but assume that isn't a massive barrier (other than we'll want to make sure repo onboarding docs include that step). |
We have figured out how to get builds working for musl linux i686. We have to use the custom image from #9319 |
Not currently being used, but will be needed in the future.
Testing
These are the necessary edits I've need on #9232 in order to get CI to be green for building the package in CircleCI and cibuildwheel.
Checklist
changelog/no-changelog
is set@DataDog/apm-tees
.Reviewer Checklist