Commit Graph

1124 Commits

Author SHA1 Message Date
overtrue 25418e1372 feat: add comprehensive tests for file_meta.rs - Add 24 new test functions covering FileMeta, FileMetaVersion, and related structs - Test utility functions like load, check_xl2_v1, read_bytes_header - Test enum methods for VersionType, ErasureAlgo, ChecksumAlgo - Test FileMetaVersionHeader comparison and validation methods - Test MetaObject and MetaDeleteMarker serialization/deserialization - Test async functions like read_xl_meta_no_data and get_file_info - Add edge case tests for error handling and boundary conditions - Improve test coverage for complex file metadata operations 2025-05-26 12:19:40 +08:00
overtrue 864fcce07b fix: fix failing test cases in file_meta module - Fix test expectations to match actual function behavior - Update sort and latest_mod_time test logic - Add version_id to delete marker test 2025-05-26 12:19:40 +08:00
overtrue 319ff77b07 feat: add comprehensive tests for file_meta module - Add 24 new test functions covering FileMeta operations, validation, and edge cases 2025-05-26 12:19:40 +08:00
overtrue cea6ddbdf1 fix: correct test_common_parity assertion for HashMap iteration order 2025-05-26 12:19:40 +08:00
overtrue 394fb36362 fix: correct test_read_xl_meta_no_data test data format 2025-05-26 12:19:40 +08:00
overtrue 8c0d3fa227 feat: add comprehensive tests for set_disk module - Add 21 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully with proper function behavior verification 2025-05-26 12:19:40 +08:00
houseme 2cadbba6ad Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
# Conflicts:
#	Cargo.toml
#	iam/src/manager.rs
#	iam/src/store/object.rs
#	rustfs/src/admin/handlers/sts.rs
#	rustfs/src/main.rs
#	rustfs/src/storage/ecfs.rs
2025-05-25 18:10:13 +08:00
houseme dee19fdc35 improve code for event 2025-05-25 17:52:22 +08:00
houseme 864071d641 cargo fmt 2025-05-25 17:46:59 +08:00
安正超 1e48f8d74e Merge pull request #413 from rustfs/feat/add-set-disk-tests
feat: add comprehensive tests for set_disk module
2025-05-25 16:33:39 +08:00
overtrue fb9f8319b2 feat: add comprehensive tests for set_disk module - Add 24 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully 2025-05-25 16:27:16 +08:00
安正超 7dfe5f92cc Merge pull request #412 from rustfs/feat/add-store-tests
feat: add comprehensive tests for ecstore/store module
2025-05-25 16:01:03 +08:00
安正超 1f577b14b0 Merge pull request #411 from rustfs/feat/add-grpc-tests
feat: add comprehensive test cases for grpc module
2025-05-25 16:00:41 +08:00
overtrue 4d726273aa feat: add comprehensive tests for ecstore/store module 2025-05-25 15:59:24 +08:00
overtrue fc194f3a4a feat: add comprehensive test cases for grpc module 2025-05-25 15:39:04 +08:00
安正超 7eb722b444 Merge pull request #410 from rustfs/feat/translate-chinese-comments-to-english
feat: translate Chinese comments to English across codebase
2025-05-25 15:25:25 +08:00
overtrue 9d90913697 feat: translate Chinese comments to English across codebase 2025-05-25 15:24:34 +08:00
安正超 d1a2f2939c Merge pull request #409 from rustfs/fix/zip-import-and-static-files
fix: resolve zip import issue and add missing static files
2025-05-25 15:06:37 +08:00
overtrue 1a9bfd1b86 fix: resolve zip import issue by using rustfs-zip package 2025-05-25 15:04:46 +08:00
安正超 7ebcfebecb Merge pull request #408 from rustfs/feat/enhance-iam-utils-test-coverage
feat: enhance test coverage for IAM utils and OS utils modules
2025-05-25 14:12:16 +08:00
overtrue 0f1e9d0c63 feat: enhance test coverage for IAM utils and OS utils modules 2025-05-25 14:09:40 +08:00
安正超 17928cf9c8 Merge pull request #407 from rustfs/feat/improve-test-coverage-and-translations
feat: improve test coverage and fix critical crypto bug
2025-05-25 14:00:34 +08:00
overtrue cae578d6b5 docs: add commit message length and PR format rules 2025-05-25 13:59:22 +08:00
overtrue 42b38336ad docs: add cross-platform CPU architecture compatibility guidelines 2025-05-25 13:57:06 +08:00
overtrue ad71db6367 docs: add requirement for English PR descriptions in development workflow 2025-05-25 13:55:51 +08:00
overtrue bc398ccf1b feat: improve test coverage and fix critical crypto bug - Translate all Chinese comments to English in utils/ip.rs and config/constants/app.rs - Add comprehensive test suite for crypto/encdec/id.rs module (14 new tests) - Fix critical bug in Argon2 key generation that was returning all-zero keys - Improve test coverage for IP utilities and configuration constants - Ensure all test cases follow English naming conventions and meaningful descriptions 2025-05-25 13:53:59 +08:00
overtrue e838f4292c docs: add strict branch management rules to prevent direct main branch modifications 2025-05-25 13:43:24 +08:00
overtrue df71cea9af refactor: improve test code quality by replacing meaningless names and content 2025-05-25 13:40:54 +08:00
安正超 077fb4ed69 Merge pull request #404 from rustfs/feat/zip-features
feat: complete zip compression module implementation
2025-05-25 13:35:46 +08:00
安正超 3eb0fd7ddd Merge pull request #405 from rustfs/feat/event-notifier-error-tests
feat: Add comprehensive test coverage for event-notifier error module
2025-05-25 13:35:17 +08:00
overtrue d7b3e20233 docs: enhance cursor rules with code quality standards 2025-05-25 13:34:06 +08:00
overtrue c970ed1587 docs: translate .cursorrules from Chinese to English 2025-05-25 13:32:33 +08:00
overtrue d9d889cb4f feat: add comprehensive tests for event-notifier error module 2025-05-25 13:28:16 +08:00
overtrue 9604efd5cc feat: add comprehensive tests for event-notifier error module 2025-05-25 13:26:25 +08:00
overtrue 5fff195295 feat: complete zip compression module implementation 2025-05-25 13:14:38 +08:00
安正超 1a91371306 Merge pull request #403 from rustfs/feat/zip-tests
feat: add comprehensive test coverage for zip compression module
2025-05-25 13:11:23 +08:00
安正超 530c73916e Merge pull request #402 from rustfs/fix/tests
feat: enhance test coverage and fix compilation errors
2025-05-25 13:11:05 +08:00
overtrue c6b3051c67 feat: add comprehensive test coverage for zip compression module 2025-05-25 13:05:11 +08:00
overtrue a6c3b122bd feat: enhance test coverage and fix compilation errors 2025-05-25 12:56:43 +08:00
houseme 0f22b21c8d improve channel adapter 2025-05-21 16:44:59 +08:00
houseme 1c088546b3 add 2025-05-21 07:15:47 +08:00
houseme 2d9394a8e0 improve code run fun 2025-05-19 23:04:02 +08:00
houseme 72f5a24144 fix typo 2025-05-19 18:17:51 +08:00
houseme c6de1ae994 feat: rename crate from rustfs-event-notifier to rustfs-event
This change simplifies the crate name to better reflect its core functionality
as the event handling system for RustFS. The renamed package maintains all
existing functionality while improving naming consistency across the project.

- Updated all imports and references to use the new crate name
- Maintained API compatibility with existing implementations
- Updated tests to reflect the name change
2025-05-19 17:23:17 +08:00
houseme 791780dd68 fix typo 2025-05-19 16:32:56 +08:00
houseme be8a615cd7 fix typo 2025-05-19 16:21:22 +08:00
houseme dff7476143 improve comment 2025-05-19 13:39:46 +08:00
houseme fd1bf30de8 test metrics 2025-05-16 20:16:43 +08:00
houseme 704043ef02 improve run.sh 2025-05-16 18:35:08 +08:00
houseme 6659b77f9a improve comment and error 2025-05-16 17:00:56 +08:00