refactor(time): migrate audit and notify timestamps to jiff (#5707)

* refactor(time): migrate audit and notify timestamps to jiff

Co-Authored-By: heihutu <heihutu@gmail.com>

* test(ecstore): initialize heal walk decode error

Co-Authored-By: heihutu <heihutu@gmail.com>

* refactor(targets): parse MySQL event time with jiff

Preserve MySQL DATETIME(6) wall-time formatting for RFC3339 eventTime values while removing the direct chrono dependency from rustfs-targets.

Co-Authored-By: heihutu <heihutu@gmail.com>

* chore(deps): prune unused workspace dependencies

Apply cargo shear --fix to remove unused path-clean and s3select-api tempfile entries after the scoped jiff migration.

Co-Authored-By: heihutu <heihutu@gmail.com>

* test(ecstore): remove duplicate heal walk decode error init

Remove the duplicate decode_error field from the heal walk test collector initializer so lib-test clippy compiles on CI.

Co-Authored-By: heihutu <heihutu@gmail.com>

* refactor(policy): emit OPA timestamps with jiff

Co-Authored-By: heihutu <heihutu@gmail.com>

---------

Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
houseme
2026-08-04 23:20:44 +08:00
committed by GitHub
parent b14805af47
commit 510b0350d6
16 changed files with 206 additions and 55 deletions
Generated
+4 -5
View File
@@ -9135,11 +9135,11 @@ name = "rustfs-audit"
version = "1.0.0-beta.12"
dependencies = [
"async-trait",
"chrono",
"const-str",
"futures",
"hashbrown 0.17.1",
"hotpath",
"jiff",
"metrics",
"rustfs-config",
"rustfs-s3-types",
@@ -9737,11 +9737,11 @@ dependencies = [
"arc-swap",
"async-trait",
"axum",
"chrono",
"criterion",
"form_urlencoded",
"hashbrown 0.17.1",
"hotpath",
"jiff",
"metrics",
"percent-encoding",
"quick-xml",
@@ -9862,10 +9862,10 @@ version = "1.0.0-beta.12"
dependencies = [
"async-trait",
"base64-simd",
"chrono",
"futures",
"hotpath",
"ipnetwork",
"jiff",
"jsonwebtoken 11.0.0",
"moka",
"pollster",
@@ -10091,7 +10091,6 @@ dependencies = [
"s3s",
"serde_json",
"serial_test",
"tempfile",
"thiserror 2.0.19",
"tokio",
"tokio-util",
@@ -10205,7 +10204,6 @@ dependencies = [
"arc-swap",
"async-nats",
"async-trait",
"chrono",
"criterion",
"deadpool-postgres",
"futures-util",
@@ -10213,6 +10211,7 @@ dependencies = [
"hotpath",
"hyper",
"hyper-rustls",
"jiff",
"lapin",
"libc",
"metrics",