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 tests for mutable_state_builder_methods_decision.go #6055

Closed fimanishi closed 1 month ago

fimanishi commented 1 month ago

What changed? tests for mutable_state_builder_methods_decision.go

Why? improve unit test 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.99%. Comparing base (02c7efb) to head (5bb5572). Report is 24 commits behind head on master.

Additional details and impacted files [see 33 files with indirect coverage changes](https://app.codecov.io/gh/uber/cadence/pull/6055/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/6055?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/6055?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). Last update [02c7efb...5bb5572](https://app.codecov.io/gh/uber/cadence/pull/6055?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 018fac5c-d378-4465-b436-35160dcaea58

Details


Files with Coverage Reduction New Missed Lines %
service/history/shard/context.go 1 69.08%
common/persistence/nosql/nosql_visibility_store.go 1 48.78%
common/task/weighted_round_robin_task_scheduler.go 2 88.56%
common/persistence/sql/sqlplugin/postgres/task.go 2 73.4%
common/task/parallel_task_processor.go 2 93.06%
service/matching/tasklist/db.go 2 73.23%
common/dynamicconfig/constants.go 2 99.05%
common/task/fifo_task_scheduler.go 2 85.57%
service/history/task/transfer_active_task_executor.go 2 72.72%
common/util.go 2 91.78%
<!-- Total: 472 -->
Totals Coverage Status
Change from base Build 018fa65b-f10a-4dc6-8f5b-50bc0a76f08d: -0.2%
Covered Lines: 101866
Relevant Lines: 147206

💛 - Coveralls