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

Update async workflow queue idl change #5645

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

Shaddoll
Copy link
Member

@Shaddoll Shaddoll commented Feb 6, 2024

What changed?
Update async workflow queue idl change

Why?

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes

Copy link
Member

@taylanisikdemir taylanisikdemir left a comment

Choose a reason for hiding this comment

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

As long as tests pass the changes look good to me. The plumbing of new fields is not trivial so thanks for handling this.

@@ -38,6 +38,11 @@ type (
MetricsClient metrics.Client
}

QueueID struct {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add comments on this struct and fields to explain what they are?

Copy link
Member Author

Choose a reason for hiding this comment

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

I accidentally committed this change. I'll remove this

@@ -38,6 +38,11 @@ type (
MetricsClient metrics.Client
}

QueueID struct {
Type string
ID interface{}
Copy link
Member

Choose a reason for hiding this comment

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

why interface{}?

@coveralls
Copy link

Pull Request Test Coverage Report for Build 018d812a-ac42-4711-b984-2c43da16e140

  • -2 of 18 (88.89%) changed or added relevant lines in 3 files are covered.
  • 84 unchanged lines in 16 files lost coverage.
  • Overall coverage decreased (-0.03%) to 62.651%

Changes Missing Coverage Covered Lines Changed/Added Lines %
common/persistence/persistence-tests/metadataPersistenceV2Test.go 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
service/matching/matcher.go 1 91.07%
common/persistence/sql/common.go 2 72.73%
common/persistence/sql/sqlplugin/mysql/db.go 2 83.33%
common/persistence/sql/sqlplugin/mysql/task.go 2 73.68%
common/task/weighted_round_robin_task_scheduler.go 2 89.05%
common/util.go 2 91.69%
service/history/execution/mutable_state_util.go 2 37.63%
service/matching/db.go 2 73.23%
service/matching/taskListManager.go 2 80.2%
common/log/tag/tags.go 3 51.03%
Totals Coverage Status
Change from base Build 018d7c4c-0a55-47e7-b42b-e6b81db626f9: -0.03%
Covered Lines: 92113
Relevant Lines: 147026

💛 - Coveralls

@Shaddoll Shaddoll merged commit 5adaa1f into cadence-workflow:master Feb 7, 2024
16 checks passed
@Shaddoll Shaddoll deleted the idl-change branch February 7, 2024 02:10
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