Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rustfs/rustfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: rustfs/rustfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/add-auth-module-tests-fixed
Choose a head ref
  • 4 commits
  • 5 files changed
  • 2 contributors

Commits on Jul 31, 2025

  1. feat: add comprehensive tests for authentication module

    - Add 33 unit tests covering all public functions in auth.rs
    - Test IAMAuth struct creation and secret key validation
    - Test check_claims_from_token with various credential types and scenarios
    - Test session token extraction from headers and query parameters
    - Test condition values generation for different user types
    - Test query parameter parsing with edge cases
    - Test Credentials helper methods (is_expired, is_temp, is_service_account)
    - Ensure tests handle global state dependencies gracefully
    - All tests pass successfully with 100% coverage of testable functions
    cursoragent committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    12cfe4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17b2a75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8459ba7 View commit details
    Browse the repository at this point in the history
  4. Fix branch rebasing and synchronization script for multiple feature b…

    …ranches
    
    Co-authored-by: anzhengchao <anzhengchao@gmail.com>
    cursoragent and overtrue committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    8d47e9a View commit details
    Browse the repository at this point in the history
Loading