Repository navigation
refactor(libdd-common)!: preparatory cleanup for restructure - #2722
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
https://github.com/DataDog/libdatadog/blob/45fc6930028ec0c1e278276fcf5f8112ba994169/libdd-common/src/config.rs#L29-L31
Preserve the published URI parser API
For downstream crates that call libdd_common::config::parse_env::uri, deleting this public function turns an otherwise source-compatible libdd-common update into a compile failure. The change is presented as a non-breaking refactor, so either retain/deprecate the function or classify the corresponding release as breaking.
AGENTS.md reference: AGENTS.md:L116-L119
ℹ️ 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".
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: bdfcaf4 | Docs | View more details | Give us feedback! |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
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". |
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-10-27 14:08:19 Comparing candidate commit bdfcaf4 in PR branch Found 11 performance improvements and 21 performance regressions! Performance is the same for 117 metrics, 10 unstable metrics.
|
…ed cstr! The cstr! macro was copied in only to build two fixed strings, validating them at runtime with a panic path. C string literals are checked at compile time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release review skill and the libdd-common README still listed the cstr module and its macros. Point the skill at c"..." literals instead, which the workspace MSRV supports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Win32_System_Diagnostics_ToolHelp and Win32_System_Performance were used by test_utils and the rate limiter clock, which now live in tools and libdd-ipc. Both crates declare the features they need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rate limiter moved to libdd-ipc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rep-cleanup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # Cargo.lock # libdd-common/Cargo.toml # libdd-profiling/Cargo.toml
Clippy Allow Annotation ReportTracked Clippy
By file and crateBy file
By crate
About This ReportThis report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality. Panic-inducing macros in particular should be avoided. In the future, this report may become a PR-blocking quality gate. |
hoolioh
left a comment
There was a problem hiding this comment.
LGTM. However check with php team if we can remove cc_utils entirely, I believe they're using it in their repository. @morrisonlevi is that ok to port the same changes to dd-trace-php or should we leave cc_utils in libdd for now?
|
@hoolioh We don't use cc_utils directly in dd-trace-php. So no issue here. |
|
/merge |
|
View all feedbacks in Devflow UI.
It will be processed automatically as soon as GitHub reports it as mergeable. View in MergeQueue UI.
The expected merge time in
|
87970b5
into
main
What does this PR do?
Declutter libdd-common before further refactor are possible, per epic APMSP-4094
Motivation
Plan to move libdd-common into other crates need first a cleanup pass.
Additional Notes
Will impact some consumers of this crates, most notably dd-trace-php, a comment was recorded in the ticket.
You might want to review commit by commit, instead of looking at the whole change at once, as it may seem erratic all at once
How to test the change?