You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2025/05/13 13:44:33 UTC
[I] Add fastAPI test coverage for `upstream_map_indexes` in execution API [airflow]
amoghrajesh opened a new issue, #50541:
URL: https://github.com/apache/airflow/issues/50541
### Body
https://github.com/apache/airflow/pull/49996 added support for returning `upstream_map_indexes` as response of the `/run` endpoint but there is no test coverage that checks if expected value is returned or not.
We should ideally cover it so that any regressions are caught.
### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add fastAPI test coverage for `upstream_map_indexes` in execution API [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #50541: Add fastAPI test coverage for `upstream_map_indexes` in execution API
URL: https://github.com/apache/airflow/issues/50541
--
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
Re: [I] Add fastAPI test coverage for `upstream_map_indexes` in execution API [airflow]
Posted by "anasatzemoso (via GitHub)" <gi...@apache.org>.
anasatzemoso commented on issue #50541:
URL: https://github.com/apache/airflow/issues/50541#issuecomment-3306754255
Can I work on this issue ?
--
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
Re: [I] Add fastAPI test coverage for `upstream_map_indexes` in execution API [airflow]
Posted by "anasatzemoso (via GitHub)" <gi...@apache.org>.
anasatzemoso commented on issue #50541:
URL: https://github.com/apache/airflow/issues/50541#issuecomment-3310853216
I looked into this and found that there’s already a parameterized test `(test_ti_run)` for the `/execution/task-instances/{ti.id}/run` endpoint. It patches `_get_upstream_map_indexes` and asserts that the `upstream_map_indexes` field is returned in the response with the expected structure across multiple scenarios (ints, lists, None, mixed types).
This seems to cover the gap mentioned in the issue — verifying that the field is returned correctly in the API response. Could you confirm if this is the intended scope, or if there’s anything additional expected here?
--
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