uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
7.97k stars 773 forks source link

Add unit tests for mutable_state_builder_methods_signal.go #6056

Closed sankari165 closed 1 month ago

sankari165 commented 1 month ago

What changed? unit tests added for mutable_state_builder_methods_signal.go

Why? improve code coverage

How did you test it? unit tests

Potential risks

Release notes

Documentation Changes

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.76%. Comparing base (fb4bfce) to head (a0c80cf). Report is 6 commits behind head on master.

Additional details and impacted files [see 18 files with indirect coverage changes](https://app.codecov.io/gh/uber/cadence/pull/6056/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/uber/cadence/pull/6056?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/uber/cadence/pull/6056?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). Last update [fb4bfce...a0c80cf](https://app.codecov.io/gh/uber/cadence/pull/6056?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber).
coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 018fa9e3-7c7c-4a51-a84e-85f8669f2ae7

Details


Files with Coverage Reduction New Missed Lines %
common/task/weighted_round_robin_task_scheduler.go 2 88.06%
common/persistence/execution_manager.go 2 86.43%
service/matching/tasklist/task_list_manager.go 2 76.09%
common/persistence/sql/sqlplugin/mysql/task.go 2 73.68%
service/history/execution/mutable_state_builder.go 2 78.45%
service/history/execution/mutable_state_util.go 2 78.52%
common/persistence/statsComputer.go 2 97.14%
service/matching/tasklist/matcher.go 2 89.35%
service/matching/tasklist/task_reader.go 2 77.45%
common/persistence/sql/sqlplugin/mysql/db.go 2 79.49%
<!-- Total: 324 -->
Totals Coverage Status
Change from base Build 018fa77b-4f9b-42ed-a8a3-efd0d12a5a8a: -0.1%
Covered Lines: 102095
Relevant Lines: 147336

💛 - Coveralls