fix(ci): give panic abort its own profile - #2259
Conversation
790a643 to
2b97675
Compare
📚 Documentation Check Results📦
|
🔒 Cargo Deny Results📦
|
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 3ad6712 | Docs | Datadog PR Page | Give us feedback! |
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
BenchmarksComparisonBenchmark execution time: 2026-07-21 16:27:37 Comparing candidate commit 3ad6712 in PR branch Found 0 performance improvements and 5 performance regressions! Performance is the same for 137 metrics, 0 unstable metrics.
|
bf903ea to
6fc52e9
Compare
6fc52e9 to
2b97675
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b976756f3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| with: | ||
| cache-targets: true # cache build artifacts | ||
| cache-bin: true # cache the ~/.cargo/bin directory | ||
| - name: "Clear macOS panic-abort cache" |
There was a problem hiding this comment.
thanks for coming back to this.

What does this PR do?
This pr replaces the hand-rolled
--target-dir target/panic-abortbuild for bin_tests'panic=abortcrash-handler variants with a dedicated Cargo profile.We build these variants with
--profile panic-abort; keep-C force-unwind-tables=yesas a scopedRUSTFLAGSon that invocation only since there is no profile equivalent.This change should help with cargo recognizing the panic abort variant and correctly process cache hits and rebuilds
Motivation
https://dd.slack.com/archives/C01TCF143GB/p1784567835676489
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.