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: Termination of sessions #1588

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

MoritzWeber0
Copy link
Member

The automatic termination of idle sessions stopped working with #1573. Reason is that the app label was removed from Prometheus.

This commit migrates the old app references to the new session_id label.

The automatic termination of idle sessions stopped working with #1573.
Reason is that the app label was removed from Prometheus.

This commit migrates the old app references to the new session_id label.
Copy link

github-actions bot commented May 28, 2024

A Storybook preview is available for commit 7b39b82.
View Storybook
View Chromatic build

Copy link

sonarcloud bot commented May 28, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 79.81%. Comparing base (f730af4) to head (ff4e2fa).
Report is 138 commits behind head on main.

Files Patch % Lines
backend/capellacollab/sessions/idletimeout.py 0.00% 0 Missing and 1 partial ⚠️
backend/capellacollab/sessions/injection.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1588   +/-   ##
=======================================
  Coverage   79.81%   79.81%           
=======================================
  Files         185      185           
  Lines        5970     5970           
  Branches      666      666           
=======================================
  Hits         4765     4765           
  Misses       1061     1061           
  Partials      144      144           

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

@MoritzWeber0
Copy link
Member Author

Tested in the staging environment, works.

@MoritzWeber0 MoritzWeber0 merged commit c8cc4a5 into main May 28, 2024
29 of 30 checks passed
@MoritzWeber0 MoritzWeber0 deleted the use-session-id-for-idletime branch May 28, 2024 08:12
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