From 9ba1788283663b11e43363c8a2ee3f02e823e231 Mon Sep 17 00:00:00 2001 From: Stacky McStackface Date: Mon, 24 Aug 2026 14:03:42 +0000 Subject: [PATCH 1/2] chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@b93b54b0c3ca1c7e0c26ef350b759e743d473abf Reference-to: stackabletech/operator-templating@b93b54b (Bump the Rust toolchain to 1.97.1 and the rustfmt nightly to nightly-2026-08-23) --- .github/workflows/build.yaml | 4 ++-- .github/workflows/pr_prek.yaml | 2 +- .pre-commit-config.yaml | 2 +- .vscode/settings.json | 2 +- rust-toolchain.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0ac9a210..83af7b83 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,9 +23,9 @@ on: env: OPERATOR_NAME: "superset-operator" - RUST_NIGHTLY_TOOLCHAIN_VERSION: "nightly-2026-07-01" + RUST_NIGHTLY_TOOLCHAIN_VERSION: "nightly-2026-08-23" NIX_PKG_MANAGER_VERSION: "2.33.3" - RUST_TOOLCHAIN_VERSION: "1.95.0" + RUST_TOOLCHAIN_VERSION: "1.97.1" HADOLINT_VERSION: "v2.14.0" PYTHON_VERSION: "3.14" CARGO_TERM_COLOR: always diff --git a/.github/workflows/pr_prek.yaml b/.github/workflows/pr_prek.yaml index 30cc7b93..236005ec 100644 --- a/.github/workflows/pr_prek.yaml +++ b/.github/workflows/pr_prek.yaml @@ -10,7 +10,7 @@ permissions: {} env: CARGO_TERM_COLOR: always NIX_PKG_MANAGER_VERSION: "2.33.3" - RUST_TOOLCHAIN_VERSION: "nightly-2026-07-01" + RUST_TOOLCHAIN_VERSION: "nightly-2026-08-23" HADOLINT_VERSION: "v2.14.0" JINJA2_CLI_VERSION: "1.0.0" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15f4e2ed..6f833118 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -109,7 +109,7 @@ repos: - id: cargo-rustfmt name: cargo-rustfmt language: system - entry: cargo +nightly-2026-07-01 fmt --all -- --check + entry: cargo +nightly-2026-08-23 fmt --all -- --check stages: [pre-commit, pre-merge-commit] pass_filenames: false files: \.rs$ diff --git a/.vscode/settings.json b/.vscode/settings.json index bb5c7580..4f962007 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,7 @@ { "rust-analyzer.rustfmt.overrideCommand": [ "rustfmt", - "+nightly-2026-07-01", + "+nightly-2026-08-23", "--edition", "2024", "--" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4619553c..ac2fc556 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ # DO NOT EDIT, this file is generated by operator-templating [toolchain] -channel = "1.95.0" +channel = "1.97.1" profile = "default" From 1fd421779609cdfe0e8128738eb6a5f43bc82fc7 Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Mon, 24 Aug 2026 16:25:39 +0200 Subject: [PATCH 2/2] chore: resolve lints introduced by Rust 1.97 --- rust/operator-binary/src/crd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/operator-binary/src/crd/mod.rs b/rust/operator-binary/src/crd/mod.rs index a6b5e6ad..e7ee1e46 100644 --- a/rust/operator-binary/src/crd/mod.rs +++ b/rust/operator-binary/src/crd/mod.rs @@ -570,7 +570,7 @@ impl HasStatusCondition for v1alpha1::SupersetCluster { impl v1alpha1::SupersetCluster { pub fn shared_secret_key_secret_name(&self) -> String { - format!("{}-secret-key", &self.name_any()) + format!("{}-secret-key", self.name_any()) } /// The connection to the metadata database.