You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jason810496 (via GitHub)" <gi...@apache.org> on 2026/09/08 04:41:05 UTC
[I] Make Java SDK context signal-aware [airflow]
jason810496 opened a new issue, #72680:
URL: https://github.com/apache/airflow/issues/72680
```
┌──────────────────────┬───────────────────────────────────────────────────────┬───────────────────────────────────────────────────────┬───────────────────────────────────────────┐
│ │ Go │ TS │ JVM │
├──────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────┤
│ context object │ sdk.TIRunContext embeds context.Context │ TaskContext with readonly signal: AbortSignal │ data class Context(dagRun, ti) — nothing │
│ │ │ │ else │
├──────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────┤
│ cancellation source │ signal.NotifyContext(ctx, SIGINT, SIGTERM) — │ AbortController over ["SIGTERM","SIGINT"] — │ none found in the whole sdk module │
│ │ server.go:89 │ runtime.ts:149 │ │
├──────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────┤
│ reaches the task │ yes — task.Execute(ctx, …) │ yes — ctx.signal │ no │
│ body? │ │ │ │
└──────────────────────┴───────────────────────────────────────────────────────┴───────────────────────────────────────────────────────┴───────────────────────────────────────────┘
```
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Make Java SDK context signal-aware [airflow]
Posted by "garvit-arora (via GitHub)" <gi...@apache.org>.
garvit-arora commented on issue #72680:
URL: https://github.com/apache/airflow/issues/72680#issuecomment-5898116678
Hi, I'd like to work on this issue. Plan: trap SIGINT/SIGTERM in the Java task runner (matching Go/TS SDK behavior), expose cancellation through `Context` so task code can cooperatively stop, and add regression tests. I'll open a PR shortly.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Make Java SDK context signal-aware [airflow]
Posted by "jason810496 (via GitHub)" <gi...@apache.org>.
jason810496 closed issue #72680: Make Java SDK context signal-aware
URL: https://github.com/apache/airflow/issues/72680
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org