ashb commented on code in PR #68390:
URL: https://github.com/apache/airflow/pull/68390#discussion_r3396703494
##########
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:
@jason810496 @uranusjr Why do the coordinators even need these pool_slot and
priority_weight values? Shouldn't this be the responsibilty of the scheduler,
and if it makes it to the worker it should be executed regardless?
--
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]