Conversation
|
commit: |
📦 Preview BuildVersion: Install the SDK preview:
|
81d1faa to
fb556aa
Compare
da7ba83 to
861ef20
Compare
|
/bonk rebase this branch |
Unconditionally passing keepAlive: false triggers setKeepAlive(false) → renewActivityTimeout(), resetting the sleepAfter countdown on every request when the Worker isolate recycles and the configuration cache is cold.
Replace fetchOrTimeout with fetchWithRetry for boot-time resilience. Default sleepAfter to 1m across all test sandboxes. Send routing headers on every request and set sleepAfter as a separate post-boot call. Add short timeouts to cleanup requests so teardown never hangs.
AbortSignal.timeout on every fetch call ensures individual requests fail fast instead of hanging until the test-level timeout fires.
await expect(res.json()).resolves.toEqual() surfaces the actual response body in failure messages instead of a rejected-promise error, making CI failures easier to diagnose.
8bae6cc to
0baca24
Compare
|
Rebase complete. The
|
This makes it easier to see which part of the test was slow vs. the entire test failing due to timeout.
Also updated the response body assertions to use
expect(body).resolves.toEqual(...), this then makes it easier to see what the response body actually looked like on failure.