Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove isDeployed/isCancelled flags based on lastAction #4353

Merged
merged 16 commits into from Jul 13, 2023

Conversation

gskrobisz
Copy link
Member

@gskrobisz gskrobisz commented Jun 6, 2023

Changes:

  1. removed sealed trait Proces (that is the most controversial part of this change)
  2. removed Process.isDeployed/isCancelled methods (we should not evaluate scenario status from lastAction)
  3. removed unnecessary method DeploymentServiceImpl.checkStateInDeploymentManager
  4. side effect: we see what we are looking at (process property, action type flag, last action type flag or status type flag)

StateStatus flags "isXYZ" are removed in #4350

@gskrobisz gskrobisz marked this pull request as draft June 6, 2023 14:00
Copy link
Member

@arkadius arkadius left a comment

Choose a reason for hiding this comment

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

Why it is still a draft?

Copy link
Contributor

@lciolecki lciolecki left a comment

Choose a reason for hiding this comment

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

Good change!

@github-actions
Copy link
Contributor

created: #4427

@github-actions
Copy link
Contributor

updated: #4427

@github-actions
Copy link
Contributor

: #4427

1 similar comment
@github-actions
Copy link
Contributor

: #4427

@gskrobisz gskrobisz merged commit 5ea608d into staging Jul 13, 2023
17 checks passed
@coutoPL coutoPL deleted the move_status_flags branch August 17, 2023 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants