You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Vamsi-klu (via GitHub)" <gi...@apache.org> on 2026/07/06 04:26:05 UTC
Re: [PR] Resolve dag versions once per scheduler loop [airflow]
Vamsi-klu commented on PR #69281:
URL: https://github.com/apache/airflow/pull/69281#issuecomment-4889070587
Nice scheduler cleanup. One thing I think we should align before merge: `get_latest_version()` currently defines latest by `created_at DESC`, but `get_latest_versions()` uses `max(version_number)`. If those can diverge, this changes which serialized Dag the scheduler resolves in the batched path. Could you either make the batch query match `_latest_version_select()` semantics, or add a test proving `version_number` is the intended source of truth here?
---
Drafted-by: Codex (GPT-5); reviewed by @Vamsi-klu before posting
--
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