=== 2026-11-16T00: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=497
[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 (505ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 00:00 UTC" (<4350ffb1-7827-0bdf-7b71-3dce11f44d0c@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSk8k-00000009lO9-1gvk"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T01: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=500
[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 (508ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 01:00 UTC" (<b98e46cf-ce42-be39-ceee-db838659052a@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSl4p-00000009rYg-0jEw"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T02: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=395
[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 (403ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 02:00 UTC" (<2c231139-889c-b44f-ecda-ac19dca03fe6@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSm0s-00000009yle-1j3F"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T03: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=498
[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 (507ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 03:00 UTC" (<39d29b1b-cc93-9a55-cc28-c82ae48c6e5f@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSmww-0000000A6te-3q24"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T04: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=462
[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 (471ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 04:00 UTC" (<3d68543a-9760-6262-6b17-cdd023285505@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSnt1-0000000AKYP-0dp8"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T05: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=494
[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 (501ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 05:00 UTC" (<ef07210a-ceb3-ea9d-33d3-1a22fa0d83c6@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSop5-0000000AbPq-0cfa"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T06: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=723
[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 (732ms)
[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-16 06:00 UTC" (<b0e1fc33-acad-5d69-d874-b9eea0fa1c02@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSpl9-0000000AmXE-3MTL"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T07: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=445
[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 (453ms)
[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.3s)
[report] sent "[PASS] RACE API - 2026-11-16 07:00 UTC" (<360b193b-91b7-d96c-fd3f-330174f9d6aa@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSqhC-0000000Avgx-3T1Y"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T08: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=446
[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 (454ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 08:00 UTC" (<4399a64e-58c5-6115-c757-de94f0e16eee@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSrdH-0000000B5qY-0cjA"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T09: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=420
[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 (430ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 09:00 UTC" (<8b5a1fc0-3253-6b4b-e1dd-28a34e0d8046@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSsZL-0000000BFdx-2xcX"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T10: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=400
[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 (408ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 10:00 UTC" (<df8688fa-179e-0249-db34-5e6f15c574b3@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xStVP-0000000BQBn-1rHn"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T11: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=423
[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 (431ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 11:00 UTC" (<312ef7b0-9f47-d9e6-5178-2ce46fb8bb62@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSuRS-0000000Ba5B-3NWi"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T12: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=451
[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 (459ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 12:00 UTC" (<a39cbf7c-8ec0-0119-b5c0-16e0d81619a4@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSvNW-0000000BmPO-3x3L"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T13: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=1451
[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 (1.5s)
[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 (2.3s)
[report] sent "[PASS] RACE API - 2026-11-16 13:00 UTC" (<778160be-33fe-d740-e873-d0d79c0f2758@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSwJb-0000000C1qo-3GlD"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T14: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=437
[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 (446ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 14:00 UTC" (<46f8054b-eaec-5544-e9d3-761fcaa41b19@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSxFf-0000000CF8Z-0wBH"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T15: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=394
[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 (402ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 15:00 UTC" (<f208c433-80e4-ab41-b257-1ef4c20a8fab@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSyBi-0000000CODy-3YQ1"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T16: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=441
[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 (449ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 16:00 UTC" (<06dc241c-fb24-0ffa-ce1e-e49c433387bb@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xSz7n-0000000CWRW-2zEW"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T17: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=482
[RACE API] FAIL - status=200 durationMs=482
  ✘  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 (495ms)
◇ injected env (0) from .env
[RACE API] status=200 durationMs=434
[RACE API] PASS - received valid assistant response
  ✓  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) (443ms)
[RACE API] negative test status=401
  ✓  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)


  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: Assistant message content should be a string

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

    Expected: "string"
    Received: "object"

      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) ─────────────────────────────────────────────
    {"id":"chatcmpl-a55e3d64f1953279","object":"chat.completion","created":1794848403,"model":"gpt-oss-120b","choices":[{"index":0,"message":{"role":"assistant","content":null,"refusal":null,"annotations":null,"audio":null,"function_call":null,"reasoning":"We need to respond in character. The assistant ...
    ────────────────────────────────────────────────────────────────────────────────────────────────

    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

  1 flaky
    [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 
  1 passed (2.5s)
[report] sent "[PASS (flaky)] RACE API - 2026-11-16 17:00 UTC" (<380eadc1-5507-5b7a-3aaa-b412c84e1d2f@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT03s-0000000CdA0-1zy9"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T18: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=386
[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 (394ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 18:00 UTC" (<d4c750e8-c3bf-221a-e982-4c2bc9642d0a@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT0zv-0000000CkvL-2VH3"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T19: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=425
[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 (433ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 19:00 UTC" (<c3648eb8-0cb7-87d0-8c30-453578e9fbf3@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT1vz-0000000Cs11-0eaZ"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T20: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=421
[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 (429ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 20:00 UTC" (<9f8b2b1e-eee6-f10d-6012-66804e3d25a8@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT2s3-0000000CyJ0-1zYH"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T21: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=425
[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 (434ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 21:00 UTC" (<82b26ffe-456b-d010-1e89-81d6ce4bb18a@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT3o7-0000000D40t-07tI"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T22: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=419
[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 (428ms)
[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.2s)
[report] sent "[PASS] RACE API - 2026-11-16 22:00 UTC" (<a66d5d96-a9a5-aacc-1c4d-91062cfbed6b@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT4kB-0000000D9HQ-0Fos"
=== run end: tests_rc=0 report_rc=0 ===
=== 2026-11-16T23: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=496
[RACE API] FAIL - status=200 durationMs=496
  ✘  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 (509ms)
◇ injected env (0) from .env
[RACE API] status=200 durationMs=390
[RACE API] PASS - received valid assistant response
  ✓  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) (398ms)
[RACE API] negative test status=401
  ✓  3 [api] › tests/api/race-api.spec.ts:109:7 › RACE API - Chat Completion Health Check › rejects an invalid API key with 401/403 (46ms)


  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: Assistant message content should be a string

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

    Expected: "string"
    Received: "object"

      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) ─────────────────────────────────────────────
    {"id":"chatcmpl-af0c2d00ae13f33d","object":"chat.completion","created":1794870003,"model":"gpt-oss-120b","choices":[{"index":0,"message":{"role":"assistant","content":null,"refusal":null,"annotations":null,"audio":null,"function_call":null,"reasoning":"We need to respond in the style guidelines. The...
    ────────────────────────────────────────────────────────────────────────────────────────────────

    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

  1 flaky
    [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 
  1 passed (2.4s)
[report] sent "[PASS (flaky)] RACE API - 2026-11-16 23:00 UTC" (<4dab44a5-80c6-8e8a-3adb-22ae679f6a1c@rhysley.com>)
[report] accepted=["kunal.kumar@rhysley.com"] rejected=[] server="250 OK id=1xT5gG-0000000DFIg-1ajE"
=== run end: tests_rc=0 report_rc=0 ===
