jason810496 commented on code in PR #75932:
URL: https://github.com/apache/airflow/pull/75932#discussion_r4410558829
##########
airflow-core/src/airflow/api_fastapi/execution_api/AGENTS.md:
##########
@@ -32,6 +32,7 @@ uv run --active --group codegen --project
apache-airflow-task-sdk --directory ta
- Don't use keyword arguments with `endpoint()` — use positional:
`endpoint("/path", ["GET"])`.
- Don't add changes to already-released version files.
- Don't forget response converters for new fields in nested objects.
+- Don't load the serialized Dag on a per-task hot path such as `ti_run`: read
the value from a `task_instance` column, or gate the load behind one as
`ti.is_stub` does.
Review Comment:
```suggestion
- Don't load the serialized Dag on a per-task hot path such as `ti_run`:
introduce a dedicated column on `task_instance` and read there instead.
```
--
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]