amoghrajesh commented on code in PR #76375:
URL: https://github.com/apache/airflow/pull/76375#discussion_r4463745891
##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/variables.py:
##########
@@ -147,6 +148,7 @@ def get_variable(
status.HTTP_403_FORBIDDEN: {"description": "The caller does not have
access to the variable"},
},
)
+@allow_non_ti_writer
Review Comment:
Added `.execution_options(include_all_attempts=True)` to
`_team_name_for_ti_stmt`, so an archived attempt resolves its own team for
Variable writes (and xcom access checks).
`test_archived_attempt_writes_variable_to_its_team` covers it and fails without
the change.
--
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]