Skip to content

core, internal, packages: fix British spellings flagged by cspell - #22819

Merged
BeryJu merged 2 commits into
mainfrom
cspell/british-backend
Jun 8, 2026
Merged

BeryJu merged 2 commits into
mainfrom
cspell/british-backend

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

Part of enabling a cspell rule that rejects British spellings in favor of American variants.

This PR fixes the backend (@goauthentik/backend) portion: 18 files across authentik/ (Python docstrings/comments, a Django template comment), internal/ (Go log messages), and packages/ak-common/ (a Rust doc comment) — behaviour→behavior, initialise→initialize, finalise→finalize, etc. Comments/strings only, no identifier or behavior changes.

Merge order

This is one of three independent cleanup PRs (docs / backend / frontend). They can merge in any order. The PR that actually activates the cspell rule (#ENABLE) must merge last, after all three cleanups land, or CI will fail on pre-existing British spellings.

Related PRs

Apply American spellings in Python docstrings/comments, Go log messages, a Rust doc comment, and a template comment (behaviour->behavior, initialise->initialize, finalise->finalize, etc.). Part of enabling cspell's British-spelling rule; the rule itself lands in a separate PR once all areas are clean.

Co-Authored-By: Playpen Agent <[email protected]>
@GirlBossRush
GirlBossRush requested a review from a team as a code owner June 3, 2026 14:36
@GirlBossRush GirlBossRush mentioned this pull request Jun 3, 2026
3 tasks done
@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 0d3d52c
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a203c0b8367fc0008707a9f
😎 Deploy Preview https://deploy-preview-22819--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.

@codecov

codecov Bot commented Jun 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.30%. Comparing base (d639c03) to head (1933a59).
⚠️ Report is 36 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22819      +/-   ##
==========================================
+ Coverage   93.27%   93.30%   +0.02%     
==========================================
  Files        1033     1033              
  Lines       60150    60150              
  Branches      400      400              
==========================================
+ Hits        56107    56121      +14     
+ Misses       4043     4029      -14     
Flag Coverage Δ
conformance 36.56% <ø> (+<0.01%) ⬆️
e2e 41.82% <ø> (+<0.01%) ⬆️
integration 33.00% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.23% <ø> (+<0.01%) ⬆️
unit-migrate 92.26% <ø> (+0.01%) ⬆️

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

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

Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu requested a review from a team as a code owner June 3, 2026 15:12
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-1933a596c5e9e0576d6586566520ff760071442e
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-1933a596c5e9e0576d6586566520ff760071442e

Afterwards, run the upgrade commands from the latest release notes.

@GirlBossRush GirlBossRush self-assigned this Jun 3, 2026
@GirlBossRush GirlBossRush added area:frontend Features or issues related to the browser, TypeScript, Node.js, etc area:docs Features or issues related to Docusaurus area:infrastructure labels Jun 4, 2026
@GirlBossRush GirlBossRush moved this from Todo to Needs review in authentik Core Jun 4, 2026

@BeryJu BeryJu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sigh I dont want to approve this but alas

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Jun 8, 2026
@BeryJu
BeryJu merged commit 5727ae4 into main Jun 8, 2026
113 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 8, 2026
@BeryJu
BeryJu deleted the cspell/british-backend branch June 8, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus area:frontend Features or issues related to the browser, TypeScript, Node.js, etc area:infrastructure

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants