From d2aab97ba79630288015f329fe5ae7481848046a Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 5 Mar 2026 22:30:43 +0800 Subject: [PATCH 1/2] chore: bump chrono to 0.4.44 and uuid to 1.21.0 Signed-off-by: Steven --- BUCK | 4 +- Cargo.lock | 10 +-- buckal.snap | 22 +++--- .../crates/chrono/{0.4.43 => 0.4.44}/BUCK | 6 +- third-party/rust/crates/env_logger/0.8.4/BUCK | 33 -------- third-party/rust/crates/memchr/2.7.6/BUCK | 33 -------- third-party/rust/crates/quickcheck/1.0.3/BUCK | 40 ---------- .../rust/crates/rand_chacha/0.10.0/BUCK | 36 --------- third-party/rust/crates/rkyv/0.7.45/BUCK | 2 +- third-party/rust/crates/sea-orm/1.1.19/BUCK | 4 +- .../rust/crates/sea-query-binder/0.7.0/BUCK | 4 +- third-party/rust/crates/sea-query/0.32.7/BUCK | 4 +- .../rust/crates/serde_json/1.0.145/BUCK | 75 ------------------- third-party/rust/crates/sqlx-core/0.8.6/BUCK | 4 +- third-party/rust/crates/sqlx-mysql/0.8.6/BUCK | 4 +- .../rust/crates/sqlx-postgres/0.8.6/BUCK | 4 +- .../rust/crates/sqlx-sqlite/0.8.6/BUCK | 4 +- third-party/rust/crates/tempfile/3.24.0/BUCK | 50 ------------- .../rust/crates/uuid/{1.20.0 => 1.21.0}/BUCK | 12 +-- 19 files changed, 42 insertions(+), 309 deletions(-) rename third-party/rust/crates/chrono/{0.4.43 => 0.4.44}/BUCK (91%) delete mode 100644 third-party/rust/crates/env_logger/0.8.4/BUCK delete mode 100644 third-party/rust/crates/memchr/2.7.6/BUCK delete mode 100644 third-party/rust/crates/quickcheck/1.0.3/BUCK delete mode 100644 third-party/rust/crates/rand_chacha/0.10.0/BUCK delete mode 100644 third-party/rust/crates/serde_json/1.0.145/BUCK delete mode 100644 third-party/rust/crates/tempfile/3.24.0/BUCK rename third-party/rust/crates/uuid/{1.20.0 => 1.21.0}/BUCK (67%) diff --git a/BUCK b/BUCK index 4ed002f0..24828e61 100644 --- a/BUCK +++ b/BUCK @@ -34,7 +34,7 @@ rust_library( "//third-party/rust/crates/bstr/1.12.1:bstr", "//third-party/rust/crates/byteorder/1.5.0:byteorder", "//third-party/rust/crates/bytes/1.11.1:bytes", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/colored/3.1.1:colored", "//third-party/rust/crates/crc32fast/1.5.0:crc32fast", "//third-party/rust/crates/dashmap/6.1.0:dashmap", @@ -65,7 +65,7 @@ rust_library( "//third-party/rust/crates/tokio/1.49.0:tokio", "//third-party/rust/crates/tracing-subscriber/0.3.22:tracing-subscriber", "//third-party/rust/crates/tracing/0.1.44:tracing", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", "//third-party/rust/crates/zstd-sys/2.0.16+zstd.1.5.7:zstd-sys", ], ) diff --git a/Cargo.lock b/Cargo.lock index 417c2019..1466ee10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -416,9 +416,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fac4744fb15ae8337dc853fee7fb3f4e48c0fbaa23d0afe49c447b4fab126118" +checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" dependencies = [ "iana-time-zone", "js-sys", @@ -3086,11 +3086,11 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "uuid" -version = "1.20.0" +version = "1.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f" +checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb" dependencies = [ - "getrandom 0.3.4", + "getrandom 0.4.1", "js-sys", "serde_core", "wasm-bindgen", diff --git a/buckal.snap b/buckal.snap index 858c2a94..c721aa21 100644 --- a/buckal.snap +++ b/buckal.snap @@ -3,7 +3,7 @@ version = 2 [fingerprints] -"path+file://($WORKSPACE)#0.6.0" = "fa739574b73405b37a64dc3bac07bb55aa889e452cda31e34a79b4a4e5ccc326" +"path+file://($WORKSPACE)#git-internal@0.6.1" = "85636376102be6f3a322cdd782ebcd5a62180ffe51fb42b9de6e49d96e577180" "registry+https://github.com/rust-lang/crates.io-index#adler2@2.0.1" = "7081ce7693ca45bff0e855374e6b7f386805bba1de9f7c288b1c706b99abef7f" "registry+https://github.com/rust-lang/crates.io-index#ahash@0.7.8" = "263bbc26dec8ade458658cf9dae3ef8fc606e85f04c7b47abb4f9255319689ac" "registry+https://github.com/rust-lang/crates.io-index#ahash@0.8.12" = "a383722a12d8343396b1965bfe77f1cebeafb12ccc571747b2b54614e3e1a1ea" @@ -45,7 +45,7 @@ version = 2 "registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.4" = "a930db23f176aac70c6eb5dc061658a25fec076e9965158b4bb764efd4a97d69" "registry+https://github.com/rust-lang/crates.io-index#cfg_aliases@0.2.1" = "1b65210b78bbd423b4a7dd205bad98ec274c66d7be10fb4181c781cef66ea94c" "registry+https://github.com/rust-lang/crates.io-index#chacha20@0.10.0" = "c075b0b79522af0f328e57e340652d13fff301262bbf68955cd420d4f6fd9b9a" -"registry+https://github.com/rust-lang/crates.io-index#chrono@0.4.43" = "8093e718c1ac742a8db8d725bdea6945616ddf9594e7227b89de8313d6d408ed" +"registry+https://github.com/rust-lang/crates.io-index#chrono@0.4.44" = "d94186b34495bd485a7abc1ad10177458647bced8d9b4f73ae8139b064767ff9" "registry+https://github.com/rust-lang/crates.io-index#cipher@0.5.1" = "0f62e882d47d8d0a056575b54c74d7df50380e63695adaba11f57f5916f4eb0b" "registry+https://github.com/rust-lang/crates.io-index#clang-sys@1.8.1" = "721eb427a512a1eb1ec3d73b1a4b70a495865cec167a78df1893f282b01447e5" "registry+https://github.com/rust-lang/crates.io-index#colored@3.1.1" = "d68ad0083d079d121ea59cf8e31fb7d5bad7578f7e3eee00ee2ce2c6f84a67bf" @@ -216,7 +216,7 @@ version = 2 "registry+https://github.com/rust-lang/crates.io-index#regex@1.12.2" = "e640b9d3c534b375567bffc8c9cb989938f829ec848f620da291d305f375049e" "registry+https://github.com/rust-lang/crates.io-index#rend@0.4.2" = "e1477adda7718f5953efaa45ef12a2e30c0037c5723d544285f1d21d751a092b" "registry+https://github.com/rust-lang/crates.io-index#ring@0.17.14" = "08b31cc85dc51171a8281f92ef82b8c3f9966ce9945d71093aab677887186bf4" -"registry+https://github.com/rust-lang/crates.io-index#rkyv@0.7.45" = "e686f584b9d7e39561f9b9e66e9220a3847cfa4dc2e6a618afb1cef4ad5b5179" +"registry+https://github.com/rust-lang/crates.io-index#rkyv@0.7.45" = "51af5078a711966e8435a63d8b877a1e021ef857804673f90f78e0fd11e6db86" "registry+https://github.com/rust-lang/crates.io-index#rkyv_derive@0.7.45" = "ad51df9d2e223d73130300a8075a8eaeed101ff95d4c9ad1252498f7186db950" "registry+https://github.com/rust-lang/crates.io-index#rsa@0.9.10" = "9e4146e51ce7cb3bfeca2da05259109f47b38350679c086df91d3c492e59a808" "registry+https://github.com/rust-lang/crates.io-index#rust_decimal@1.39.0" = "b6e5be3f346b31adf8bbe736cbe3ad02b7a47a279e61338ee89625c61bb50d4e" @@ -228,9 +228,9 @@ version = 2 "registry+https://github.com/rust-lang/crates.io-index#scopeguard@1.2.0" = "0baa527d86d4a1c5caf29ed5f5bdd5dde46639205aa6cdbbbfb97f5115865ec0" "registry+https://github.com/rust-lang/crates.io-index#sea-bae@0.2.1" = "d7e7b6b7b0615fa6e7efd640b10011eb12875a98760a90a060b0f24b8eaac803" "registry+https://github.com/rust-lang/crates.io-index#sea-orm-macros@1.1.19" = "6db2b7a1cab3825bd3ba21c12186177be99a9ee3fb52227ed095b8c5f49858ac" -"registry+https://github.com/rust-lang/crates.io-index#sea-orm@1.1.19" = "22354340683158485ccc1cd1f15e03601a3d2737bfdd37b1c04486f2ae5bf8e9" -"registry+https://github.com/rust-lang/crates.io-index#sea-query-binder@0.7.0" = "adb5340989b329c5d9cdf6ebf1b94467e5db5ea5e34939b8e5b97f6ddfa8ab59" -"registry+https://github.com/rust-lang/crates.io-index#sea-query@0.32.7" = "58619e6065add59d9357ed95b242f5a12ce81f791ec56ba0e3c267c38933f8ca" +"registry+https://github.com/rust-lang/crates.io-index#sea-orm@1.1.19" = "f5960632c9f14eb9b76ca02df7746a73aff1e18c284776827236a42fa98598a3" +"registry+https://github.com/rust-lang/crates.io-index#sea-query-binder@0.7.0" = "8cee463fa24f6732fe6390dd8df9d4aba2f87a4d0d3bfcc329c8b3e9fc9333bf" +"registry+https://github.com/rust-lang/crates.io-index#sea-query@0.32.7" = "ac9f0680dd34bfd2eb3d95fa2f5124274fe2463121dd14e010944cfc5539101b" "registry+https://github.com/rust-lang/crates.io-index#seahash@4.1.0" = "5bfb692d1110feebdd6ddd8b054cb74393a5b1127323bc80d0351c460b189393" "registry+https://github.com/rust-lang/crates.io-index#semver@1.0.27" = "38879be2c30d8b28a8ad9bfbe8faf8850b5649e941c4c6dac305b9bd1f362970" "registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228" = "951cc1355c31ddec2cd9225fde7ebfe6a8151b7c614ce9dd13eb4a544d1225b1" @@ -253,12 +253,12 @@ version = 2 "registry+https://github.com/rust-lang/crates.io-index#socket2@0.6.1" = "43b87959931f74b096ba04a046da884b210f4cc8c5d77a5c894e7c97bd488874" "registry+https://github.com/rust-lang/crates.io-index#spin@0.9.8" = "0a89a1b9fb5520dfef257e4592b0d06a5a693ae6e24f0596674da14e4422e93e" "registry+https://github.com/rust-lang/crates.io-index#spki@0.7.3" = "38cff90801eaeb44ad576151bf270494dbbaafbd3b6f1add2d214ddfa31b4699" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-core@0.8.6" = "ea8acc07aaae6fc0b9b02deac0736f50ff1d87f5e3569f48eeecf4207105c1d9" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-core@0.8.6" = "021514d916f0124e595c7b0098d88ba9514de8bf608504634d49a7bf1c1d329a" "registry+https://github.com/rust-lang/crates.io-index#sqlx-macros-core@0.8.6" = "e21deac1f8565fd470281d5a0510f61e42d094919d320b92980408c2e8149b76" "registry+https://github.com/rust-lang/crates.io-index#sqlx-macros@0.8.6" = "1435b9cdd7ff47e9a3cffd206777e1764a38a0d20b44a4bcba0179b27c237658" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-mysql@0.8.6" = "67fe4bfe5972d8ea400c44767ea25a849123ca8a6aabb8c294625c0787da2e49" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-postgres@0.8.6" = "26417011ac8e77b60002314d85d14c3f2a8bd32cddd46425c15878c042c30c3c" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-sqlite@0.8.6" = "ba874bd8a957b91e3e1dd654c6e2bfdac8af40796cee910a9dd3fe9e9475c79b" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-mysql@0.8.6" = "b07309fbc8747265eaeba2b0d9b1fbd9d5737f84c20c2ffc28d1e07a5e76a743" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-postgres@0.8.6" = "dd8fd43d9b0d26369854698403cfa6143a889c6bd4df06d8a31d3bff93a743eb" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-sqlite@0.8.6" = "5dcff541109025f1909093ce5f7d8deef35d83d88ee3268daca9ca5f94bf0d68" "registry+https://github.com/rust-lang/crates.io-index#sqlx@0.8.6" = "add18a2766bae9eee4954835d6f570e51d019acba17cfd4ae54738b657b04095" "registry+https://github.com/rust-lang/crates.io-index#stable_deref_trait@1.2.1" = "228237c0b3c456d90942c2213844fbab55e828d8d6e70955151d4eecf967f2ed" "registry+https://github.com/rust-lang/crates.io-index#static_assertions@1.1.0" = "91cdd3b5b292316acdeffeb470ae2128cf75af4b8fe3f3b51d7c40f5cce8feb9" @@ -306,7 +306,7 @@ version = 2 "registry+https://github.com/rust-lang/crates.io-index#unty@0.0.4" = "5475cd4e774a5dff1d71ec84f3f46bbf2a1ce7ecae45e15713335645a8e14941" "registry+https://github.com/rust-lang/crates.io-index#url@2.5.7" = "41a06dd6e4a64931308619cd9143392e669fe55fff38850784e1a9a09b49bfc2" "registry+https://github.com/rust-lang/crates.io-index#utf8_iter@1.0.4" = "047f25b86fd5f1351043a8dde0aeed66f85eeca3ac56cbb7bec54ed6c023b16c" -"registry+https://github.com/rust-lang/crates.io-index#uuid@1.20.0" = "ca18a8c8302c55cd69dc8510b4550898e502d10917e0751bdd10ab0aa7dd99cb" +"registry+https://github.com/rust-lang/crates.io-index#uuid@1.21.0" = "45b5c3eb68d5cd3f53c8e2c1a672494e6b7bd22b0fc2130cb2d9e622bb97945c" "registry+https://github.com/rust-lang/crates.io-index#valuable@0.1.1" = "756ad94b5effaecf9973461517320157d1ee5ab3ec28d86e1f99c4915851a45e" "registry+https://github.com/rust-lang/crates.io-index#vcpkg@0.2.15" = "719f7f17537403aaa321d268702fb5039de3e7c1993d88754cca070f8b597174" "registry+https://github.com/rust-lang/crates.io-index#version_check@0.9.5" = "5f3a662254d4a2b2e505904ada0ee24aa8376f7d08d71832a6a0f1ff04f1ad71" diff --git a/third-party/rust/crates/chrono/0.4.43/BUCK b/third-party/rust/crates/chrono/0.4.44/BUCK similarity index 91% rename from third-party/rust/crates/chrono/0.4.43/BUCK rename to third-party/rust/crates/chrono/0.4.44/BUCK index d9c3e0dc..62e18890 100644 --- a/third-party/rust/crates/chrono/0.4.43/BUCK +++ b/third-party/rust/crates/chrono/0.4.44/BUCK @@ -5,10 +5,10 @@ load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "chrono-vendor", - urls = ["https://static.crates.io/crates/chrono/chrono-0.4.43.crate"], - sha256 = "fac4744fb15ae8337dc853fee7fb3f4e48c0fbaa23d0afe49c447b4fab126118", + urls = ["https://static.crates.io/crates/chrono/chrono-0.4.44.crate"], + sha256 = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0", type = "tar.gz", - strip_prefix = "chrono-0.4.43", + strip_prefix = "chrono-0.4.44", out = "vendor", ) diff --git a/third-party/rust/crates/env_logger/0.8.4/BUCK b/third-party/rust/crates/env_logger/0.8.4/BUCK deleted file mode 100644 index 61d828b0..00000000 --- a/third-party/rust/crates/env_logger/0.8.4/BUCK +++ /dev/null @@ -1,33 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "rust_library") - -http_archive( - name = "env_logger-vendor", - urls = ["https://static.crates.io/crates/env_logger/env_logger-0.8.4.crate"], - sha256 = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3", - type = "tar.gz", - strip_prefix = "env_logger-0.8.4", - out = "vendor", -) - -cargo_manifest( - name = "env_logger-manifest", - vendor = ":env_logger-vendor", -) - -rust_library( - name = "env_logger", - srcs = [":env_logger-vendor"], - crate = "env_logger", - crate_root = "vendor/src/lib.rs", - edition = "2018", - features = ["regex"], - rustc_flags = ["@$(location :env_logger-manifest[env_flags])"], - visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/log/0.4.29:log", - "//third-party/rust/crates/regex/1.12.2:regex", - ], -) diff --git a/third-party/rust/crates/memchr/2.7.6/BUCK b/third-party/rust/crates/memchr/2.7.6/BUCK deleted file mode 100644 index a131b754..00000000 --- a/third-party/rust/crates/memchr/2.7.6/BUCK +++ /dev/null @@ -1,33 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "rust_library") - -http_archive( - name = "memchr-vendor", - urls = ["https://static.crates.io/crates/memchr/memchr-2.7.6.crate"], - sha256 = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273", - type = "tar.gz", - strip_prefix = "memchr-2.7.6", - out = "vendor", -) - -cargo_manifest( - name = "memchr-manifest", - vendor = ":memchr-vendor", -) - -rust_library( - name = "memchr", - srcs = [":memchr-vendor"], - crate = "memchr", - crate_root = "vendor/src/lib.rs", - edition = "2021", - features = [ - "alloc", - "default", - "std", - ], - rustc_flags = ["@$(location :memchr-manifest[env_flags])"], - visibility = ["PUBLIC"], -) diff --git a/third-party/rust/crates/quickcheck/1.0.3/BUCK b/third-party/rust/crates/quickcheck/1.0.3/BUCK deleted file mode 100644 index 9e27ddb0..00000000 --- a/third-party/rust/crates/quickcheck/1.0.3/BUCK +++ /dev/null @@ -1,40 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "rust_library") - -http_archive( - name = "quickcheck-vendor", - urls = ["https://static.crates.io/crates/quickcheck/quickcheck-1.0.3.crate"], - sha256 = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6", - type = "tar.gz", - strip_prefix = "quickcheck-1.0.3", - out = "vendor", -) - -cargo_manifest( - name = "quickcheck-manifest", - vendor = ":quickcheck-vendor", -) - -rust_library( - name = "quickcheck", - srcs = [":quickcheck-vendor"], - crate = "quickcheck", - crate_root = "vendor/src/lib.rs", - edition = "2018", - features = [ - "default", - "env_logger", - "log", - "regex", - "use_logging", - ], - rustc_flags = ["@$(location :quickcheck-manifest[env_flags])"], - visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/env_logger/0.8.4:env_logger", - "//third-party/rust/crates/log/0.4.29:log", - "//third-party/rust/crates/rand/0.8.5:rand", - ], -) diff --git a/third-party/rust/crates/rand_chacha/0.10.0/BUCK b/third-party/rust/crates/rand_chacha/0.10.0/BUCK deleted file mode 100644 index 7f9bb482..00000000 --- a/third-party/rust/crates/rand_chacha/0.10.0/BUCK +++ /dev/null @@ -1,36 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "rust_library") - -http_archive( - name = "rand_chacha-vendor", - urls = ["https://static.crates.io/crates/rand_chacha/rand_chacha-0.10.0.crate"], - sha256 = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb", - type = "tar.gz", - strip_prefix = "rand_chacha-0.10.0", - out = "vendor", -) - -cargo_manifest( - name = "rand_chacha-manifest", - vendor = ":rand_chacha-vendor", -) - -rust_library( - name = "rand_chacha", - srcs = [":rand_chacha-vendor"], - crate = "rand_chacha", - crate_root = "vendor/src/lib.rs", - edition = "2024", - features = [ - "default", - "std", - ], - rustc_flags = ["@$(location :rand_chacha-manifest[env_flags])"], - visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/ppv-lite86/0.2.21:ppv-lite86", - "//third-party/rust/crates/rand_core/0.10.0:rand_core", - ], -) diff --git a/third-party/rust/crates/rkyv/0.7.45/BUCK b/third-party/rust/crates/rkyv/0.7.45/BUCK index 84983602..4b2a6051 100644 --- a/third-party/rust/crates/rkyv/0.7.45/BUCK +++ b/third-party/rust/crates/rkyv/0.7.45/BUCK @@ -47,7 +47,7 @@ rust_library( "//third-party/rust/crates/rkyv_derive/0.7.45:rkyv_derive", "//third-party/rust/crates/seahash/4.1.0:seahash", "//third-party/rust/crates/tinyvec/1.10.0:tinyvec", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/sea-orm/1.1.19/BUCK b/third-party/rust/crates/sea-orm/1.1.19/BUCK index 830a2dd0..ef265046 100644 --- a/third-party/rust/crates/sea-orm/1.1.19/BUCK +++ b/third-party/rust/crates/sea-orm/1.1.19/BUCK @@ -49,7 +49,7 @@ rust_library( "//third-party/rust/crates/async-stream/0.3.6:async-stream", "//third-party/rust/crates/async-trait/0.1.89:async-trait", "//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/derive_more/2.1.0:derive_more", "//third-party/rust/crates/futures-util/0.3.32:futures-util", "//third-party/rust/crates/log/0.4.29:log", @@ -67,6 +67,6 @@ rust_library( "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/sea-query-binder/0.7.0/BUCK b/third-party/rust/crates/sea-query-binder/0.7.0/BUCK index d4a3d35a..8fc5518b 100644 --- a/third-party/rust/crates/sea-query-binder/0.7.0/BUCK +++ b/third-party/rust/crates/sea-query-binder/0.7.0/BUCK @@ -43,12 +43,12 @@ rust_library( visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/rust_decimal/1.39.0:rust_decimal", "//third-party/rust/crates/sea-query/0.32.7:sea-query", "//third-party/rust/crates/serde_json/1.0.149:serde_json", "//third-party/rust/crates/sqlx/0.8.6:sqlx", "//third-party/rust/crates/time/0.3.44:time", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/sea-query/0.32.7/BUCK b/third-party/rust/crates/sea-query/0.32.7/BUCK index 4798d927..ea03490b 100644 --- a/third-party/rust/crates/sea-query/0.32.7/BUCK +++ b/third-party/rust/crates/sea-query/0.32.7/BUCK @@ -47,12 +47,12 @@ rust_library( visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/inherent/1.0.13:inherent", "//third-party/rust/crates/ordered-float/4.6.0:ordered-float", "//third-party/rust/crates/rust_decimal/1.39.0:rust_decimal", "//third-party/rust/crates/serde_json/1.0.149:serde_json", "//third-party/rust/crates/time/0.3.44:time", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/serde_json/1.0.145/BUCK b/third-party/rust/crates/serde_json/1.0.145/BUCK deleted file mode 100644 index c49669e8..00000000 --- a/third-party/rust/crates/serde_json/1.0.145/BUCK +++ /dev/null @@ -1,75 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") - -http_archive( - name = "serde_json-vendor", - urls = ["https://static.crates.io/crates/serde_json/serde_json-1.0.145.crate"], - sha256 = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c", - type = "tar.gz", - strip_prefix = "serde_json-1.0.145", - out = "vendor", -) - -cargo_manifest( - name = "serde_json-manifest", - vendor = ":serde_json-vendor", -) - -rust_library( - name = "serde_json", - srcs = [":serde_json-vendor"], - crate = "serde_json", - crate_root = "vendor/src/lib.rs", - edition = "2021", - env = { - "OUT_DIR": "$(location :serde_json-build-script-run[out_dir])", - }, - features = [ - "default", - "raw_value", - "std", - ], - rustc_flags = [ - "@$(location :serde_json-build-script-run[rustc_flags])", - "@$(location :serde_json-manifest[env_flags])", - ], - visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/itoa/1.0.15:itoa", - "//third-party/rust/crates/memchr/2.7.6:memchr", - "//third-party/rust/crates/ryu/1.0.20:ryu", - "//third-party/rust/crates/serde_core/1.0.228:serde_core", - ], -) - -rust_binary( - name = "serde_json-build-script-build", - srcs = [":serde_json-vendor"], - crate = "build_script_build", - crate_root = "vendor/build.rs", - edition = "2021", - features = [ - "default", - "raw_value", - "std", - ], - rustc_flags = ["@$(location :serde_json-manifest[env_flags])"], - visibility = [], -) - -buildscript_run( - name = "serde_json-build-script-run", - package_name = "serde_json", - buildscript_rule = ":serde_json-build-script-build", - env_srcs = [":serde_json-manifest[env_dict]"], - features = [ - "default", - "raw_value", - "std", - ], - version = "1.0.145", - manifest_dir = ":serde_json-vendor", - visibility = ["PUBLIC"], -) diff --git a/third-party/rust/crates/sqlx-core/0.8.6/BUCK b/third-party/rust/crates/sqlx-core/0.8.6/BUCK index bfc18393..2a34eca9 100644 --- a/third-party/rust/crates/sqlx-core/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-core/0.8.6/BUCK @@ -45,7 +45,7 @@ rust_library( "//third-party/rust/crates/base64/0.22.1:base64", "//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal", "//third-party/rust/crates/bytes/1.11.1:bytes", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/crc/3.4.0:crc", "//third-party/rust/crates/crossbeam-queue/0.3.12:crossbeam-queue", "//third-party/rust/crates/either/1.15.0:either", @@ -70,6 +70,6 @@ rust_library( "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK b/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK index e4971b9e..14f5f25f 100644 --- a/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK @@ -46,7 +46,7 @@ rust_library( "//third-party/rust/crates/bitflags/2.10.0:bitflags", "//third-party/rust/crates/byteorder/1.5.0:byteorder", "//third-party/rust/crates/bytes/1.11.1:bytes", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/crc/3.4.0:crc", "//third-party/rust/crates/digest/0.10.7:digest", "//third-party/rust/crates/dotenvy/0.15.7:dotenvy", @@ -76,7 +76,7 @@ rust_library( "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", "//third-party/rust/crates/whoami/1.6.1:whoami", ], ) diff --git a/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK b/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK index dbaacf43..99b603f1 100644 --- a/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK @@ -47,7 +47,7 @@ rust_library( "//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal", "//third-party/rust/crates/bitflags/2.10.0:bitflags", "//third-party/rust/crates/byteorder/1.5.0:byteorder", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/crc/3.4.0:crc", "//third-party/rust/crates/dotenvy/0.15.7:dotenvy", "//third-party/rust/crates/futures-channel/0.3.32:futures-channel", @@ -73,7 +73,7 @@ rust_library( "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", "//third-party/rust/crates/whoami/1.6.1:whoami", ], ) diff --git a/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK b/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK index 8d663498..87c1c9eb 100644 --- a/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK @@ -37,7 +37,7 @@ rust_library( visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/atoi/2.0.0:atoi", - "//third-party/rust/crates/chrono/0.4.43:chrono", + "//third-party/rust/crates/chrono/0.4.44:chrono", "//third-party/rust/crates/flume/0.11.1:flume", "//third-party/rust/crates/futures-channel/0.3.32:futures-channel", "//third-party/rust/crates/futures-core/0.3.32:futures-core", @@ -54,6 +54,6 @@ rust_library( "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", - "//third-party/rust/crates/uuid/1.20.0:uuid", + "//third-party/rust/crates/uuid/1.21.0:uuid", ], ) diff --git a/third-party/rust/crates/tempfile/3.24.0/BUCK b/third-party/rust/crates/tempfile/3.24.0/BUCK deleted file mode 100644 index 8df43a0b..00000000 --- a/third-party/rust/crates/tempfile/3.24.0/BUCK +++ /dev/null @@ -1,50 +0,0 @@ -# @generated by `cargo buckal` - -load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "rust_library") - -http_archive( - name = "tempfile-vendor", - urls = ["https://static.crates.io/crates/tempfile/tempfile-3.24.0.crate"], - sha256 = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c", - type = "tar.gz", - strip_prefix = "tempfile-3.24.0", - out = "vendor", -) - -cargo_manifest( - name = "tempfile-manifest", - vendor = ":tempfile-vendor", -) - -rust_library( - name = "tempfile", - srcs = [":tempfile-vendor"], - crate = "tempfile", - crate_root = "vendor/src/lib.rs", - edition = "2021", - features = [ - "default", - "getrandom", - ], - rustc_flags = ["@$(location :tempfile-manifest[env_flags])"], - os_deps = { - "linux": [ - "//third-party/rust/crates/getrandom/0.3.4:getrandom", - "//third-party/rust/crates/rustix/1.1.3:rustix", - ], - "macos": [ - "//third-party/rust/crates/getrandom/0.3.4:getrandom", - "//third-party/rust/crates/rustix/1.1.3:rustix", - ], - "windows": [ - "//third-party/rust/crates/getrandom/0.3.4:getrandom", - "//third-party/rust/crates/windows-sys/0.61.2:windows-sys", - ], - }, - visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/fastrand/2.3.0:fastrand", - "//third-party/rust/crates/once_cell/1.21.3:once_cell", - ], -) diff --git a/third-party/rust/crates/uuid/1.20.0/BUCK b/third-party/rust/crates/uuid/1.21.0/BUCK similarity index 67% rename from third-party/rust/crates/uuid/1.20.0/BUCK rename to third-party/rust/crates/uuid/1.21.0/BUCK index a32e23da..5dd84430 100644 --- a/third-party/rust/crates/uuid/1.20.0/BUCK +++ b/third-party/rust/crates/uuid/1.21.0/BUCK @@ -5,10 +5,10 @@ load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "uuid-vendor", - urls = ["https://static.crates.io/crates/uuid/uuid-1.20.0.crate"], - sha256 = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f", + urls = ["https://static.crates.io/crates/uuid/uuid-1.21.0.crate"], + sha256 = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb", type = "tar.gz", - strip_prefix = "uuid-1.20.0", + strip_prefix = "uuid-1.21.0", out = "vendor", ) @@ -33,9 +33,9 @@ rust_library( ], rustc_flags = ["@$(location :uuid-manifest[env_flags])"], os_deps = { - "linux": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], - "macos": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], - "windows": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], + "linux": ["//third-party/rust/crates/getrandom/0.4.1:getrandom"], + "macos": ["//third-party/rust/crates/getrandom/0.4.1:getrandom"], + "windows": ["//third-party/rust/crates/getrandom/0.4.1:getrandom"], }, visibility = ["PUBLIC"], deps = ["//third-party/rust/crates/serde_core/1.0.228:serde_core"], From a442b493fd351eb9f4476d720802719361e42e1f Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 5 Mar 2026 22:47:11 +0800 Subject: [PATCH 2/2] chore: remove claude-review workflow Signed-off-by: Steven --- .github/workflows/claude-review.yml | 152 ---------------------------- 1 file changed, 152 deletions(-) delete mode 100644 .github/workflows/claude-review.yml diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml deleted file mode 100644 index e55b213c..00000000 --- a/.github/workflows/claude-review.yml +++ /dev/null @@ -1,152 +0,0 @@ -name: Claude Code Review with Progress Tracking - -# Trigger Claude review on PR lifecycle events and explicit mentions - -on: - # Trigger when a new issue comment is created (for @claude mentions) - issue_comment: - types: [created] - # Trigger when a PR review comment is created/edited/deleted (for @claude mentions) - pull_request_review_comment: - types: [created, edited, deleted] - # Trigger on new or assigned issues (for future extension or automation) - issues: - types: [opened, assigned] - # Trigger when a PR review is submitted (for @claude in the review body) - pull_request_review: - types: [submitted] - # Main trigger for PR events, using pull_request_target for elevated permissions - pull_request_target: - types: [opened, synchronize, reopened] - -permissions: - # Read repository contents needed for code review - contents: read - # Allow Claude to post review comments on pull requests - pull-requests: write - # Allow Claude to interact with issues if needed - issues: write - # Allow this workflow to manage its own actions if required - actions: write - -jobs: - claude-review-with-tracking: - runs-on: ubuntu-latest - - # Run on PRs or when explicitly triggered via comments - if: | - github.event_name == 'pull_request_target' || - ( - (github.event_name == 'issue_comment' || github.event_name == 'pull_request_review_comment') && - contains(github.event.comment.body, '@claude') - ) || - ( - github.event_name == 'pull_request_review' && - contains(github.event.review.body, '@claude') - ) - - steps: - # Checkout PR Branch (for comments) - - name: Resolve PR Ref - id: resolve-pr-ref - if: github.event_name == 'issue_comment' && github.event.issue.pull_request - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - PR_NUMBER=${{ github.event.issue.number }} - echo "Resolving HEAD SHA and Repo for PR #$PR_NUMBER..." - - # Get SHA and Repo Name using gh - # Note: Using awk implies fields are space-separated and don't contain spaces themselves, - # which is safe for git SHAs and "owner/repo" strings. - # We use a conditional template to handle cases where the head repository (fork) might be deleted/null. - RESOLVED=$(gh pr view $PR_NUMBER --repo ${{ github.repository }} --json headRefOid,headRepository --template '{{.headRefOid}} {{if .headRepository}}{{.headRepository.owner.login}}/{{.headRepository.name}}{{else}}MISSING{{end}}') - - PR_SHA=$(echo "$RESOLVED" | awk '{print $1}') - PR_REPO=$(echo "$RESOLVED" | awk '{print $2}') - - echo "Resolved SHA: $PR_SHA" - echo "Resolved Repo: $PR_REPO" - - # Check for valid repository format (owner/repo) - if [ "$PR_REPO" = "MISSING" ] || [[ "$PR_REPO" != *"/"* ]]; then - echo "Warning: Could not resolve source repository (fork might be deleted). Falling back to base repository." - PR_REPO="${{ github.repository }}" - fi - - echo "pr_sha=$PR_SHA" >> $GITHUB_OUTPUT - echo "pr_repo=$PR_REPO" >> $GITHUB_OUTPUT - - # Checkout the repository at the appropriate commit for review - - name: Checkout repository - uses: actions/checkout@v6 - with: - # Checkout the PR source repository (fork) to ensure branches exist for the action - repository: ${{ steps.resolve-pr-ref.outputs.pr_repo || github.event.pull_request.head.repo.full_name || github.repository }} - # Use PR head SHA for pull_request_target to review the actual PR code - # For comment events, this will default to the base branch (PR context is inferred by Claude action) - ref: ${{ steps.resolve-pr-ref.outputs.pr_sha || github.event.pull_request.head.sha || github.sha }} - fetch-depth: 20 - - # Fix git ref access for claude-code-action PR branch checkout - # The action internally runs: git fetch origin pull/N/head:pr-N - # This can fail for two reasons: - # 1. Under git protocol v2, refs/pull/* may not be discoverable if not in - # the configured fetch refspec (causes "couldn't find remote ref") - # 2. If a local branch pr-N already exists and is checked out, git refuses - # to fetch into it (causes "refusing to fetch into branch") - # Adding refs/pull/*/head to the fetch refspec solves issue 1, and we avoid - # creating local branches to prevent issue 2. - - name: Configure git for PR ref access - run: | - git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pull/*/head' - - # Invoke Claude to perform an automated PR review with progress tracking - - name: Run Claude Code Review - id: claude-review - uses: anthropics/claude-code-action@v1 - with: - anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - github_token: ${{ secrets.GITHUB_TOKEN }} - allowed_non_write_users: "*" - - # Enable progress tracking and show full Claude output in logs - track_progress: true - - # Custom review instructions passed to Claude - prompt: | - REPO: ${{ github.repository }} - - Perform a comprehensive code review with the following focus areas: - - 1. **Code Quality** - - Clean code principles and best practices - - Proper error handling and edge cases - - Code readability and maintainability - - 2. **Security** - - Check for potential security vulnerabilities - - Validate input sanitization - - Review authentication/authorization logic - - 3. **Performance** - - Identify potential performance bottlenecks - - Review database queries for efficiency - - Check for memory leaks or resource issues - - 4. **Testing** - - Verify adequate test coverage - - Review test quality and edge cases - - Check for missing test scenarios - - 5. **Documentation** - - Ensure code is properly documented - - Verify README updates for new features - - Check API documentation accuracy - - Provide detailed feedback using inline comments for specific issues. - Use top-level comments for general observations or praise. - - # Restrict tools that Claude can use during the review - claude_args: | - --allowedTools "mcp__github__,mcp__github_inline_comment__,Bash(gh)"