@fedify/cfworkers uses sendBatch() for enqueueMany(), and each batch item must keep the same wrapped message shape as single enqueue. A focused test would catch shape drift between the two paths.
Add a test in packages/cfworkers/src/mod.test.ts that verifies WorkersMessageQueue.enqueueMany() sends wrapped payloads and preserves the ordering key.
Suggested check: mise run check-each cfworkers.
@fedify/cfworkers uses
sendBatch()forenqueueMany(), and each batch item must keep the same wrapped message shape as single enqueue. A focused test would catch shape drift between the two paths.Add a test in packages/cfworkers/src/mod.test.ts that verifies
WorkersMessageQueue.enqueueMany()sends wrapped payloads and preserves the ordering key.Suggested check:
mise run check-each cfworkers.