fix(build): build script change detection - #2467
Conversation
# Motivation When running build, tests, clippy etc... some crates are systematically rebuilt when they don't need to be. This is because we are misusung change directives in a couple locations: * Wildcard don't work. specifying a directory will already recusrsively check files for changes * Missing directives in the trace-protobuf crate meant it always was rebuilt if all features were enabled
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
📚 Documentation Check Results📦
|
🔒 Cargo Deny Results📦
|
|
✅ All CI checks and tests passed. 🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: f42803f | Docs | View more details | 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-09-08 10:36:48 Comparing candidate commit f42803f in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 140 metrics, 1 unstable metrics.
|
What does this PR do?
Fix incorrect change detection directives in build scripts
Motivation
When running build, tests, clippy etc... some crates are systematically rebuilt when they don't need to be.
This is because we are misusung change directives in a couple locations: