=== 2026-11-27T00:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=152
[RACE API] FAIL - status=502 durationMs=152
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (162ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=152
[RACE API] FAIL - status=502 durationMs=152
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (161ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (161ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (161ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 00:00 UTC" (<3d762c8e-764a-c607-88f8-601cae51f09f@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWjNq-0000000Diej-0ypC"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T01:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=158
[RACE API] FAIL - status=502 durationMs=158
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (169ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=154
[RACE API] FAIL - status=502 durationMs=154
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (163ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (162ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (160ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 01:00 UTC" (<e93b13b4-df7c-9097-d467-9fc0ebde2c93@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWkJu-0000000DpFH-123j"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T02:00:02Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=151
[RACE API] FAIL - status=502 durationMs=151
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (160ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=150
[RACE API] FAIL - status=502 durationMs=150
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (158ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (162ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (162ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 02:00 UTC" (<6e68ff7c-d71a-c17e-ae9b-a803795a21a4@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWlFz-0000000DvtT-0iwH"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T03:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=156
[RACE API] FAIL - status=502 durationMs=156
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (166ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=153
[RACE API] FAIL - status=502 durationMs=153
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (162ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (161ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (163ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 03:00 UTC" (<0925646a-deb1-b061-3d38-d766d24584f7@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWmC2-0000000E2Ms-1BJG"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T04:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=154
[RACE API] FAIL - status=502 durationMs=154
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (163ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=150
[RACE API] FAIL - status=502 durationMs=150
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (159ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (159ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (161ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 04:00 UTC" (<a19ed459-edb2-194b-a7c0-86a0db985410@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWn86-0000000E8we-1ZfB"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T05:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=154
[RACE API] FAIL - status=502 durationMs=154
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (163ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=151
[RACE API] FAIL - status=502 durationMs=151
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (160ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (165ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (167ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 05:00 UTC" (<60201d00-222a-fef1-2706-4a6b57b93b63@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWo4A-0000000EGvn-2NT1"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T06:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=502 durationMs=183
[RACE API] FAIL - status=502 durationMs=183
  ✘  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (192ms)
◇ injected env (0) from .env
[RACE API] status=502 durationMs=154
[RACE API] FAIL - status=502 durationMs=154
  ✘  2 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (retry #1) (163ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (163ms)
◇ injected env (0) from .env
[RACE API] negative test status=502
  ✘  4 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (retry #1) (162ms)


  1) [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected HTTP 200 but got 502

    expect(received).toBe(expected) // Object.is equality

    Expected: 200
    Received: 502

      103 |       await attachContext(testInfo, result);
      104 |       console.log(`[RACE API] FAIL - status=${result.status ?? -1} durationMs=${result.durationMs ?? -1}`);
    > 105 |       throw new Error(error instanceof Error ? redact(error.message) : String(error));
          |             ^
      106 |     }
      107 |   });
      108 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:105:13

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-b0ca3-ge-within-the-latency-limit-api-retry1/error-context.md

  2) [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: Expected 401/403 for an invalid key but got 502

    expect(received).toContain(expected) // indexOf

    Expected value: 502
    Received array: [401, 403]

      111 |     console.log(`[RACE API] negative test status=${result.status}`);
      112 |     if (![401, 403].includes(result.status)) await attachContext(testInfo, result);
    > 113 |     expect([401, 403], `Expected 401/403 for an invalid key but got ${result.status}`).toContain(result.status);
          |                                                                                        ^
      114 |   });
      115 | });
      116 |
        at /home3/uatservers/public_html/cron.studyineurope.xyz/tests/api/race-api.spec.ts:113:88

    attachment #2: race-api-response-body (text/plain) ─────────────────────────────────────────────
    <html>
    <head><title>502 Bad Gateway</title></head>
    <body>
    <center><h1>502 Bad Gateway</h1></center>
    <hr><center>nginx/1.24.0 (Ubuntu)</center>
    </body>
    </html>
    
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

    Error Context: test-results/race-api-RACE-API---Chat-C-9b29c-nvalid-API-key-with-401-403-api-retry1/error-context.md

  2 failed
    [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit 
    [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 
[report] sent "[FAIL] API DOWN - RACE API - 2026-11-27 06:00 UTC" (<928f5bba-d4f4-e742-2fa6-4ea8b7d368b1@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWp0E-0000000EO7z-2TDu"
=== run end: tests_rc=1 report_rc=0 ===
=== 2026-11-27T07:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=654
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (662ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 07:00 UTC" (<62ea2b08-b73c-d202-1a35-392febd7fd8d@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWpwG-0000000EVOy-2uNZ"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T08:00:02Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=646
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (654ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 08:00 UTC" (<2333e0c1-df2e-8687-59d0-4c5f274e8dce@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWqsL-0000000Ecey-19RM"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T09:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=657
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (665ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 09:00 UTC" (<df856be2-2ca9-2cc8-f8ae-3467e07e013b@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWroO-0000000EjhC-2Xp4"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T10:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=614
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (623ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 10:00 UTC" (<eb67c415-2cc3-ea18-a2f0-25c355a525c6@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWskS-0000000EqWH-21Fr"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T11:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=565
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (573ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 11:00 UTC" (<a344637a-ba2f-6784-9c0a-2a8b7bcbecfc@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWtgW-0000000ExvY-2MQ7"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T12:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=730
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (738ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.5s)
[report] sent "[PASS] RACE API - 2026-11-27 12:00 UTC" (<89aa19f2-1003-5699-a59b-d29f687e6d6a@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWuca-0000000F7LV-3BTH"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T13:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=571
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (579ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 13:00 UTC" (<7fb2276f-bc8e-5fa3-1a2a-3a4da3988eb3@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWvYf-0000000FGdr-0WB2"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T14:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=680
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (690ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (48ms)

  2 passed (1.5s)
[report] sent "[PASS] RACE API - 2026-11-27 14:00 UTC" (<f3783695-55fa-7a87-bb65-dec8dcfd266b@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWwUi-0000000FPXc-4A1D"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T15:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=606
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (618ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (49ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 15:00 UTC" (<acbab1e5-9ea5-d978-2bef-48d6245328e9@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWxQm-0000000FXIA-25dA"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T16:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=672
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (680ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (45ms)

  2 passed (1.5s)
[report] sent "[PASS] RACE API - 2026-11-27 16:00 UTC" (<c396865b-66cd-49e0-d526-25da4d14fb86@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWyMq-0000000Fe6S-2IZH"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T17:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=548
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (556ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.3s)
[report] sent "[PASS] RACE API - 2026-11-27 17:00 UTC" (<4dba9b1e-d4e0-0b08-5190-9223d9505c7c@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xWzIu-0000000Fl0r-2WzH"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T18:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=648
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (656ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 18:00 UTC" (<1c772c3c-424c-e2ba-aca5-3cdd9ed07282@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX0Ez-0000000Fs5L-0BwL"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T19:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=645
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (653ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (48ms)

  2 passed (1.5s)
[report] sent "[PASS] RACE API - 2026-11-27 19:00 UTC" (<26f4a667-587d-81c4-661c-46deac9f44a9@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX1B2-0000000Fyc6-2tXD"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T20:00:02Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=616
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (623ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 20:00 UTC" (<df0b3360-5c11-da09-4414-0da5836b6e0c@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX277-0000000G58E-1R8T"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T21:00:02Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=649
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (657ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 21:00 UTC" (<5a7a398c-4b56-08fb-4329-e14fa1daadef@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX33B-0000000GBfZ-1Yre"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T22:00:02Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=647
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (655ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 22:00 UTC" (<14f156b1-cb99-1364-6998-1bb670e389d6@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX3zF-0000000GHq1-1Eil"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-27T23:00:01Z run start ===
◇ injected env (12) from .env

Running 2 tests using 1 worker

◇ injected env (0) from .env
[RACE API] status=200 durationMs=606
[RACE API] PASS - received valid assistant response
  ✓  1 [api] › tests/api/race-api.spec.ts:72:7 › RACE API - Chat Completion Health Check › responds with a valid assistant message within the latency limit (618ms)
[RACE API] negative test status=401
  ✓  2 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (47ms)

  2 passed (1.4s)
[report] sent "[PASS] RACE API - 2026-11-27 23:00 UTC" (<a163c5dd-b95c-5eb2-ba2f-b1a5def641fe@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xX4vI-0000000GNus-2kbX"
=== run end: tests_rc=0 report_rc=0 ===
