Skip to content

outposts: remove duplicate startup/setup code, add pyroscope, make sentry not reconfigure every time - #14724

Merged
BeryJu merged 1 commit into
mainfrom
outposts/refactor-slightly
Jun 7, 2025
Merged

BeryJu merged 1 commit into
mainfrom
outposts/refactor-slightly

Conversation

@BeryJu

@BeryJu BeryJu commented May 27, 2025

Copy link
Copy Markdown
Member

Details

Pyroscope is terrible for python but quite helpful for golang

Having sentry re-configure itself everytime the outpost gets an update signal uses quite a bit of RAM

split out of #14539


Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

@BeryJu
BeryJu requested review from a team as code owners May 27, 2025 21:25
@netlify

netlify Bot commented May 27, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit 00d46d6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6836ef1d62ce8f00085d8f90

@netlify

netlify Bot commented May 27, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 00d46d6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6836ef1d27fd6d0008f7ae40

@codecov

codecov Bot commented May 27, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.71%. Comparing base (10f4fae) to head (00d46d6).
Report is 151 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14724      +/-   ##
==========================================
- Coverage   92.76%   92.71%   -0.06%     
==========================================
  Files         815      815              
  Lines       41960    41960              
==========================================
- Hits        38925    38903      -22     
- Misses       3035     3057      +22     
Flag Coverage Δ
e2e 47.75% <ø> (-0.08%) ⬇️
integration 24.43% <ø> (ø)
unit 90.59% <ø> (ø)

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

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…ntry not reconfigure every time

Signed-off-by: Jens Langhammer <[email protected]>
@BeryJu
BeryJu force-pushed the outposts/refactor-slightly branch from 17cccda to 00d46d6 Compare May 28, 2025 11:10
@github-actions

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-00d46d654c24fe2ee60b266fbf3eda605033b9f7
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-00d46d654c24fe2ee60b266fbf3eda605033b9f7

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

@BeryJu
BeryJu merged commit b7417e7 into main Jun 7, 2025
@BeryJu
BeryJu deleted the outposts/refactor-slightly branch June 7, 2025 01:01
cavefire pushed a commit to cavefire/authentik that referenced this pull request Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants