Skip to content

root, web, docs, packages/*-config: Fix pnpm symlinks, version ranges - #23592

Merged
GirlBossRush merged 16 commits into
mainfrom
fix/prettier-config-eslint-symlink-cycle
Jul 2, 2026
Merged

GirlBossRush merged 16 commits into
mainfrom
fix/prettier-config-eslint-symlink-cycle

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR is a follow up to #22826.

Changes

Dependabot clean up

  • fixed some issues that dependabot carried over from its PRs that were created before the pnpm migration
  • fixed some deprecation warnings stemming from latest pnpm update

Package version ranges

Tightened up the prettier version, preventing prettier's new algo from counting the line length differently, resulting in a lot of unnecessary diffs

Symlink fixes

packages/eslint-config and packages/prettier-config mutually link:-depended on each other so each could lint/format its own source. Under npm's flat hoisting that was harmless. Under pnpm's isolated linker the two get directly nested node_modules symlinks, forming an infinite path that any symlink-following recursive walk hits with ENAMETOOLONG.

That broke the website build with a misleading "Sidebars file failed to be loaded", whose real cause was a deep scandir ENAMETOOLONG under the theme's nested node_modules.

This PR drops @goauthentik/eslint-config from prettier-config's devDependencies to cut one edge of the cycle. Its eslint.config.mjs still resolves the config via the root node_modules symlink (workspace v2.0.0), so linting is unaffected.

@GirlBossRush
GirlBossRush requested review from a team as code owners July 2, 2026 03:51
@netlify

netlify Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 9f34ae0
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a467f236feeb300075736b0
😎 Deploy Preview https://deploy-preview-23592--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 changed the title packages/prettier-config: break eslint-config↔prettier-config symlink cycle packages/prettier-config: Fix ESLint/Prettier Config Symlink Jul 2, 2026
@netlify

netlify Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

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

@GirlBossRush
GirlBossRush requested review from BeryJu and dominic-r July 2, 2026 03:56
@GirlBossRush GirlBossRush self-assigned this Jul 2, 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 labels Jul 2, 2026
@GirlBossRush GirlBossRush moved this from Todo to Needs review in authentik Core Jul 2, 2026
@codecov

codecov Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (56061d4) to head (9f34ae0).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23592      +/-   ##
==========================================
+ Coverage   93.21%   93.23%   +0.01%     
==========================================
  Files        1039     1039              
  Lines       60865    60865              
  Branches      424      424              
==========================================
+ Hits        56738    56748      +10     
+ Misses       4127     4117      -10     
Flag Coverage Δ
conformance 36.30% <ø> (+<0.01%) ⬆️
e2e 41.49% <ø> (ø)
integration 32.74% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.30% <ø> (+<0.01%) ⬆️
unit-migrate 92.34% <ø> (+0.02%) ⬆️

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.

@github-actions

github-actions Bot commented Jul 2, 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-7fcaf7bff28da44def04e1438cecac92606dae0d
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-7fcaf7bff28da44def04e1438cecac92606dae0d

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

dependabot Bot and others added 7 commits July 2, 2026 11:52
Bumps the storybook group with 1 update in the /web directory: [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/core).


Updates `storybook` from 10.4.2 to 10.4.6
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v10.4.6/code/core)

---
updated-dependencies:
- dependency-name: storybook
  dependency-version: 10.4.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
… cycle

The two shared config packages mutually link:-depended on each other so
each could lint/format its own source. Under npm's flat hoisting this was
harmless, but pnpm's isolated linker materializes it as directly nested
node_modules symlinks, producing an infinite physical path that any
symlink-following recursive walk (Docusaurus theme scan, tsc, IDE
indexers) blows up on with ENAMETOOLONG — breaking the website build.

Drop @goauthentik/eslint-config from prettier-config's devDependencies to
cut one edge of the cycle. prettier-config's own eslint.config.mjs still
resolves @goauthentik/eslint-config (workspace v2.0.0) via the root
node_modules symlink, so its lint is unaffected.

Co-authored-by: Playpen Agent <[email protected]>
@GirlBossRush
GirlBossRush force-pushed the fix/prettier-config-eslint-symlink-cycle branch from 9361229 to 8f0d7da Compare July 2, 2026 13:12
@netlify

netlify Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

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

@GirlBossRush
GirlBossRush requested a review from a team as a code owner July 2, 2026 13:19
@GirlBossRush
GirlBossRush requested a review from a team as a code owner July 2, 2026 13:31
@GirlBossRush GirlBossRush changed the title packages/prettier-config: Fix ESLint/Prettier Config Symlink root, web, docs, packages/*-config: Fix pnpm symlinks, version ranges Jul 2, 2026

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It gets us back to sanity.

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core Jul 2, 2026
@GirlBossRush
GirlBossRush requested a review from rissson July 2, 2026 15:24
@GirlBossRush GirlBossRush moved this from In Progress to In review in authentik Core Jul 2, 2026
@github-project-automation github-project-automation Bot moved this from In review to In Progress in authentik Core Jul 2, 2026
@GirlBossRush
GirlBossRush merged commit 07bb1ea into main Jul 2, 2026
107 of 108 checks passed
@GirlBossRush
GirlBossRush deleted the fix/prettier-config-eslint-symlink-cycle branch July 2, 2026 15:55
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jul 2, 2026
kensternberg-authentik added a commit that referenced this pull request Jul 2, 2026
* main:
  Web/cleanup/dedup default config (#23622)
  website/integrations: Kimai: cleanup (#23320)
  Web/css/enabling layers 2 (#23265)
  root, web, docs, packages/*-config: Fix pnpm symlinks, version ranges (#23592)
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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants