Skip to content

core: gate server-only code so the proxy outpost builds without warnings - #28077

Open
GirlBossRush wants to merge 4 commits into
mainfrom
core/proxy-feature-warnings
Open

GirlBossRush wants to merge 4 commits into
mainfrom
core/proxy-feature-warnings

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR fixes the proxy outpost release build, which denies warnings and failed 2026.11.0-rc1.

  • Gated the embedded outpost routing and allinone command behind core
  • Make hyper-unix-socket, pem and pyo3-build-config optional, enabled by core
  • Registered the server and workers with the metrics module instead of passing metrics state through main
  • Added a clippy-proxy CI job that lints the proxy-only build the release ships

@GirlBossRush
GirlBossRush requested a review from a team as a code owner November 24, 2026 16:01
@GirlBossRush GirlBossRush added the backport/version-2026.11 Add this label to PRs to backport changes to version-2026.11 label Nov 24, 2026
@GirlBossRush
GirlBossRush enabled auto-merge (squash) November 24, 2026 16:01
@netlify

netlify Bot commented Nov 24, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit a0062e7
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6b05b4f1520538e92cb137f6
😎 Deploy Preview https://deploy-preview-28077--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 Nov 24, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.34%. Comparing base (012591c) to head (1099668).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/metrics/mod.rs 0.00% 9 Missing ⚠️
src/main.rs 0.00% 6 Missing ⚠️
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           
Flag Coverage Δ
conformance 29.52% <ø> (+<0.01%) ⬆️
e2e 34.00% <ø> (+<0.01%) ⬆️
integration 27.16% <ø> (+0.01%) ⬆️
rust 52.07% <0.00%> (+0.03%) ⬆️
unit 94.80% <ø> (+<0.01%) ⬆️
unit-migrate 94.81% <ø> (+<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.

@GirlBossRush
GirlBossRush marked this pull request as draft November 24, 2026 16:11
auto-merge was automatically disabled November 24, 2026 16:11

Pull request was converted to draft

@GirlBossRush
GirlBossRush force-pushed the core/proxy-feature-warnings branch from 27cdafa to f71c3c4 Compare November 24, 2026 16:15
@GirlBossRush GirlBossRush self-assigned this Nov 24, 2026
@GirlBossRush
GirlBossRush marked this pull request as ready for review November 24, 2026 16:16
@GirlBossRush
GirlBossRush requested a review from a team as a code owner November 24, 2026 16:16
@GirlBossRush
GirlBossRush force-pushed the core/proxy-feature-warnings branch from f71c3c4 to 4c323e4 Compare November 24, 2026 16:17
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download 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-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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)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-1099668f424798f65b6f4ad6086e502d13c94890
        # Distroless image: tag: gh-1099668f424798f65b6f4ad6086e502d13c94890-distroless

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

Comment thread Makefile Resolved
Comment thread .github/workflows/ci-main.yml Resolved
@GirlBossRush
GirlBossRush requested a review from a team as a code owner November 24, 2026 23:16
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.
@GirlBossRush
GirlBossRush force-pushed the core/proxy-feature-warnings branch from 0bb11f8 to 1099668 Compare November 24, 2026 23:17

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.11 Add this label to PRs to backport changes to version-2026.11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants