Skip to content

Test batch queue messages in @fedify/cfworkers #878

Description

@dahlia

@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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

Priority

Low

Effort

Low

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions