Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/suppress-code-moved-logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@cloudflare/vitest-pool-workers": patch
---

Suppress `CODE_MOVED for unknown code block` log spam from workerd

These are internal workerd diagnostic messages not relevant to application developers. Miniflare's structured log handler already filters them, but `vitest-pool-workers` uses a custom `handleRuntimeStdio` that bypasses that pipeline. This adds the pattern to the pool's own ignore list.
1 change: 1 addition & 0 deletions packages/vitest-pool-workers/src/pool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const ignoreMessages = [
"disconnected: operation canceled",
"disconnected: worker_do_not_log; Request failed due to internal error",
"disconnected: WebSocket was aborted",
"CODE_MOVED for unknown code block",
"broken.outputGateBroken; jsg.Error: Instance dispose",
];
function trimSymbolizerWarning(chunk: string): string {
Expand Down
Loading