feat(integrations): Add Lilya integration#6801
Open
tarsil wants to merge 1 commit into
Open
Conversation
8b3f11b to
881d8e9
Compare
881d8e9 to
dc867d5
Compare
dc867d5 to
a372751
Compare
a372751 to
cc83058
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cc83058. Configure here.
Add first-class Lilya framework instrumentation for route transaction names, request data, handled HTTP exceptions, authenticated users, and middleware spans. Add end-to-end Lilya integration tests plus generated tox and CI matrix entries.
cc83058 to
c8fa784
Compare
Author
|
@sl0thentr0py apologies for tagging you but I don't want this to get lost here since this is a framework that is actually being used by some financial institutions worldwide and I always workaround to make it work but it would be great if we could natively have this in sentry? |
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.

Description
Add first-class Lilya framework integration with automatic ASGI instrumentation, route-based transaction names, handled HTTP exception capture, request data extraction, authenticated user propagation, and optional middleware spans.
The integration uses Lilya-native hooks only, registers the
lilyaextra and typing dependency, and adds generated tox/CI coverage for Lilya 0.27.0.Validated with:
uv run tox -e py3.14-lilya-v0.27.0uv run tox -e py3.14-lilya-latestuv run ruff check sentry_sdk/integrations/lilya.py sentry_sdk/integrations/asgi.py tests/integrations/lilya/test_lilya.pyuv run ruff format --check sentry_sdk/integrations/lilya.py sentry_sdk/integrations/asgi.py tests/integrations/lilya/test_lilya.py