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

Renaming tasklist.NewIdentifier() result #6113

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

dkrotx
Copy link
Contributor

@dkrotx dkrotx commented Jun 5, 2024

a) taskList is misleading as we're retrieving taskList itself later in
some functions.
b) consistency: some functinos of the file already use tasklistID for the same
purpose.

renamed taskList -> taskListID because of the above reasons

refactoring during deep dive session

How did you test it?

Potential risks

Release notes

Documentation Changes

a) taskList is misleading as we're retrieving taskList itself later in
   some functions.
b) consistency: some functinos of the file already use tasklistID for the same
   purpose.
@dkrotx dkrotx enabled auto-merge (squash) June 5, 2024 21:04
@dkrotx dkrotx merged commit dfab972 into uber:master Jun 5, 2024
17 of 18 checks passed
@coveralls
Copy link

coveralls commented Jun 5, 2024

Pull Request Test Coverage Report for Build 018fea2a-9ba1-4126-9c6e-43ee4e57e834

Details

  • 16 of 16 (100.0%) changed or added relevant lines in 1 file are covered.
  • 30 unchanged lines in 6 files lost coverage.
  • Overall coverage increased (+0.01%) to 70.812%

Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 2 89.05%
common/membership/hashring.go 2 84.69%
service/matching/tasklist/matcher.go 2 89.35%
service/matching/tasklist/task_reader.go 2 75.33%
service/history/task/transfer_standby_task_executor.go 6 87.35%
service/matching/tasklist/task_list_manager.go 16 76.28%
Totals Coverage Status
Change from base Build 018fea0f-14e3-4984-94e0-5d6d068277b1: 0.01%
Covered Lines: 105472
Relevant Lines: 148947

💛 - Coveralls

timl3136 pushed a commit to timl3136/cadence that referenced this pull request Jun 6, 2024
a) taskList is misleading as we're retrieving taskList itself later in
   some functions.
b) consistency: some functinos of the file already use tasklistID for the same
   purpose.
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.

3 participants