Skip to content

Move Session from Settings to GMP object#5279

Merged
greenbonebot merged 6 commits into
mainfrom
gmp-session
May 8, 2026
Merged

Move Session from Settings to GMP object#5279
greenbonebot merged 6 commits into
mainfrom
gmp-session

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Move Session from Settings to GMP object

Why

The session is not really a setting. It's a global thing.

Checklist

  • Tests

Avoid code duplication for creating a storage object for testing
purposes.
The session is not really a setting and therefore is should be available
at the Gmp instance instead.
The session is now available on the Gmp instance directly.
@bjoernricks bjoernricks requested a review from a team as a code owner May 8, 2026 09:20
@greenbonebot greenbonebot enabled auto-merge (rebase) May 8, 2026 09:20
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Dependency Review

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

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 2a53e22.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

The session should not be used directly. Instead one of it's data hooks
should be used which get re-rendered if a session value changes.
The session got moved from the settings directly to the gmp object.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

❌ Patch coverage is 96.29630% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 78.76%. Comparing base (028cbbe) to head (2a53e22).

Files with missing lines Patch % Lines
src/web/components/provider/LanguageProvider.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5279   +/-   ##
=======================================
  Coverage   78.76%   78.76%           
=======================================
  Files        1211     1210    -1     
  Lines       31752    31754    +2     
  Branches     9509     9510    +1     
=======================================
+ Hits        25008    25012    +4     
+ Misses       6042     6040    -2     
  Partials      702      702           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@greenbonebot greenbonebot merged commit f249bcd into main May 8, 2026
27 checks passed
@greenbonebot greenbonebot deleted the gmp-session branch May 8, 2026 15:38
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.

3 participants