root: fix ensure `outpost_connection_discovery runs on worker startup
Details
Make outpost_connection_discovery a startup task for default_tenant to ensure it's ran during worker startup. Without this waiting for the 8 hour schedule to fire is required.
fixes: https://github.com/goauthentik/authentik/issues/10933
Checklist
- [X] Local tests pass (
ak test authentik/) - [X] 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)
Deploy Preview for authentik-docs canceled.
| Name | Link |
|---|---|
| Latest commit | b4506b47ed48f3e0510b70c36bd301688375de4d |
| Latest deploy log | https://app.netlify.com/sites/authentik-docs/deploys/66dca80e3785060008a98fe1 |
Deploy Preview for authentik-storybook canceled.
| Name | Link |
|---|---|
| Latest commit | b4506b47ed48f3e0510b70c36bd301688375de4d |
| Latest deploy log | https://app.netlify.com/sites/authentik-storybook/deploys/66dca80ec7b2730008fd20b2 |
Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
Project coverage is 92.68%. Comparing base (
ae079ea) to head (b4506b4). Report is 15 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| authentik/root/celery.py | 0.00% | 2 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #11260 +/- ##
==========================================
- Coverage 92.74% 92.68% -0.07%
==========================================
Files 736 736
Lines 36435 36443 +8
==========================================
- Hits 33793 33776 -17
- Misses 2642 2667 +25
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 49.14% <0.00%> (-0.18%) |
:arrow_down: |
| integration | 25.00% <0.00%> (-0.01%) |
:arrow_down: |
| unit | 90.22% <0.00%> (+<0.01%) |
:arrow_up: |
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.
/cherry-pick version-2024.8