scim: update error logging
Details
This PR implements str methods so errors are easier to understand while debugging
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 docs)
Deploy Preview for authentik-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 57737682ba4d2e74945536450b4adb314a9a18df |
| Latest deploy log | https://app.netlify.com/projects/authentik-docs/deploys/69406e48ab5d5300087d929a |
Deploy Preview for authentik-storybook ready!
| Name | Link |
|---|---|
| Latest commit | 57737682ba4d2e74945536450b4adb314a9a18df |
| Latest deploy log | https://app.netlify.com/projects/authentik-storybook/deploys/69406e48343ed6000807c600 |
| Deploy Preview | https://deploy-preview-18628--authentik-storybook.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for authentik-integrations ready!
| Name | Link |
|---|---|
| Latest commit | 57737682ba4d2e74945536450b4adb314a9a18df |
| Latest deploy log | https://app.netlify.com/projects/authentik-integrations/deploys/69406e485f3e5900081532ba |
| Deploy Preview | https://deploy-preview-18628--authentik-integrations.netlify.app |
| Preview on mobile | Toggle 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 Report
:x: Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 68.72%. Comparing base (20dbcf2) to head (5773768).
:warning: Report is 14 commits behind head on main.
:white_check_mark: All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| authentik/lib/sync/outgoing/exceptions.py | 85.71% | 2 Missing :warning: |
:exclamation: There is a different number of reports uploaded between BASE (20dbcf2) and HEAD (5773768). Click for more details.
HEAD has 20 uploads less than BASE
Flag BASE (20dbcf2) HEAD (5773768) e2e 8 5 unit 10 3 unit-migrate 10 0
Additional details and impacted files
@@ Coverage Diff @@
## main #18628 +/- ##
===========================================
- Coverage 93.22% 68.72% -24.51%
===========================================
Files 946 947 +1
Lines 51903 51990 +87
===========================================
- Hits 48388 35729 -12659
- Misses 3515 16261 +12746
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 42.23% <85.71%> (-2.57%) |
:arrow_down: |
| integration | 23.36% <85.71%> (+0.07%) |
:arrow_up: |
| unit | 66.11% <85.71%> (-25.36%) |
:arrow_down: |
| unit-migrate | ? |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
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-784ad2a3ed8287c208cd32978a154b5cb983917e
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-784ad2a3ed8287c208cd32978a154b5cb983917e
Afterwards, run the upgrade commands from the latest release notes.