Repository navigation
core: gate server-only code so the proxy outpost builds without warnings - #28077
GirlBossRush wants to merge 4 commits into
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #28077 +/- ##
=======================================
Coverage 93.33% 93.34%
=======================================
Files 1251 1251
Lines 89819 89816 -3
Branches 4967 4964 -3
=======================================
+ Hits 83834 83840 +6
+ Misses 5920 5911 -9
Partials 65 65
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Pull request was converted to draft
27cdafa to
f71c3c4
Compare
f71c3c4 to
4c323e4
Compare
Playwright e2eDownload this run's HTML report and traces, then open the report: gh run download 45508670555 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-reportInstallation instructionsInstructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-1099668f424798f65b6f4ad6086e502d13c94890
# Distroless image: AUTHENTIK_TAG=gh-1099668f424798f65b6f4ad6086e502d13c94890-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-1099668f424798f65b6f4ad6086e502d13c94890
# Distroless image: tag: gh-1099668f424798f65b6f4ad6086e502d13c94890-distrolessAfterwards, run the upgrade commands from the latest release notes. |
The release builds the proxy outpost with only the proxy feature and denies warnings. The embedded outpost routing, the allinone command, the metrics state for the server and worker, and three dependencies are only used by the core feature, so that build failed on unused code. They are now behind the core feature.
main held the metrics state only so the core commands could store the server and worker handles in it, which left it unused in the proxy build. The core commands now register those handles with the metrics module, which keeps them behind the core feature, and metrics::start no longer returns state.
0bb11f8 to
1099668
Compare
Details
This PR fixes the proxy outpost release build, which denies warnings and failed 2026.11.0-rc1.
allinonecommand behindcorehyper-unix-socket,pemandpyo3-build-configoptional, enabled bycoremainclippy-proxyCI job that lints the proxy-only build the release ships