chore(deps): update anyhow - #1945
Conversation
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
The expected merge time in
|
Binary Size Analysis (Agent Data Plane)Baseline: e9dc0d3 · Comparison: 8006f56 · diff ✅ Binary size difference within thresholdChanges by Module
Detailed Symbol Changes |
Regression Detector (Agent Data Plane)Run ID: Optimization Goals: ✅ No significant changes detectedFine details of change detection per experiment (5)Experiments configured
Bounds Checks: ❌ Failed (5)
ExplanationA change is flagged as a regression when |Δ mean %| > 5.00% in the regressing direction for its optimization goal AND SMP marks the experiment as a regression ( |
## Summary Update a crate currently blocking check deny. ## Change Type - [x] Non-functional (chore, refactoring, docs) ## How did you test this PR? CI ## References N/A Co-authored-by: toby.lawrence <toby.lawrence@datadoghq.com> bc51393
## Summary Update a crate currently blocking check deny. ## Change Type - [x] Non-functional (chore, refactoring, docs) ## How did you test this PR? CI ## References N/A Co-authored-by: toby.lawrence <toby.lawrence@datadoghq.com>
## Summary Update a crate currently blocking check deny. ## Change Type - [x] Non-functional (chore, refactoring, docs) ## How did you test this PR? CI ## References N/A Co-authored-by: toby.lawrence <toby.lawrence@datadoghq.com>
## Summary Release-prep PR for **ADP 1.2.3** on `releases/1.2.x`. Bumps the version and bundles four fixes. Because 1.2.x is on Rust 1.96.0 (same as `main`), the `fetch_update` fix could be cherry-picked directly rather than needing the `#[allow(deprecated)]` workaround used on 1.1.0. 1. **Honor `site` when `dd_url` equals the default-derived URL** — corresponds to #2028 (`7ec65f2`). The Core Agent's config stream sends `dd_url` at its schema default (`https://app.datadoghq.com`) for every configuration, even when the operator only set `site`, so ADP routed all traffic to the US1 intake and `site` was effectively ignored (#1965). A `dd_url` equal to the default-derived URL is now filtered to `None` at deserialization, letting `site` determine the endpoint. `set_dd_url` bypasses serde and is unaffected. Adapted to the 1.2.x code (no `configured_primary_endpoint`), so the change is confined to the `dd_url` deserializer plus tests. 2. **Unblock the nightly `generate-api-docs` build** — cherry-pick of #2007 (`917e05f`). Newer nightly toolchains deprecate `Atomic*::fetch_update`; under `#![deny(warnings)]`, `cargo +nightly doc` turns that into a hard error. Since 1.2.x uses the 1.96.0 toolchain (where `try_update` is stable), the three call sites switch to `try_update`, matching `main`. (The `fixed_size.rs` hunk from the original commit was dropped — that method doesn't exist on 1.2.x and has no `fetch_update` to fix.) 3. **Update `anyhow`** — cherry-pick of #1945 (`bc51393`). Bumps `anyhow` 1.0.102 → 1.0.103 in `Cargo.lock` to unblock `check deny`. (The `2a7be76` hash is the gh-pages docs artifact for that PR; `bc51393` is the source commit.) 4. **Bump `crossbeam-epoch` to 0.9.20** — fresh fix for RUSTSEC-2026-0204. `crossbeam-epoch 0.9.18` (an invalid pointer dereference in the `fmt::Pointer` impl for `Atomic`/`Shared`) fails `check-deny`. This is a repo-wide issue; the equivalent fix for `main` is #2038. Applied directly here (semver-compatible, lockfile-only bump) rather than cherry-picked, since it landed on the release branches in parallel with the main PR. Plus a `chore(dev): Bump ADP to 1.2.3` commit updating `bin/agent-data-plane/Cargo.toml` and the lockfile. ## Test plan - New unit tests for the `dd_url`/`site` resolution (default filtered → `None`; explicit override wins; `set_dd_url` never filtered; end-to-end `build_primary_endpoint` for both cases). - `make check-deny` passes with the crossbeam-epoch bump. - `cargo check` passes for the affected crates on the pinned `1.96.0` toolchain, including the `try_update` call sites. Fixes #1965. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: webern <matt.briggs@datadoghq.com> Co-authored-by: jesse.szwedko <jesse.szwedko@datadoghq.com>
Summary
Update a crate currently blocking check deny.
Change Type
How did you test this PR?
CI
References
N/A