amoghrajesh commented on PR #76833:
URL: https://github.com/apache/airflow/pull/76833#issuecomment-7081936813

   > A few points outside the diff:
   > 
   > * `KubernetesPodOperator`, `MSGraphAsyncOperator` and `AgentOperator` 
support durable execution without the mixin, so they never get a banner. Fine 
as a follow-up, but the docs should say the banner only covers 
`ResumableJobMixin` operators.
   > * The deferrable path `resumable-job-mixin.rst` documents 
(`get_resume_decision` + `persist_job_id`) never writes the record, and 
`_record_try` is private, so a third-party operator following the docs can't 
get the banner.
   > * `task-state-store.rst` still says every key is visible through the REST 
API and UI. Could it mention the `__airflow_` prefix and `include_reserved`?
   > * Clear all in the Task State Store tab still deletes the hidden key, 
since the DELETE route doesn't filter, and it doesn't invalidate the durable 
query, so the banner keeps showing the deleted record until its `staleTime` 
runs out.
   > * The description says the key shows up in the Task State Store tab, but 
the tab hides it now.
   
   1. Added a "Durable execution banner" section to resumable-job-mixin.rst 
saying only ResumableJobMixin operators show it, naming the three that don't.
   2. `get_resume_decision` now records a reconnect or already succeeded 
decision, so operators on the documented deferrable path get the banner. A 
deferring operator's outcome is still not recorded after the Triggerer fires, 
so its banner shows no status once the try ends; recording that from 
`execute_complete` needs a public hook, which I'll do as a follow-up.
   3. `task-state-store.rst` now has a note on `__airflow_` keys: hidden from 
the list endpoint and the tab, shown with `include_reserved=true`, and not to 
be used for user keys.
   4. "Clear all" still deletes every key, including the hidden record, but it 
now refreshes the banner right away, and the confirm dialog says it removes the 
durable execution history.
   
   


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