Copilot commented on code in PR #77379:
URL: https://github.com/apache/airflow/pull/77379#discussion_r4667499671


##########
ts-sdk/tests/coordinator/integration.test.ts:
##########
@@ -413,6 +413,23 @@ describe("coordinator runtime integration", () => {
     });
   });
 
+  it.each([
+    [undefined, "undefined"],
+    [null, "null"],
+    ["disk full", "disk full"],
+    [{ message: "quota exceeded", code: 429 }, "quota exceeded"],

Review Comment:
   Please also cover an object with a non-string `message`, such as `{ message: 
429 }`, and assert the fallback retry reason `"[object Object]"`. The new 
string-type guard prevents this value from reaching `message.slice(...)`, but 
the current cases would still pass if that guard were replaced with 
nullish-coalescing logic.



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