Uh oh!
There was an error while loading. Please reload this page.
test(e2e): Port cloudflare-workers to span streaming and keep a static copy - #23855
Conversation
size-limit report 📦
|
8ae43ba to
16e2bf2Compare16e2bf2 to
867f31aCompare
Lms24
left a comment
There was a problem hiding this comment.
PR description says the streaming e2e test app is becoming the default but it seems like we're converting and renaming the streaming e2e test to static. Is this intentional?
JPeer264
commented
Sep 2, 2026
The GitHub diffing seems to be a little off. In the renames you see that it's also changing it to |
Lms24
left a comment
There was a problem hiding this comment.
ahh thanks for explaining! yeah I think the diff just threw me off. makes sense 👍
…c copy Renames cloudflare-workers to cloudflare-workers-static, which stays on traceLifecycle: 'static' with the transaction-based specs, so the static trace lifecycle keeps E2E coverage. cloudflare-workers-streaming becomes the new cloudflare-workers and drops its explicit 'stream' pin, so the app exercises the default lifecycle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
867f31a to
dcd3f79CompareUh oh!
There was an error while loading. Please reload this page.
Ports
cloudflare-workersto span streaming and keeps the static trace lifecycle covered, via two renames:cloudflare-workers→cloudflare-workers-static: verbatim, stays ontraceLifecycle: 'static'with the transaction-based specs. Only the app name changes (package.jsonname,proxyServerNameinstart-event-proxy.mjs, the proxy name in everywaitFor*call intests/, and the wrangler workername).cloudflare-workers-streaming→cloudflare-workers: same name changes, plus the explicittraceLifecycle: 'stream'pin is dropped so the app exercises the default lifecycle. Its basic-request test now also pins the segment name: the root path/is aroutesource, so the span keeps the fullGET /name under streaming.Renaming instead of copying keeps both apps' history followable and keeps the diff down to the name changes. Because the path
cloudflare-workersexists before and after, git pairs the rename as-streaming → -staticand showscloudflare-workersas modified; the file contents follow the two moves above.Side effect of the rename:
cloudflare-workersinherits the-streamingapp's active memory test (memory.test.ts, already running in CI for that app); the two skipped memory tests stay withcloudflare-workers-static.