Nandann018-ux opened a new pull request, #62454: URL: https://github.com/apache/airflow/pull/62454
What changed Added validation to reject out-of-range --map-index for mapped tasks in airflow tasks commands. Added a unit test for tasks render to ensure out-of-range indexes raise TaskInstanceNotFound. Added a newsfragment. Why Passing a map index beyond the mapped task count currently creates a TaskInstance that can never exist, leading to confusing behavior for CLI users. Validating bounds up front provides a clear, consistent error and avoids creating invalid rows. Testing Not run (should use breeze): [test_task_command.py -xvs](app://-/index.html#) Notes Replace the 00000 in [00000.bugfix.rst](app://-/index.html#) with the actual PR number. -- 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]
