Skip to content

chore(fixtures): add a test Workflow and pin the Workflow binding's behaviour in @observerly/orderly - #74

Merged
michealroberts merged 1 commit into
mainfrom
chore/fixtures/workflow
Oct 13, 2026
Merged

michealroberts merged 1 commit into
mainfrom
chore/fixtures/workflow

Conversation

@michealroberts

Copy link
Copy Markdown
Member

What This Changes

  • Adds Echo, a test Workflow that reports the type of each param it receives, bound as ECHO with unknown params, as wrangler types writes them.
  • Adds settled(), a helper that reads an instance's status until it is complete or errored.
  • Adds tests/workflow-binding.spec.ts, which pins how the local engine treats instance ids, a missing id, Dates and repeated ids, and which binding types the compiler accepts.

Notes For Reviewers

  • Tests and configuration only, with an empty changeset. Nothing in src changes.
  • Locally, creating an instance with an id that already exists starts nothing and doesn't throw.

Checklist

  • Tests cover the change, and run inside workerd
  • A changeset is included, or the change is not one a consumer would notice
  • No Node built-ins were introduced

@michealroberts michealroberts self-assigned this Oct 13, 2026
@michealroberts michealroberts added the enhancement New feature or request label Oct 13, 2026
@michealroberts
michealroberts merged commit 17130c8 into main Oct 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant