Skip to content

Conversation

@stdevMac
Copy link
Member

Changes:

  • When not provided, the jwt secret is set as a relative path. This allows users to share their setup more easily.

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Testing

Requires testing

  • Yes
  • No

In case you checked yes, did you write tests?

  • Yes
  • No

Comments about testing , should you have some (optional)

Further comments (optional)

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2024

Codecov Report

Attention: Patch coverage is 52.17391% with 11 lines in your changes missing coverage. Please review.

Project coverage is 24.76%. Comparing base (6ab41db) to head (f9c741c).

Files with missing lines Patch % Lines
cli/actions/jwt_secrets.go 38.46% 5 Missing and 3 partials ⚠️
cli/generate.go 70.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #484      +/-   ##
===========================================
- Coverage    24.78%   24.76%   -0.02%     
===========================================
  Files          120      120              
  Lines        22313    22331      +18     
===========================================
  Hits          5530     5530              
- Misses       16241    16253      +12     
- Partials       542      548       +6     
Flag Coverage Δ
unittests 24.76% <52.17%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@AntiD2ta AntiD2ta left a comment

Choose a reason for hiding this comment

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

I may be missing something. I don't see any regression tests that check what happens when the user uses a relative path, or an absolute path. These should be E2E tests.

@stdevMac stdevMac requested a review from AntiD2ta February 10, 2025 14:53
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.

4 participants