Update dependencies and fix kube API error handling - #97
Merged
Merged
Conversation
Upgrade dependencies to latest, including major bumps: openid 0.17 -> 0.23, jsonwebtoken 9 -> 10, rand 0.9 -> 0.10, sha2 0.10 -> 0.11, kube 1.1 -> 3.1, k8s-openapi 0.25 -> 0.27, reqwest 0.12 -> 0.13 (rustls-tls feature renamed to rustls) and strum 0.27 -> 0.28. Adapt to kube 3.x's Error::Api now wrapping Box<Status> instead of ErrorResponse. diesel/diesel-async/diesel_migrations are held at 2.2.x/0.6.x to stay compatible with the pinned diesel_filter (tag v2.0.0). https://claude.ai/code/session_01Lq361bxUKUMGzCtj7LA6mE
The popen2 fork's changes are now published upstream as diesel_filter 2.0.0 and diesel_pagination 2.0.0 (with the actix/serde/utoipa and diesel-async/serde/utoipa features), so drop the git dependency on github.com/popen2/diesel_filter and pull both from crates.io. diesel_enum_derive stays on the git fork since its "plain" feature is not yet published. https://claude.ai/code/session_01Lq361bxUKUMGzCtj7LA6mE
popen2
commented
May 25, 2026
Now that they come from crates.io they're regular dependencies, so move them out of their own [dependencies.*] tables into the main [dependencies] section alongside the other diesel crates. https://claude.ai/code/session_01Lq361bxUKUMGzCtj7LA6mE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates all workspace dependencies to their latest versions and fixes a breaking change in the kube crate's error handling API.
Key Changes
Dependency Updates: Updated 30+ dependencies across all workspace crates to latest versions, including:
Dependency Source Changes:
diesel-filteranddiesel-paginationfrom git dependencies to crates.io versions (2.0.0)reqwestfeature flags fromrustls-tlstorustls(API change in 0.13.x)API Compatibility Fix: Updated error handling in
k8s-agent/src/task_runner/install_and_upgrade.rsto match kube 3.x API:kube::core::ErrorResponsestruct to accessing thecodefield on thekube::Error::Apistatus objectNotable Implementation Details
https://claude.ai/code/session_01Lq361bxUKUMGzCtj7LA6mE