inngest / inngest-js

The developer platform for easily building reliable workflows with zero infrastructure for TypeScript & JavaScript
https://www.inngest.com/
GNU General Public License v3.0
440 stars 43 forks source link

Return `206` with `op: "StepNotFound"` when no step found to run #701

Open jpwilliams opened 2 months ago

jpwilliams commented 2 months ago

Summary

If a step is intended to be run and was not found due to non-determinism or a changed function, still return a 206 with the "StepNotFound" opcode.

This complements inngest/inngest#1715 to ensure we recover from these situations gracefully.

Checklist

Related

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: 0a1303bed7bd6d1357cc29a0a67658f65444fb10

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR