Skip to content

feat!: move to workflow-engine-core 2.0 - #15

Merged
lam0819 merged 1 commit into
mainfrom
chore/core-2.0
Sep 12, 2026
Merged

lam0819 merged 1 commit into
mainfrom
chore/core-2.0

Conversation

@lam0819

@lam0819 lam0819 commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Core 2.0 is a fix! release correcting silent-success defects. Two of those corrections surface here.

WorkflowBuilder::email() is now fakeEmail(), adding a FakeEmailAction. The rename is the whole point: the old method never sent anything, so a workflow that "emailed" a user silently did nothing. Tests updated to the honest name — this is a breaking change for anyone calling ->email(), which is why it is feat!.

A failed workflow can now transition back to running, so it can be retried; completed and cancelled remain terminal. The test asserting that was forbidden is inverted, with a note explaining why rather than just flipping the boolean.

74 tests passed (299 assertions) against core 2.0.0
pint --test    clean

Ready to tag v1.1.0 once merged.

🤖 Generated with Claude Code

Core 2.0 is a `fix!` release that corrects silent-success defects, and two
of those corrections are visible here:

- `WorkflowBuilder::email()` is now `fakeEmail()`, and the step it adds is
  `FakeEmailAction`. The rename is the point: the old method never sent
  anything, so a workflow that "emailed" a user silently did nothing.
  Tests updated to the honest name.
- A failed workflow may now transition back to running, so it can be
  retried. Completed and cancelled remain terminal. The assertion that
  this was forbidden is inverted, with a note saying why.

74 tests pass against core 2.0.0; Pint clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lam0819
lam0819 merged commit 1d60e9b into main Sep 12, 2026
2 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant