Skip to content

upgrade deps, kube 3.x, edition 2024, ghcr publishing#3

Merged
wseaton merged 3 commits into
mainfrom
upgrade-deps
Mar 31, 2026
Merged

upgrade deps, kube 3.x, edition 2024, ghcr publishing#3
wseaton merged 3 commits into
mainfrom
upgrade-deps

Conversation

@wseaton
Copy link
Copy Markdown
Owner

@wseaton wseaton commented Mar 31, 2026

Summary

  • Upgrade kube-rs 0.92 -> 3.1, k8s-openapi 0.22 -> 0.27, schemars 0.8 -> 1.2
  • Upgrade OpenTelemetry stack 0.26 -> 0.31 (full pipeline rewrite for new builder API)
  • Upgrade thiserror 1 -> 2, secrecy 0.8 -> 0.10, ldap3 0.11 -> 0.12
  • Rust edition 2021 -> 2024, MSRV 1.83 -> 1.88, version bump to 0.4.0
  • Replace chrono with jiff for k8s timestamp handling (k8s-openapi 0.27 requirement)
  • Replace once_cell with std::sync::LazyLock
  • Remove deprecated serde_yaml dependency
  • Use scale subresource API (patch_scale) instead of patching spec.replicas directly
  • Regenerate CRDs from upstream YAML via kopium with JsonSchema derives (schemars 1.x)
  • Add GitHub Actions workflow for GHCR image publishing on tag push
  • Update README, justfile, deployment manifest to point to ghcr.io

Test plan

  • cargo fmt clean
  • cargo clippy --all --all-features clean
  • cargo test --all --all-features passes
  • Compiles with default features and with otel feature
  • CI workflow builds images successfully (verify after merge/tag)
  • Integration test against a cluster (follow-up)

🤖 Generated with Claude Code

wseaton added 3 commits March 31, 2026 17:17
move get_enabled_resources to lib for testability; add 36 unit tests
covering resource filtering, ScaleKind equality/hashing/dedup, Meta
trait, and event generation for all variants; add CI workflow that
runs fmt, clippy, tests, and image builds on PRs
move find_root_object to lib for testability; add 7 e2e tests covering
owner ref traversal, scaling, event posting, and hashset dedup against
a real kind cluster; add e2e job to CI with helm/kind-action; add
just recipes for kind-create, kind-delete, test, test-all, test-e2e
@wseaton wseaton merged commit 5ae83ab into main Mar 31, 2026
4 checks passed
@wseaton wseaton deleted the upgrade-deps branch March 31, 2026 22:18
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.

1 participant