jason810496 opened a new pull request, #68349:
URL: https://github.com/apache/airflow/pull/68349

   - related: https://github.com/apache/airflow/pull/68271
   - docs side: https://github.com/apache/airflow/pull/68319
   
   ## Why
   
   As mentioned by @ashb and @amoghrajesh in 
https://github.com/apache/airflow/pull/68319 that the previous `runtimeContext 
:= sdk.CurrentContext(ctx)` was unclear and ambiguous. 
   
   ## What
   
   Change the user interface as `func extract(ctx sdk.TIRunContext, client 
sdk.Client, log *slog.Logger) (any, error) {` but the injection mechanism still 
able to recognize the Edge Worker compatible `func extract(ctx context.Context, 
client sdk.Client, log *slog.Logger) (any, error) {`-style function interface.
   
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [x] Yes, with help of Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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]

Reply via email to