Skip to content

KubernetesPodTrigger: add exception stack trace in TriggerEvent#35716

Merged
potiuk merged 4 commits into
apache:mainfrom
functicons:main
Dec 16, 2023
Merged

KubernetesPodTrigger: add exception stack trace in TriggerEvent#35716
potiuk merged 4 commits into
apache:mainfrom
functicons:main

Conversation

@functicons

@functicons functicons commented Nov 18, 2023

Copy link
Copy Markdown
Contributor

#34644


In deferrable mode, the current logs are not sufficient to debug issues happened in the trigger or hook, so adding stack trace and log the event in the operator callback method.

@boring-cyborg boring-cyborg Bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Nov 18, 2023
@functicons functicons changed the title KubernetesPodTrigger: add stacktrace to trigger event message KubernetesPodTrigger: add stacktrace to event message Nov 18, 2023
@functicons functicons changed the title KubernetesPodTrigger: add stacktrace to event message KubernetesPodTrigger: add stack trace to TriggerEvent Nov 18, 2023
@functicons functicons changed the title KubernetesPodTrigger: add stack trace to TriggerEvent KubernetesPodTrigger: add exception stack trace in TriggerEvent Nov 18, 2023
Comment thread airflow/providers/cncf/kubernetes/operators/pod.py Outdated
@functicons
functicons requested a review from eladkal November 27, 2023 23:01
@functicons

Copy link
Copy Markdown
Contributor Author

@jedcunningham and @hussein-awala, could you review this PR? Thank you in advance!

@functicons

Copy link
Copy Markdown
Contributor Author

Friendly ping! Thanks!

@apilaskowski

Copy link
Copy Markdown
Contributor

@hussein-awala @jedcunningham can chime in, please?

@functicons
functicons requested a review from potiuk December 15, 2023 22:26

@hussein-awala hussein-awala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, LGTM!

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

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants