jason810496 commented on code in PR #68390:
URL: https://github.com/apache/airflow/pull/68390#discussion_r3397359480
##########
airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -286,6 +286,11 @@ class TaskInstance(BaseModel):
map_index: int = -1
hostname: str | None = None
context_carrier: dict | None = None
+ # Defaults keep hand-built instances (tests, dry runs) valid; the executor
+ # workload always sends the real values.
+ queue: str = "default"
+ pool_slots: int = 1
+ priority_weight: int = 1
Review Comment:
The coordinator only needs the `queue` field from TI, it doesn't care the
`pool_slot` and `priority_weight` at all. Then I found that the Task-SDK
`TaskInstance` doesn't include the `queue` field. This is why I introduce
#67174 in the first place.
--
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]