Skip to content

chore(deps): update cargo pre-1.0 breaking updates - #2210

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/cargo-pre-1.0-breaking-updates
Open

chore(deps): update cargo pre-1.0 breaking updates#2210
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/cargo-pre-1.0-breaking-updates

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
prettyplease workspace.dependencies minor 0.20.3
quick_cache workspace.dependencies minor 0.60.7
schemars (source) workspace.dependencies minor 0.80.9

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

Cargo breaking update (pre-v1.0)0.x0.y is a breaking change in Cargo's semver. Before merging, verify the workspace compiles and check upstream release notes for removed features or API changes.


Release Notes

dtolnay/prettyplease (prettyplease)

v0.3.0

Compare Source

arthurprs/quick-cache (quick_cache)

v0.7.0

Compare Source

What's Changed

Full Changelog: arthurprs/quick-cache@v0.6.24...v0.7.0

v0.6.24

Compare Source

What's Changed

Full Changelog: arthurprs/quick-cache@v0.6.23...v0.6.24

GREsau/schemars (schemars)

v0.9.0

Compare Source

This version is identical to 1.0.0-alpha.18, but is available for those who are unable to unwilling to use a pre-release version.

Those upgrading from Schemars 0.8 may want to consult the migration guide, which also applies when migrating from 0.8 to 0.9.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner July 27, 2026 00:28
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Jul 27, 2026

Copy link
Copy Markdown

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 23 Pipeline jobs failed

DataDog/saluki | build-adp-comparison-image   View in Datadog   GitLab

DataDog/saluki | build-adp-image-amd64   View in Datadog   GitLab

DataDog/saluki | build-adp-image-arm64   View in Datadog   GitLab

View all 23 failed jobs.

ℹ️ Info

🔄 Datadog auto-retried 1 job - 0 passed on retry View in Datadog

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b2c4920 | Docs | Datadog PR Page | Give us feedback!

@datadog-prod-us1-4 datadog-prod-us1-4 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Datadog Autotest: FAIL

The dependency bumps do not preserve the workspace's compile-time contracts: prettyplease 0.3 requires syn 3 ASTs, typify 0.7 still requires schemars 0.8, and quick_cache 0.7 changes the Lifecycle API used by saluki-common. The affected build and cache code therefore cannot ship until these version/API transitions are adapted or the dependencies are pinned compatibly.

Open Bits AI session

🤖 Datadog Autotest · Commit 2f9cc41 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

Comment thread Cargo.toml
pin-project = { version = "1.1", default-features = false }
pin-project-lite = { version = "0.2", default-features = false }
prettyplease = { version = "0.2", features = ["verbatim"] }
prettyplease = { version = "0.3", features = ["verbatim"] }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 prettyplease 0.3 cannot consume the workspace syn AST

The datadog-agent-config crate and therefore the workspace cannot build from this dependency update.

Assertion details
  • Input: Building datadog-agent-config's build script with the PR's prettyplease and workspace syn versions
  • Expected: The build script should compile when passing its syn::File to prettyplease::unparse.
  • Actual: Cargo.lock resolves prettyplease 0.3.0 against syn 3.0.3, while the build dependency syn remains version 2 and the code passes syn 2 File values to prettyplease::unparse. These are distinct Rust types, so the build script fails to compile at the unparse calls in datadog_config_gen.rs and witness_gen.rs.

Was this helpful? React 👍 or 👎
🤖 Datadog Autotest · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

Comment thread Cargo.toml
] }
rustls-webpki = { version = "0.103", default-features = false }
schemars = { version = "0.8", default-features = false }
schemars = { version = "0.9", default-features = false }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 schemars 0.9 is incompatible with typify 0.7

Configuration code generation fails, blocking builds of datadog-agent-config and the workspace.

Assertion details
  • Input: Compiling the config generator's TypeSpace::add_root_schema call after resolving the PR lockfile
  • Expected: The JSON schema type passed into typify should come from the schemars version typify 0.7 consumes.
  • Actual: Cargo.lock keeps typify-impl 0.7.0 on schemars 0.8.22 but resolves the direct build dependency to schemars 0.9.0. datadog_config_gen.rs constructs schemars::schema::RootSchema from the direct dependency and passes it to typify's TypeSpace, whose API is compiled against schemars 0.8; the nominally identical RootSchema types are incompatible and the build script fails to compile.

Was this helpful? React 👍 or 👎
🤖 Datadog Autotest · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

Comment thread Cargo.toml
rustls-native-certs = { version = "0.8", default-features = false }
hashbrown = { version = "0.17", default-features = false }
quick_cache = { version = "0.6", default-features = false }
quick_cache = { version = "0.7", default-features = false }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 quick_cache 0.7 breaks the custom Lifecycle implementation

The shared saluki-common cache implementation cannot compile, blocking consumers of the workspace.

Assertion details
  • Input: Compiling saluki-common's ExpiryCapableLifecycle against quick_cache 0.7
  • Expected: The custom lifecycle should implement the quick_cache Lifecycle trait and preserve eviction/expiry tracking.
  • Actual: The PR resolves quick_cache 0.7, whose documented breaking change reshapes the lifecycle API by threading RequestState through a mutable reference. saluki-common still implements the old begin_request(&self) and on_evict(&mut RequestState, ...) contract and invokes on_evict without the new API shape, so the cache crate fails to compile before its eviction and expiry scenarios can run.

Was this helpful? React 👍 or 👎
🤖 Datadog Autotest · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f9cc410cf

ℹ️ 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".

Comment thread Cargo.toml
pin-project = { version = "1.1", default-features = false }
pin-project-lite = { version = "0.2", default-features = false }
prettyplease = { version = "0.2", features = ["verbatim"] }
prettyplease = { version = "0.3", features = ["verbatim"] }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep prettyplease on the same syn major

The datadog-agent-config build dependency still uses workspace syn 2, and both render and type_to_string pass its syn::File directly to prettyplease::unparse; prettyplease 0.3 is resolved against syn 3.0.3 in Cargo.lock. Cargo treats those File types as distinct, so every build that runs this crate's build script fails before generating the typed configuration. Upgrade the build script to syn 3 in the same change or retain prettyplease 0.2.

AGENTS.md reference: AGENTS.md:L53-L58

Useful? React with 👍 / 👎.

Comment thread Cargo.toml
] }
rustls-webpki = { version = "0.103", default-features = false }
schemars = { version = "0.8", default-features = false }
schemars = { version = "0.9", default-features = false }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep schemars compatible with typify

typify 0.7 remains locked to schemars 0.8.22, while render now deserializes the schema as the direct dependency's 0.9 RootSchema and passes it to TypeSpace::add_root_schema. The 0.8 and 0.9 schema types are distinct crate types, so the datadog-agent-config build script cannot compile. Upgrade and migrate typify alongside schemars, or retain schemars 0.8.

AGENTS.md reference: AGENTS.md:L53-L58

Useful? React with 👍 / 👎.

@pr-commenter

pr-commenter Bot commented Jul 27, 2026

Copy link
Copy Markdown

Regression Detector (Agent Data Plane)

Optimization Goals: ⚠️ Report unavailable

The benchmark run did not produce a usable report: outputs/report.json is missing

Check the run-benchmarks-adp job logs for details.

@renovate

renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants