jscheffl commented on code in PR #66292:
URL: https://github.com/apache/airflow/pull/66292#discussion_r3178293448


##########
providers/edge3/src/airflow/providers/edge3/cli/worker.py:
##########
@@ -327,7 +329,22 @@ async def _enforce_drain_timeout(self) -> bool:
     async def _get_sysinfo(self) -> dict[str, str | int | float | datetime]:
         """Produce the sysinfo from worker to post to central site."""
         sysinfo: dict[str, str | int | float | datetime] = {
-            "status": logging.INFO,
+            **(
+                {
+                    "status": logging.INFO,
+                }
+                if self.versions_match
+                else {
+                    "status": logging.WARNING,
+                    "status_text": "Version mismatch on Edge Worker",

Review Comment:
   Review feedback on message text:
   ```suggestion
                       "status_text": "Healthy but version mismatch",
   ```



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