Skip to content

refactor(openworkflow): collapse transition boilerplate in executeWorkflow#472

Merged
jamescmartinez merged 1 commit intomainfrom
collapse-execute-workflow-boilerplate
Apr 17, 2026
Merged

refactor(openworkflow): collapse transition boilerplate in executeWorkflow#472
jamescmartinez merged 1 commit intomainfrom
collapse-execute-workflow-boilerplate

Conversation

@jamescmartinez
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 17, 2026 15:15
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 17, 2026

Open in StackBlitz

npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/cli@472
npm i https://pkg.pr.new/openworkflowdev/openworkflow/@openworkflow/dashboard@472
npm i https://pkg.pr.new/openworkflowdev/openworkflow@472

commit: 1122f97

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors OpenWorkflow execution code to reduce repeated transition-handling boilerplate and centralize error/transition helpers.

Changes:

  • Introduces a failWorkflowStep helper inside StepExecutor.resolveRunningWorkflow to collapse repeated failStepWithError(...) calls.
  • Introduces a runTransition helper inside executeWorkflow(...) to wrap repeated executeWorkflowRunTransition(...) calls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jamescmartinez jamescmartinez merged commit 1ffa0f5 into main Apr 17, 2026
15 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.

2 participants