Skip to content

providers/oauth2: deactivate locale after testing#20518

Merged
BeryJu merged 1 commit intomainfrom
providers/oauth2/fix-test-deactivate-locale
Feb 24, 2026
Merged

providers/oauth2: deactivate locale after testing#20518
BeryJu merged 1 commit intomainfrom
providers/oauth2/fix-test-deactivate-locale

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented Feb 24, 2026

fix randomly test flakiness due to the activated locale carrying over into future tests

fixes things like https://github.com/goauthentik/authentik/actions/runs/22321199164/job/64597158678

to test:

CI_TEST_SEED=2333807931 CI_RUN_ID=1 CI_TOTAL_RUNS=5 uv run coverage run manage.py test --keepdb --failfast authentik

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner February 24, 2026 13:12
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 896d55a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/699da3a55833a20008d8b72a
😎 Deploy Preview https://deploy-preview-20518--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 896d55a
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/699da3a5d1b6840008e4f7e2
😎 Deploy Preview https://deploy-preview-20518--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.24%. Comparing base (f5adf8d) to head (896d55a).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20518      +/-   ##
==========================================
- Coverage   93.28%   93.24%   -0.05%     
==========================================
  Files         981      981              
  Lines       55311    55314       +3     
==========================================
- Hits        51597    51577      -20     
- Misses       3714     3737      +23     
Flag Coverage Δ
conformance 37.36% <0.00%> (-0.01%) ⬇️
e2e 43.16% <0.00%> (-0.01%) ⬇️
integration 22.33% <0.00%> (-0.05%) ⬇️
unit 91.51% <100.00%> (+<0.01%) ⬆️
unit-migrate 91.53% <100.00%> (+<0.01%) ⬆️

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.

@BeryJu BeryJu added area:backend backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 labels Feb 24, 2026
@BeryJu BeryJu merged commit 37e701e into main Feb 24, 2026
105 of 106 checks passed
@BeryJu BeryJu deleted the providers/oauth2/fix-test-deactivate-locale branch February 24, 2026 14:47
authentik-automation bot pushed a commit that referenced this pull request Feb 24, 2026
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2025.12 created: #20525

@authentik-automation
Copy link
Contributor

🍒 Cherry-pick to version-2026.2 created: #20526

BeryJu added a commit that referenced this pull request Feb 24, 2026
…to version-2025.12) (#20525)

providers/oauth2: deactivate locale after testing (#20518)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
BeryJu added a commit that referenced this pull request Feb 24, 2026
…to version-2026.2) (#20526)

providers/oauth2: deactivate locale after testing (#20518)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@goauthentik.io>
kensternberg-authentik added a commit that referenced this pull request Feb 25, 2026
* main:
  web/flow: Tidy identification stage (#20261)
  website/docs: fix upgrade link in release notes (#20540)
  website/docs: fix upgrade link in `2026.2` release notes (#20539)
  website/docs: update supported versions (#20534)
  website/docs: create draft release notes for `2026.5` (#20529)
  Fix redirect URI in Seafile integration documentation (#20532)
  website/docs: autogenerate release notes (#20527)
  providers/oauth2: add jti claim (#20484)
  providers/oauth2: deactivate locale after testing (#20518)
  policies: fix PolicyEngineMode ALL with static binding optimization (#20430)
  website/docs: fix linux setup docs (#20508)
  web: fix Edit Policy button on Flow view page (#20511)
  endpoints: fix infinite recursion in stage with unsupported connector (#20485)
  enterprise: add `ES384` to enterprise license algorithms (#20507)
  web/flow: fix typo in RedirectStage (#20488)
  website/docs: fix GitHub social-login wording and capitalization (#20489)
  web: bump knip from 5.84.1 to 5.85.0 in /web (#20464)
  website/integrations: standardize resource sections and update template (#20423)
  core, web: bump ajv from 6.12.6 to 6.14.0 in /packages/eslint-config (#20478)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:backend backport/version-2025.12 Add this label to PRs to backport changes to version-2025.12 backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant