You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/09/18 04:08:15 UTC

[I] Bind Execution API token reissue to the task-instance lifecycle [airflow]

potiuk opened a new issue, #73303:
URL: https://github.com/apache/airflow/issues/73303

   ### Description
   
   The Execution API issues a JWT to a running task and will reissue it on refresh for as long as the token presented is still valid. The reissue path is not bound to the lifecycle of the task instance the token was minted for, so a token can continue to be renewed after the task instance it belongs to has reached a terminal state.
   
   This is a robustness gap rather than a privilege issue: the token carries no more authority than the task already had, and `docs/security/workload.rst` and `docs/security/security_model.rst` (updated in #72172) describe the trust boundary this sits inside. The improvement is simply that a credential minted for a unit of work should stop being renewable once that unit of work is over.
   
   ### Suggested shape
   
   On reissue, check that the task instance referenced by the token's claims is still in a non-terminal state, and decline the refresh otherwise. Existing tokens keep working until they expire, so the change is backward compatible within one token lifetime.
   
   ### Context
   
   Raised while reviewing the documentation change in #72172.
   


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "Kunal8954 (via GitHub) via commits" <co...@airflow.apache.org>.
Kunal8954 commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-6856322611

   @sjyangkevin take it bro 
   


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "kadubhumika (via GitHub)" <gi...@apache.org>.
kadubhumika commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-5760041235

   Hi @potiuk @shahar1 , I’d be interested in working on this issue.
   If it’s still available, could you please assign it to me or confirm that I can take it up?
   Once confirmed, I’ll investigate the implementation, add the necessary tests, and raise a PR. Thanks!


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "Kunal8954 (via GitHub)" <gi...@apache.org>.
Kunal8954 commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-5728231046

   hey @potiuk I would love work on this can you assign this to me?
   


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "kadubhumika (via GitHub)" <gi...@apache.org>.
kadubhumika commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-5760187064

   Hey @Kunal8954 , you're right I didn't notice that you'd already asked to take this issue. Sorry about that! Please go ahead with it. 👍Tho Srry BRO 


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "Kunal8954 (via GitHub)" <gi...@apache.org>.
Kunal8954 commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-5760225579

   > Hey [@Kunal8954](https://github.com/Kunal8954) , you're right I didn't notice that you'd already asked to take this issue. Sorry about that! Please go ahead with it. 👍Tho Srry BRO
   It's Okey and thanks too broo


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "Kunal8954 (via GitHub)" <gi...@apache.org>.
Kunal8954 commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-5760081272

   @kadubhumika That not fair my friend i already asked it him to assign the issue to me


-- 
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] Bind Execution API token reissue to the task-instance lifecycle [airflow]

Posted by "sjyangkevin (via GitHub) via commits" <co...@airflow.apache.org>.
sjyangkevin commented on issue #73303:
URL: https://github.com/apache/airflow/issues/73303#issuecomment-6787372780

   Hi @Kunal8954, I wonder if you're still working on this? I came across this issue and spent some time understanding and reproducing it with the help of Claude. Since there is no PR linked yet and the issue has been open for almost two months, I'd like to open a PR for it. If you already have work in progress, please let me know. I'm happy to hold off, or to help review yours instead. Thanks!
   
   This issue mentioned about task-instance lifecycle, but now we also have callback, both of them are "workloads" with similar logic in handling reissue. The PR also takes into account both.


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