refactor: clean runtime and test storage boundaries (#3573)

* refactor: clean runtime observability select boundaries

* refactor: clean test harness fuzz storage boundaries
This commit is contained in:
安正超
2026-06-18 18:09:25 +08:00
committed by GitHub
parent 8313767f75
commit c098184c49
49 changed files with 414 additions and 170 deletions
+2
View File
@@ -8760,6 +8760,7 @@ dependencies = [
"async-trait",
"serde",
"time",
"uuid",
]
[[package]]
@@ -8789,6 +8790,7 @@ dependencies = [
"rustfs-kafka-async",
"rustfs-s3-types",
"rustfs-tls-runtime",
"rustfs-utils",
"rustls",
"rustls-native-certs",
"s3s",
+3 -1
View File
@@ -1,7 +1,9 @@
#![no_main]
mod storage_compat;
use libfuzzer_sys::fuzz_target;
use rustfs_ecstore::bucket::utils::{check_bucket_and_object_names, check_list_objs_args, check_valid_bucket_name_strict};
use crate::storage_compat::ecstore::bucket::utils::{check_bucket_and_object_names, check_list_objs_args, check_valid_bucket_name_strict};
fn parse_case(data: &[u8]) -> (String, String) {
let text = String::from_utf8_lossy(data);
+3 -1
View File
@@ -1,7 +1,9 @@
#![no_main]
mod storage_compat;
use libfuzzer_sys::fuzz_target;
use rustfs_ecstore::bucket::utils::{check_object_name_for_length_and_slash, has_bad_path_component, is_valid_object_prefix};
use crate::storage_compat::ecstore::bucket::utils::{check_object_name_for_length_and_slash, has_bad_path_component, is_valid_object_prefix};
use rustfs_utils::path::{clean, path_join};
use std::path::{Path, PathBuf};
+15
View File
@@ -0,0 +1,15 @@
// Copyright 2024 RustFS Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
pub(crate) use rustfs_ecstore as ecstore;