Skip to content

fix: task run exception never catch by Sentry - #65161

Merged
jscheffl merged 9 commits into
apache:mainfrom
EpicFail4Ever:fix/sentry-error-catching
Jun 7, 2026
Merged

jscheffl merged 9 commits into
apache:mainfrom
EpicFail4Ever:fix/sentry-error-catching

Conversation

@EpicFail4Ever

@EpicFail4Ever EpicFail4Ever commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

Hello, here is the PR linked with the issue #65136
closes: #65136

  • managing the error caching returned by the run itself.
  • Adding the call of sentry_sdk.capture_exception in the unit tests

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@eladkal eladkal changed the title Sentry error catching fix: task run exception never catch by Sentry Apr 13, 2026
@eladkal eladkal added this to the Airflow 3.2.1 milestone Apr 13, 2026
@Srabasti

Copy link
Copy Markdown
Contributor

Static checks are failing. Please run prek locally in your branch before committing to repo.

@Srabasti Srabasti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly replace single quotes with double quotes @EpicFail4Ever to fix - this is one of the places static checks are failing.

@EpicFail4Ever

Copy link
Copy Markdown
Contributor Author

@EpicFail4Ever
EpicFail4Ever requested a review from Srabasti April 14, 2026 12:58
@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label Apr 22, 2026
@vatsrahul1001

Copy link
Copy Markdown
Contributor

@EpicFail4Ever can you resolve conflicts?

@EpicFail4Ever

Copy link
Copy Markdown
Contributor Author

Hello @vatsrahul1001.
It should be fine now.

@potiuk potiuk removed the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label May 18, 2026
@potiuk
potiuk marked this pull request as draft May 18, 2026 10:48
@potiuk

potiuk commented May 18, 2026

Copy link
Copy Markdown
Member

@EpicFail4Ever — Removing the ready for maintainer review label and converting back to draft. CI has failed since the label was added (1 failing checks).

The label's contract is that the PR is ready for maintainer review — a regression like this means the PR temporarily isn't. Check the failing checks, fix the regression, push, then mark "Ready for review" again to re-enter the queue.

See the Pull Request quality criteria.

No rush.


Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you.

@EpicFail4Ever
EpicFail4Ever marked this pull request as ready for review May 26, 2026 07:45
@EpicFail4Ever

EpicFail4Ever commented May 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Hello !
I tryed several things to investigate the CI error locally however it's a total smog for me. I don't get what could go wrong here.
I'll need some maintainer support to got further here...

@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label Jun 3, 2026
@jscheffl
jscheffl dismissed Srabasti’s stale review June 7, 2026 11:42

No response on re-review request

@jscheffl

jscheffl commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Branch is a bit stale, for safetly running CI again, then LGTM.

@jscheffl
jscheffl merged commit d299b68 into apache:main Jun 7, 2026
193 of 194 checks passed
@boring-cyborg

boring-cyborg Bot commented Jun 7, 2026

Copy link
Copy Markdown

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-2-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-2-test Commit Link

You can attempt to backport this manually by running:

cherry_picker d299b68 v3-2-test

This should apply the commit to the v3-2-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task run exception never catch by Sentry

7 participants