Skip to content

web: add the oxlint and oxfmt config packages - #23519

Merged
GirlBossRush merged 1 commit into
mainfrom
oxlint
Sep 16, 2026
Merged

GirlBossRush merged 1 commit into
mainfrom
oxlint

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR adds @goauthentik/oxlint-config and @goauthentik/oxfmt-config, deferring their actual implementation to the PR stack.

@GirlBossRush
GirlBossRush requested review from a team as code owners June 29, 2026 13:40
@GirlBossRush GirlBossRush self-assigned this Jun 29, 2026
@GirlBossRush GirlBossRush added area:frontend Features or issues related to the browser, TypeScript, Node.js, etc area:infrastructure labels Jun 29, 2026
@netlify

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 8cf3243
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6aa961450ab9280008edc3f4
😎 Deploy Preview https://deploy-preview-23519--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.

@GirlBossRush GirlBossRush moved this from Todo to Needs review in authentik Core Jun 29, 2026
@netlify

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 8cf3243
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6aa961452456ed00089be21c
😎 Deploy Preview https://deploy-preview-23519--authentik-storybook.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

netlify Bot commented Jun 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 8cf3243
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aa961458bb4f50008fdd417
😎 Deploy Preview https://deploy-preview-23519--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 29, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23519      +/-   ##
==========================================
- Coverage   91.97%   91.96%   -0.01%     
==========================================
  Files        1172     1172              
  Lines       75927    75927              
  Branches     4056     4056              
==========================================
- Hits        69834    69830       -4     
- Misses       6051     6055       +4     
  Partials       42       42              
Flag Coverage Δ
conformance 33.60% <ø> (+<0.01%) ⬆️
e2e 38.32% <ø> (+<0.01%) ⬆️
integration 30.32% <ø> (+<0.01%) ⬆️
rust 42.89% <ø> (ø)
unit 93.52% <ø> (+<0.01%) ⬆️
unit-migrate 93.53% <ø> (+<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.

@rissson rissson changed the title core, web: Replace ESLint & Prettier with Oxlint & Oxfmt web: Replace ESLint & Prettier with Oxlint & Oxfmt Jun 29, 2026
@GirlBossRush
GirlBossRush requested a review from a team as a code owner July 1, 2026 15:16
@github-actions

github-actions Bot commented Jul 1, 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-8cf3243d98b832111790fe30310fded920fc4b4d
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-8cf3243d98b832111790fe30310fded920fc4b4d

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

@GirlBossRush

Copy link
Copy Markdown
Contributor Author

@dependabot recreate

@github-actions

Copy link
Copy Markdown
Contributor

Playwright e2e — ⚠️ Passed with flakes

Result Count
✅ Passed 43
❌ Failed 0
⚠️ Flaky 1
⏭️ Skipped 4

Workflow run · HTML report hosting is gated off until the authentik-playwright-artifacts S3 bucket is provisioned (vars.PLAYWRIGHT_S3_ENABLED). Until then, download the playwright-report artifact from the run page.

@GirlBossRush GirlBossRush changed the title web: Replace ESLint & Prettier with Oxlint & Oxfmt web: add the oxlint and oxfmt config packages Sep 11, 2026
@GirlBossRush
GirlBossRush removed this pull request from stack #25514 September 11, 2026 14:28
@GirlBossRush
GirlBossRush removed this pull request from stack #26064 September 12, 2026 02:21
@GirlBossRush
GirlBossRush removed this pull request from stack #26078 September 12, 2026 02:22
Comment thread .github/actions/setup/action.yml Resolved
@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Sep 15, 2026
Two new workspace packages, ahead of anything using them.

`@goauthentik/oxlint-config` exports a `createOxlintConfig` factory rather than
a static config, because the lit/wc rules and the React plugin vary per consumer
and four near-copies of one rule set is how they drift. It also carries the
platform-layering `no-restricted-imports` rules and a bundled JS plugin for
authentik's own rules.

`@goauthentik/oxfmt-config` is the formatting half. `src/imports.ts` is the part
worth a look: it reproduces the import grouping `format-imports` gave us under
Prettier, using oxfmt's perfectionist-style selectors.

Both compile to a gitignored `out/`, which every consuming config imports at
load time, so both carry a `prepare` script — pnpm runs it on a fresh install,
which is what CI always does. `make node-install` builds them explicitly as
well, since `prepare` does not re-run on a warm tree when the lockfile is
already satisfied.

Nothing consumes either package yet.
@GirlBossRush
GirlBossRush merged commit 1d0948f into main Sep 16, 2026
226 of 228 checks passed
@GirlBossRush
GirlBossRush deleted the oxlint branch September 16, 2026 01:57
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants