Skip to content

Introduce EventType enum - #1646

Merged
fjtirado merged 2 commits into
open-workflow-specification:mainfrom
mcruzdev:issue-1638
Sep 1, 2026
Merged

Introduce EventType enum#1646
fjtirado merged 2 commits into
open-workflow-specification:mainfrom
mcruzdev:issue-1638

Conversation

@mcruzdev

Copy link
Copy Markdown
Collaborator

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

Special notes for reviewers:

Additional information (if needed):

Closes #1638

Copilot AI lite review requested due to automatic review settings August 31, 2026 17:01
@mcruzdev
mcruzdev requested a review from fjtirado as a code owner August 31, 2026 17:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings August 31, 2026 18:03
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Comment thread impl/core/src/main/java/io/serverlessworkflow/impl/lifecycle/EventType.java Outdated
Copilot AI review requested due to automatic review settings September 1, 2026 10:01
Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.

Suppressed comments (1)

impl/core/src/main/java/io/serverlessworkflow/impl/lifecycle/WorkflowEvent.java:39

  • Adding public abstract EventType type() makes WorkflowEvent a source-breaking type for any downstream code that subclasses WorkflowEvent/TaskEvent. If this is intended to remain extensible, consider making type() concrete (e.g., store an EventType field in WorkflowEvent set via constructors) or provide a central classifier method so external subclasses don’t break.
  public abstract EventType type();

@fjtirado
fjtirado merged commit edf79ec into open-workflow-specification:main Sep 1, 2026
3 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.

Expose a shared enum for lifecycle event kinds

3 participants