Repository navigation
core: run debugpy within worker process so it's DAP-attachable again - #23401
Merged
Merged
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #23401 +/- ##
==========================================
- Coverage 93.29% 93.24% -0.05%
==========================================
Files 1037 1037
Lines 60555 60556 +1
Branches 400 400
==========================================
- Hits 56497 56468 -29
- Misses 4058 4088 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
rissson
approved these changes
Jun 25, 2026
kensternberg-authentik
added a commit
that referenced
this pull request
Jun 25, 2026
* main: (27 commits) website/integrations: Planka: cleanup (#23332) website/integrations: SharePoint Server SE: cleanup (#23335) core: run debugpy within worker process so it's DAP-attachable again (#23401) core, web: update translations (#23373) core: bump library/golang from `bbf22dd` to `76a2924` in /lifecycle/container (#23380) core: bump library/node from `191ef87` to `f9b8bd6` in /lifecycle/container (#23378) core: bump library/nginx from `42f2d24` to `ec4ed8b` in /website (#23382) core: bump library/node from `3c05c2c` to `15797fb` in /website (#23383) core: bump goauthentik/fips-python from `c54ab1b` to `fe20a68` in /lifecycle/container (#23379) website/docs: fix 2026.5 release notes mentioning docker-compose.yml (#23385) website/docs: fix 2026.2 release notes docker compose mention take 2 (#23388) website/docs: clean up source docs (#23374) website/api: debug build issues (#23392) core: preserve encoded avatar URLs (#23225) website/integrations: add ExcaliDash integration (#23375) website/docs: sources: remove support_level labels from docs (#23389) website/integrations: Zabbix: cleanup (#23271) fix release notes docker compose mention (#23386) core: bump goauthentik/fips-debian and fips-python in /lifecycle/container (#23362) root: Fix SECURITY.md versions (#23370) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jun 25, 2026
* web/css/enabling-layers: (27 commits) website/integrations: Planka: cleanup (#23332) website/integrations: SharePoint Server SE: cleanup (#23335) core: run debugpy within worker process so it's DAP-attachable again (#23401) core, web: update translations (#23373) core: bump library/golang from `bbf22dd` to `76a2924` in /lifecycle/container (#23380) core: bump library/node from `191ef87` to `f9b8bd6` in /lifecycle/container (#23378) core: bump library/nginx from `42f2d24` to `ec4ed8b` in /website (#23382) core: bump library/node from `3c05c2c` to `15797fb` in /website (#23383) core: bump goauthentik/fips-python from `c54ab1b` to `fe20a68` in /lifecycle/container (#23379) website/docs: fix 2026.5 release notes mentioning docker-compose.yml (#23385) website/docs: fix 2026.2 release notes docker compose mention take 2 (#23388) website/docs: clean up source docs (#23374) website/api: debug build issues (#23392) core: preserve encoded avatar URLs (#23225) website/integrations: add ExcaliDash integration (#23375) website/docs: sources: remove support_level labels from docs (#23389) website/integrations: Zabbix: cleanup (#23271) fix release notes docker compose mention (#23386) core: bump goauthentik/fips-debian and fips-python in /lifecycle/container (#23362) root: Fix SECURITY.md versions (#23370) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This reinstates the ability to attach a debugger to the worker process via DAP. Additionally, worker's debugpy now listens on a separate port, so both the web server and worker can be debugged simultaneously.
What does this PR change?
start_debug_serveris now called at the worker's entry point and a port offset is introduced so that worker(s) can listen for the debugger on a port(s) distinct from the web server.Why is this change needed?
The ability to attach a debugger to the worker process was lost at some point (despite still being in the docs).
How was this tested?
Verified that you can now attach to the worker via DAP.
Checklist
make all)make docs)