test(code-runtime): complete sandboxed process coverage and catalogs

This commit is contained in:
Tianyi Cui committed 2026-09-12 15:03:01 +08:00
1 parent 8e19ec4962
commit fc5cb0f649
31 files changed
+361 -169

No files matched your search

@@ -42,6 +42,8 @@ export class JsonChannel {
if (this.closed) return
try {
let offset = 0
// receive can synchronously close the channel while dispatching a preceding frame.
// oxlint-disable-next-line typescript/no-unnecessary-condition
while (offset < chunk.length && !this.closed) {
if (this.payload === undefined) {
const bytes = Math.min(4 - this.headerBytes, chunk.length - offset)