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

Rename inflight WT to started WT #4043

Merged
merged 1 commit into from Mar 14, 2023

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Mar 11, 2023

What changed?
Made few renames for better code readability:

  1. GetInFlightWorkflowTask -> GetStartedWorkflowTask (same for Has*),
  2. GetWorkflowTaskInfo -> GetWorkflowTaskByID,
  3. HasProcessedOrPendingWorkflowTask -> HadOrHasWorkflowTask,
  4. GetPreviousStartedEventID -> GetLastWorkflowTaskStartedEventID

Why?
Better readability.

How did you test it?
Existing tests.

Potential risks
No risks.

Is hotfix candidate?
No.

@alexshtin alexshtin requested a review from a team as a code owner March 11, 2023 02:14
hasInflight bool
branchToken []byte
lastEventID int64
workflowTask *workflow.WorkflowTaskInfo
Copy link
Member

Choose a reason for hiding this comment

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

probably startedWorkflowTask

@alexshtin alexshtin merged commit 086f5ec into temporalio:master Mar 14, 2023
7 checks passed
@alexshtin alexshtin deleted the feature/rename-inflight branch March 14, 2023 21:58
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.

None yet

2 participants