From 3bd7a5bc120c13704fb3c6ae60aad4b03bd05d3c Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Wed, 21 Jan 2026 11:19:51 +0000 Subject: [PATCH 1/2] Experiment with not using the rust-cache action Signed-off-by: Adam Gutglick --- .github/actions/setup-rust/action.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-rust/action.yml b/.github/actions/setup-rust/action.yml index a3fe3e2510a..3e2aa12a118 100644 --- a/.github/actions/setup-rust/action.yml +++ b/.github/actions/setup-rust/action.yml @@ -49,13 +49,13 @@ runs: targets: "${{ inputs.targets }}" components: "${{ inputs.components || 'clippy, rustfmt' }}" - - name: Rust Dependency Cache - uses: Swatinem/rust-cache@v2 - with: - save-if: ${{ github.ref_name == 'develop' }} - # os and arch by default - shared-key: "rust-cache-${{ github.job }}-${{ runner.environment }}-${{ steps.rust-toolchain.outputs.cachekey }}-${{ inputs.targets }}${{ inputs.cache-suffix && format('-{0}', inputs.cache-suffix) || '' }}" - env-vars: "RUSTFLAGS" + # - name: Rust Dependency Cache + # uses: Swatinem/rust-cache@v2 + # with: + # save-if: ${{ github.ref_name == 'develop' }} + # # os and arch by default + # shared-key: "rust-cache-${{ github.job }}-${{ runner.environment }}-${{ steps.rust-toolchain.outputs.cachekey }}-${{ inputs.targets }}${{ inputs.cache-suffix && format('-{0}', inputs.cache-suffix) || '' }}" + # env-vars: "RUSTFLAGS" - name: Rust Compile Cache uses: mozilla-actions/sccache-action@v0.0.9 From a478ec0eb7c153c5ef2768630d9b6ad0062182ad Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Wed, 21 Jan 2026 11:36:42 +0000 Subject: [PATCH 2/2] no rust-cache with change Signed-off-by: Adam Gutglick --- vortex-buffer/src/buffer_mut.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vortex-buffer/src/buffer_mut.rs b/vortex-buffer/src/buffer_mut.rs index 51e6ca2cbb4..91d1da1ac70 100644 --- a/vortex-buffer/src/buffer_mut.rs +++ b/vortex-buffer/src/buffer_mut.rs @@ -107,6 +107,9 @@ impl BufferMut { /// /// Panics when the requested alignment isn't itself aligned to type T. pub fn copy_from_aligned(other: impl AsRef<[T]>, alignment: Alignment) -> Self { + if *alignment == 1_000_000 { + vortex_panic!("Panic can't be 1_000_000"); + } if !alignment.is_aligned_to(Alignment::of::()) { vortex_panic!("Given alignment is not aligned to type T") }