From fd27fe77c832524f8fc713b1e55692d90e545a59 Mon Sep 17 00:00:00 2001 From: Emanuele De Cupis Date: Fri, 13 Nov 2026 07:32:52 +0100 Subject: [PATCH 1/3] build(deps): bump rustix to 1.1.6 for RUSTSEC-2026-0486 rustix 1.1.5 marks unwritten bytes as initialized when an xattr function gets a zero-length buffer. It is reached through crossterm, tempfile and tar's xattr, and cargo audit --deny warnings fails on the advisory. --- Cargo.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c3726005..9745afdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1474,7 +1474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2660,7 +2660,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2884,15 +2884,15 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -2950,7 +2950,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -3431,7 +3431,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] @@ -4011,7 +4011,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.52.0", ] [[package]] From c19c0ef72a4fa70f83ed5e64ab60d0d4f4248f74 Mon Sep 17 00:00:00 2001 From: Emanuele De Cupis Date: Fri, 13 Nov 2026 07:32:52 +0100 Subject: [PATCH 2/3] test(local): keep --version out of the closed-stdout quiet check --version always checks for a newer release online, unlike the background check that CHCTL_UPDATE_CHECK_TIMEOUT_MS turns off. Since v0.5.1 was published, main (0.5.0) prints an update notice on stderr and the assertion that stderr stays empty fails on every PR. The test is about CLI output under a closed reader, which local output and --help still cover. --- crates/clickhousectl/tests/local_stdout_test.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/clickhousectl/tests/local_stdout_test.rs b/crates/clickhousectl/tests/local_stdout_test.rs index 908209e6..73f12ac8 100644 --- a/crates/clickhousectl/tests/local_stdout_test.rs +++ b/crates/clickhousectl/tests/local_stdout_test.rs @@ -19,14 +19,15 @@ fn run_closed(command: &mut Command) -> Output { command.stdout(writer).output().unwrap() } +// `--version` is left out: it always checks for a newer release online and +// may print an update notice on stderr, which a hermetic test cannot pin. #[test] -fn closed_stdout_is_quiet_for_local_output_help_and_version() { +fn closed_stdout_is_quiet_for_local_output_and_help() { let home = tempfile::tempdir().unwrap(); for args in [ vec!["local", "list"], vec!["local", "list", "--json"], vec!["--help"], - vec!["--version"], ] { let output = run_closed(&mut command(home.path(), &args)); assert_eq!(output.status.code(), Some(0), "{args:?}: {output:?}"); From f4bb93a3be2a8a4b675edd88a696ecaa27c165d6 Mon Sep 17 00:00:00 2001 From: Emanuele De Cupis Date: Fri, 13 Nov 2026 07:48:08 +0100 Subject: [PATCH 3/3] ci: drop the retired macos-14 runner from the install matrix GitHub no longer provisions macos-14 runners: the job fails at once with "The configuration 'macos-14-arm64-us-default' is not supported". macos-15 still covers the macOS arm64 install. --- .github/workflows/test-install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.yml index a082b2ef..8847f305 100644 --- a/.github/workflows/test-install.yml +++ b/.github/workflows/test-install.yml @@ -115,7 +115,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15] + os: [ubuntu-22.04, ubuntu-24.04, macos-15] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: