Skip to content

Conversation

@Sud0x67
Copy link
Contributor

@Sud0x67 Sud0x67 commented Jul 28, 2025

Purpose of the pull request

Rename methods in TaskStateActions and WorkflowStateActions for better readability.

Brief change log

Rename methods xxxEventAction to onXxxEvent in TaskStateActions and WorkflowStateActions for better readability.

close #17377

Verify this pull request

This pull request is code cleanup without any test coverage.

@boring-cyborg
Copy link

boring-cyborg bot commented Jul 28, 2025

@Sud0x67 Sud0x67 changed the title [Chore-17377][Master] Rename methods in StateAction for better readability. [Chore-17379][Master] Rename methods in StateAction for better readability. Jul 28, 2025
@Sud0x67 Sud0x67 changed the title [Chore-17379][Master] Rename methods in StateAction for better readability. [Chore][Master] Rename methods in StateAction for better readability. Jul 28, 2025
Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

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

LGTM

void startedEventAction(final IWorkflowExecutionRunnable workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
final TaskRunningLifecycleEvent taskRunningEvent);
void onStartedEvent(final IWorkflowExecutionRunnable workflowExecutionRunnable,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'workflowExecutionRunnable' is never used.
void runtimeContextChangedEventAction(final IWorkflowExecutionRunnable workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
final TaskRuntimeContextChangedEvent taskRuntimeContextChangedEvent);
void onRuntimeContextChangedEvent(final IWorkflowExecutionRunnable workflowExecutionRunnable,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'workflowExecutionRunnable' is never used.
void retryEventAction(final IWorkflowExecutionRunnable workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
final TaskRetryLifecycleEvent taskRetryEvent);
void onRetryEvent(final IWorkflowExecutionRunnable workflowExecutionRunnable,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'workflowExecutionRunnable' is never used.
void dispatchEventAction(final IWorkflowExecutionRunnable workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
final TaskDispatchLifecycleEvent taskDispatchEvent);
void onDispatchEvent(final IWorkflowExecutionRunnable workflowExecutionRunnable,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'workflowExecutionRunnable' is never used.
void failoverEventAction(final IWorkflowExecutionRunnable workflowExecutionRunnable,
final ITaskExecutionRunnable taskExecutionRunnable,
final TaskFailoverLifecycleEvent taskFailoverEvent);
void onFailoverEvent(final IWorkflowExecutionRunnable workflowExecutionRunnable,

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'workflowExecutionRunnable' is never used.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
68.1% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube Cloud

@SbloodyS SbloodyS added the first time contributor First-time contributor label Jul 29, 2025
@SbloodyS SbloodyS added this to the 3.3.1 milestone Jul 29, 2025
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

+1

@SbloodyS SbloodyS merged commit 291adfb into apache:dev Jul 29, 2025
70 of 73 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Jul 29, 2025

Awesome work, congrats on your first merged pull request!

eco8848 pushed a commit to eco8848/dolphinscheduler that referenced this pull request Aug 8, 2025
davidzollo pushed a commit to davidzollo/dolphinscheduler that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement][Master] naming issues in state machine.

3 participants