Skip to content

root: include task_id in events and logs#9749

Merged
BeryJu merged 1 commit intomainfrom
root/include-task-id-events
May 16, 2024
Merged

root: include task_id in events and logs#9749
BeryJu merged 1 commit intomainfrom
root/include-task-id-events

Conversation

@BeryJu
Copy link
Member

@BeryJu BeryJu commented May 16, 2024

Details

To make it easier to debug which task caused a system_exception event or just failed in general, also include the task ID in the logs/events


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)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
@BeryJu BeryJu requested a review from a team as a code owner May 16, 2024 10:57
@netlify
Copy link

netlify bot commented May 16, 2024

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit b2fba1b
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6645e68a02ce1f0008efb17a

@netlify
Copy link

netlify bot commented May 16, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit b2fba1b
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6645e68a3d5c0a0007ea2749

@codecov
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.38%. Comparing base (9589e04) to head (b2fba1b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9749   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files         704      704           
  Lines       34403    34403           
=======================================
  Hits        31784    31784           
  Misses       2619     2619           
Flag Coverage Δ
e2e 49.66% <50.00%> (+0.01%) ⬆️
integration 25.36% <50.00%> (ø)
unit 89.82% <100.00%> (ø)

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.

@github-actions
Copy link
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-ghcr.io/goauthentik/dev-server:gh-b2fba1ba2a2e37bf837a65fbc40cfdeff48d9a8a
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-ghcr.io/goauthentik/dev-server:gh-b2fba1ba2a2e37bf837a65fbc40cfdeff48d9a8a-arm64
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
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-b2fba1ba2a2e37bf837a65fbc40cfdeff48d9a8a

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-ghcr.io/goauthentik/dev-server:gh-b2fba1ba2a2e37bf837a65fbc40cfdeff48d9a8a-arm64

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

@BeryJu BeryJu merged commit f282095 into main May 16, 2024
@BeryJu BeryJu deleted the root/include-task-id-events branch May 16, 2024 11:33
kensternberg-authentik added a commit that referenced this pull request May 16, 2024
* main:
  root: include task_id in events and logs (#9749)
  web: bump the esbuild group in /web with 2 updates (#9745)
  web: bump esbuild from 0.21.2 to 0.21.3 in /web (#9746)
  web: bump the storybook group across 1 directory with 7 updates (#9747)
kensternberg-authentik added a commit that referenced this pull request May 17, 2024
* main:
  web: bump @sentry/browser from 7.114.0 to 8.2.1 in /web in the sentry group across 1 directory (#9757)
  core, web: update translations (#9714)
  core: bump sentry-sdk from 2.1.1 to 2.2.0 (#9753)
  core: bump selenium from 4.20.0 to 4.21.0 (#9754)
  core: bump msgraph-sdk from 1.2.0 to 1.4.0 (#9755)
  core: bump github.com/sethvargo/go-envconfig from 1.0.1 to 1.0.2 (#9756)
  web: bump chromedriver from 124.0.3 to 125.0.0 in /tests/wdio (#9758)
  website/docs: new PR for the Entra provider docs (ignore old one) (#9741)
  root: include task_id in events and logs (#9749)
  web: bump the esbuild group in /web with 2 updates (#9745)
  web: bump esbuild from 0.21.2 to 0.21.3 in /web (#9746)
  web: bump the storybook group across 1 directory with 7 updates (#9747)
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.

1 participant