Repository navigation
fix: Resolve k8s-openapi version conflict in CI - #124
Conversation
…nflict - Update k8s-openapi from 0.28.0 to 0.29.0 - Update kube from 4.0.0 to 5.0.0 - Update kube-leader-election from 0.44.0 to 0.45.0 - Change k8s-openapi feature from v1_35 to v1_33 to match dependencies This resolves the CI failure where k8s-openapi v0.28.0 had no v1_* features enabled due to version conflicts with kube-leader-election pulling in v0.29.0.
Add #[must_use] to is_rate_limited, is_transient_hcloud, and target_already_defined methods to satisfy clippy::must_use_candidate lint from clippy::pedantic group.
The patch.crates-io entry pointed to hcloud v0.26.0-fix-deprecated branch, but the project now uses hcloud 0.27.0. The patch was unused and generated a cargo warning.
Maintainability ReviewInitial expected implementation: matched FindingsPriority: high Priority: low Implementation NotesThe change from All CI checks now pass. |
|
✅ Fix pushed: SummaryFixed the CI failure caused by clippy's Changes MadeAdded
PR CreatedThe fix is minimal and targeted - only adding the required attributes without modifying any logic. The |
Summary
Fixed CI failure where build script panicked with "None of the v1_* features are enabled".
Root Cause
The dependency tree had two versions of :
Cargo's feature unification doesn't work across versions, so ended up without any Kubernetes version feature enabled, causing the build script to fail.
Changes
All dependencies now use a single version of with consistent feature flags.
Testing
*This PR was generated by Forkline — AI-powered code contributions.
The agent analyzed the issue and implemented this fix autonomously.