Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Revoke T4C session tokens for initial repositories #2191

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

MoritzWeber0
Copy link
Member

Instead of evaluating the repository list during termination again, save the repositories with issued tokens in the database and revoke the tokens for exactly the same repositories.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.65%. Comparing base (af7a0d5) to head (3740761).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2191      +/-   ##
==========================================
+ Coverage   87.62%   87.65%   +0.02%     
==========================================
  Files         240      240              
  Lines        8268     8285      +17     
  Branches      568      571       +3     
==========================================
+ Hits         7245     7262      +17     
  Misses        863      863              
  Partials      160      160              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Feb 11, 2025

API Changelog 4.18.2.dev10+g5616ee92

This comment has been minimized.

@MoritzWeber0 MoritzWeber0 requested a review from zusorio February 12, 2025 09:13
Copy link
Member

@zusorio zusorio left a comment

Choose a reason for hiding this comment

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

Nice!

@MoritzWeber0 MoritzWeber0 force-pushed the revoke-session-tokens-rewrite branch from 2dd98a4 to 464e9a6 Compare February 20, 2025 14:06
Copy link

codecov bot commented Feb 20, 2025

Bundle Report

Bundle size has no change ✅

This comment has been minimized.

Instead of evaluating the repository list during termination again,
save the repositories with issued tokens in the database and revoke
the tokens for exactly the same repositories.
@MoritzWeber0 MoritzWeber0 force-pushed the revoke-session-tokens-rewrite branch from 464e9a6 to 3740761 Compare February 21, 2025 08:07
Copy link

This report was generated by comparing 5616ee9 with af7a0d5.
If you would like to check difference, please check here.

change detected

ArtifactName: reg

item count
pass 483
change 1
new 0
delete 0
📝 Report

Differences

Valid Content_desktop.png

actual Actual
expected Expected
difference Difference

@MoritzWeber0 MoritzWeber0 merged commit 9710517 into main Feb 21, 2025
34 checks passed
@MoritzWeber0 MoritzWeber0 deleted the revoke-session-tokens-rewrite branch February 21, 2025 08:23
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.

2 participants