From c5fc2820a1c8ebb7b5002365c1425ce2fe8d61df Mon Sep 17 00:00:00 2001 From: forhappy Date: Mon, 17 Aug 2026 20:36:00 -0700 Subject: [PATCH] chore: rename consumer checks directory --- .gitignore | 4 ++-- {consumer-checks => checks}/Cargo.lock | 0 {consumer-checks => checks}/Cargo.toml | 0 {consumer-checks => checks}/downstream-client/Cargo.toml | 0 {consumer-checks => checks}/downstream-client/src/lib.rs | 0 {consumer-checks => checks}/downstream-core/Cargo.toml | 0 {consumer-checks => checks}/downstream-core/src/lib.rs | 0 scripts/check_clean_downstream.sh | 8 ++++---- scripts/check_dependency_security.sh | 2 +- 9 files changed, 7 insertions(+), 7 deletions(-) rename {consumer-checks => checks}/Cargo.lock (100%) rename {consumer-checks => checks}/Cargo.toml (100%) rename {consumer-checks => checks}/downstream-client/Cargo.toml (100%) rename {consumer-checks => checks}/downstream-client/src/lib.rs (100%) rename {consumer-checks => checks}/downstream-core/Cargo.toml (100%) rename {consumer-checks => checks}/downstream-core/src/lib.rs (100%) diff --git a/.gitignore b/.gitignore index 6ad84d2..ed24b6a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,6 @@ .vscode/ *.swp -# Qualification and consumer-check output +# Qualification and downstream-check output /performance-results/ -/consumer-checks/**/target/ +/checks/**/target/ diff --git a/consumer-checks/Cargo.lock b/checks/Cargo.lock similarity index 100% rename from consumer-checks/Cargo.lock rename to checks/Cargo.lock diff --git a/consumer-checks/Cargo.toml b/checks/Cargo.toml similarity index 100% rename from consumer-checks/Cargo.toml rename to checks/Cargo.toml diff --git a/consumer-checks/downstream-client/Cargo.toml b/checks/downstream-client/Cargo.toml similarity index 100% rename from consumer-checks/downstream-client/Cargo.toml rename to checks/downstream-client/Cargo.toml diff --git a/consumer-checks/downstream-client/src/lib.rs b/checks/downstream-client/src/lib.rs similarity index 100% rename from consumer-checks/downstream-client/src/lib.rs rename to checks/downstream-client/src/lib.rs diff --git a/consumer-checks/downstream-core/Cargo.toml b/checks/downstream-core/Cargo.toml similarity index 100% rename from consumer-checks/downstream-core/Cargo.toml rename to checks/downstream-core/Cargo.toml diff --git a/consumer-checks/downstream-core/src/lib.rs b/checks/downstream-core/src/lib.rs similarity index 100% rename from consumer-checks/downstream-core/src/lib.rs rename to checks/downstream-core/src/lib.rs diff --git a/scripts/check_clean_downstream.sh b/scripts/check_clean_downstream.sh index e723ff5..41e519d 100755 --- a/scripts/check_clean_downstream.sh +++ b/scripts/check_clean_downstream.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -consumer_checks_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../consumer-checks" && pwd)" +checks_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../checks" && pwd)" rust_toolchain="${SILO_RUST_TOOLCHAIN:-1.94.1}" if [[ -n "${SILO_S3_CARGO_TARGET_DIR:-}" ]]; then target_root="$SILO_S3_CARGO_TARGET_DIR/clean-downstream" @@ -15,16 +15,16 @@ export RUSTC_WRAPPER="" CARGO_TARGET_DIR="$target_root/rust-$rust_toolchain" \ cargo +"$rust_toolchain" check \ - --manifest-path "$consumer_checks_root/Cargo.toml" \ + --manifest-path "$checks_root/Cargo.toml" \ -p silo-s3-downstream-core-check --locked CARGO_TARGET_DIR="$target_root/rust-$rust_toolchain" \ cargo +"$rust_toolchain" check \ - --manifest-path "$consumer_checks_root/Cargo.toml" \ + --manifest-path "$checks_root/Cargo.toml" \ -p silo-s3-downstream-client-check \ --no-default-features --locked CARGO_TARGET_DIR="$target_root/rust-$rust_toolchain" \ cargo +"$rust_toolchain" check \ - --manifest-path "$consumer_checks_root/Cargo.toml" \ + --manifest-path "$checks_root/Cargo.toml" \ -p silo-s3-downstream-client-check \ --no-default-features --features foyer-cache --locked diff --git a/scripts/check_dependency_security.sh b/scripts/check_dependency_security.sh index f74fcc9..b85bbac 100755 --- a/scripts/check_dependency_security.sh +++ b/scripts/check_dependency_security.sh @@ -19,7 +19,7 @@ scan_lockfile() { for lockfile in \ "$security_root/Cargo.lock" \ - "$security_root/consumer-checks/Cargo.lock" + "$security_root/checks/Cargo.lock" do if scan_lockfile "$lockfile"; then echo "forbidden legacy TLS or dependency in $lockfile" >&2