Skip to content

Conversation

@houseme
Copy link
Contributor

@houseme houseme commented Oct 24, 2025

Type of Change

  • New Feature
  • Bug Fix
  • Documentation
  • Performance Improvement
  • Test/CI
  • Refactor
  • Other:

Related Issues

#698

Summary of Changes

Checklist

  • I have read and followed the CONTRIBUTING.md guidelines
  • Passed make pre-commit
  • Added/updated necessary tests
  • Documentation updated (if needed)
  • CI/CD passed (if applicable)

Impact

  • Breaking change (compatibility)
  • Requires doc/config/deployment update
  • Other impact:

Additional Notes


Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.

@houseme houseme requested a review from Copilot October 24, 2025 04:31
@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
cargo/astral-tokio-tar 0.5.6 UnknownUnknown

Scanned Files

  • Cargo.lock

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves metrics handling by migrating from the legacy tracing-based metrics API to the standard metrics crate API, and replaces the tokio-tar dependency with astral-tokio-tar. The changes also include reorganizing workspace dependencies for better clarity and updating test file comments from Chinese to English.

  • Refactored metrics instrumentation to use the metrics crate's standard API instead of tracing macros
  • Replaced tokio-tar with astral-tokio-tar across the workspace
  • Reorganized and categorized workspace dependencies in Cargo.toml files

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
rustfs/src/server/http.rs Updated metrics calls from tracing-based to metrics crate API (counter! and histogram! macros)
rustfs/Cargo.toml Replaced tokio-tar with astral-tokio-tar and reorganized dependencies into logical groups
crates/zip/src/lib.rs Reordered imports (cosmetic change)
crates/zip/Cargo.toml Replaced tokio-tar with astral-tokio-tar
crates/e2e_test/src/kms/multipart_encryption_test.rs Translated Chinese comments to English
crates/e2e_test/src/kms/kms_vault_test.rs Updated md5::compute import to use explicit function name
crates/e2e_test/src/kms/kms_edge_cases_test.rs Updated md5::compute import to use explicit function name
crates/e2e_test/src/kms/kms_comprehensive_test.rs Translated Chinese comments to English
Cargo.toml Replaced tokio-tar with astral-tokio-tar and reorganized workspace dependencies with category comments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@houseme houseme merged commit c5264f9 into main Oct 24, 2025
16 checks passed
@houseme houseme deleted the fix/tokio-tar-switch branch October 24, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant