karenbraganz commented on code in PR #53514:
URL: https://github.com/apache/airflow/pull/53514#discussion_r2240971305


##########
airflow-core/src/airflow/jobs/triggerer_job_runner.py:
##########
@@ -419,6 +429,14 @@ def _handle_request(self, msg: ToTriggerSupervisor, log: 
FilteringBoundLogger, r
                 dump_opts = {"exclude_unset": True, "by_alias": True}
             else:
                 resp = conn
+        elif isinstance(msg, DeleteVariable):
+            var = self.client.variables.delete(msg.key)
+            if isinstance(var, VariableResponse):
+                var_result = VariableResult.from_variable_response(var)
+                resp = var_result
+                dump_opts = {"exclude_unset": True}
+            else:
+                resp = var

Review Comment:
   @amoghrajesh I have made the requested changes. Also, I am not sure why some 
of the tests are failing due to a timeout. The same tests are passing when I 
run them locally (SQLite backend).
   
   <img width="948" height="302" alt="image" 
src="https://github.com/user-attachments/assets/736d2b1b-a4df-4637-b80f-a15a877165bb";
 />



-- 
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]

Reply via email to