Skip to content

Conversation

@uranusjr
Copy link
Member

@uranusjr uranusjr commented Oct 22, 2025

Fix #52368.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:task-sdk labels Oct 22, 2025
@uranusjr uranusjr force-pushed the sentry-in-sdk branch 12 times, most recently from 6a7a4f6 to 9d04993 Compare October 29, 2025 02:48
@uranusjr uranusjr marked this pull request as ready for review October 29, 2025 04:15
@uranusjr uranusjr force-pushed the sentry-in-sdk branch 2 times, most recently from 019ae56 to 9f40e52 Compare October 30, 2025 04:11
The integration logic is moved from core into task sdk so it can be run
at runtime. Things that used to rely on database access have been
rewritten to use the execution API instead.

Not yet applied to anything. Tests to come.
This is needed to reflect core dep changes since we've removed Sentry
(and its Flask integration) from core.
Sentry tends to mess with logging (seems to be related to the debug
helpers it runs AT IMPORT TIME), which in turn messes up out supervisor
tests.

The Sentry integration tests are now rewritten to not actually use the
Sentry SDK at all to avoid this issue. The problem now is I have no real
way to actually know if the integration actually works anymore. We'll
need to figure that out in another way.
The Sentry integration need to not import other parts at top-level.
@uranusjr uranusjr merged commit 101f1ac into apache:main Nov 4, 2025
414 of 415 checks passed
@uranusjr uranusjr deleted the sentry-in-sdk branch November 4, 2025 12:41
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:task-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errors are not sent to Sentry in Airflow 3.0.2

4 participants