Adityakk9031 opened a new pull request, #69504: URL: https://github.com/apache/airflow/pull/69504
### Motivation A regression in the Task SDK prevented the `[sentry] before_send` and `[sentry] transport` configuration options (when set to dotted-path strings) from being resolved to their actual callables. Instead, they were passed as raw strings to `sentry_sdk.init()`, which led to Sentry silently dropping all events. This PR ensures that these configuration options are unconditionally resolved using `conf.getimport` to callable objects before initializing the Sentry SDK. Additionally, this PR fixes minor cross-platform issues to enable running the test suite on Windows development environments: - Guarded the POSIX-only `os.register_at_fork` metric reset function. - Mocked the POSIX-only `fcntl` module at test execution time on Windows. - Enforced UTF-8 encoding in `read_text()` calls within the prek helper script to prevent decode errors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
