amoghrajesh commented on code in PR #54449: URL: https://github.com/apache/airflow/pull/54449#discussion_r2295133201
########## airflow-core/src/airflow/dag_processing/processor.py: ########## @@ -409,6 +409,10 @@ def _handle_request(self, msg: ToManager, log: FilteringBoundLogger, req_id: int elif isinstance(msg, GetVariable): var = self.client.variables.get(msg.key) if isinstance(var, VariableResponse): + if var.value: + from airflow.sdk.log import mask_secret + + mask_secret(var.value, var.key) Review Comment: Not a UT but a manual one fails, covering it in https://github.com/apache/airflow/issues/54859 too -- 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-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org