Skip to content

Fix/22 mark current session correctly#50

Closed
NirmalMishra08 wants to merge 9 commits into
roshankumar0036singh:mainfrom
NirmalMishra08:fix/22-mark-current-session-correctly
Closed

Fix/22 mark current session correctly#50
NirmalMishra08 wants to merge 9 commits into
roshankumar0036singh:mainfrom
NirmalMishra08:fix/22-mark-current-session-correctly

Conversation

@NirmalMishra08
Copy link
Copy Markdown

@NirmalMishra08 NirmalMishra08 commented Jun 4, 2026

Checklist

  • I have read and signed the CLA by commenting I have read the CLA and agree to its terms. on this PR.
  • My changes follow the project's coding style.
  • I have tested my changes.

Summary by CodeRabbit

  • New Features

    • Sessions now display which session is currently active
  • Refactor

    • Enhanced token refresh security with atomic operations
  • Tests

    • Added comprehensive test coverage for session identification

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ecb8c574-6413-4930-9cd8-a0ac57c04214

📥 Commits

Reviewing files that changed from the base of the PR and between de8755b and 4f09291.

📒 Files selected for processing (9)
  • internal/config/redis.go
  • internal/handler/auth_handler.go
  • internal/handler/auth_handler_protected_test.go
  • internal/handler/auth_handler_test.go
  • internal/middleware/auth.go
  • internal/repository/token_repository.go
  • internal/service/auth_service.go
  • internal/service/token_service.go
  • internal/service/token_service_test.go
 ______________________________________
< Be a super developer. Go home early. >
 --------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant