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

Test for DescribeMutableState #6059

Closed jakobht closed 1 month ago

jakobht commented 1 month ago

What changed? Added tests for DescribeMutable State

Why? Improve coverage

How did you test it?

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 68.03%. Comparing base (8d5c056) to head (18e66ae). Report is 2 commits behind head on master.

Additional details and impacted files [see 7 files with indirect coverage changes](https://app.codecov.io/gh/uber/cadence/pull/6059/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/6059?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/6059?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). Last update [8d5c056...18e66ae](https://app.codecov.io/gh/uber/cadence/pull/6059?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 018fb8d7-af34-46ef-b0c3-4cb6e1886514

Details


Files with Coverage Reduction New Missed Lines %
service/history/queue/timer_queue_processor_base.go 1 77.66%
common/task/weighted_round_robin_task_scheduler.go 2 88.56%
service/matching/tasklist/task_list_manager.go 2 76.09%
service/history/queue/transfer_queue_processor.go 2 56.07%
service/matching/tasklist/matcher.go 2 89.35%
common/task/fifo_task_scheduler.go 3 82.47%
service/frontend/api/handler.go 4 62.26%
service/frontend/wrappers/metered/metered.go 4 66.67%
service/history/engine/engineimpl/poll_mutable_state.go 9 74.16%
<!-- Total: 29 -->
Totals Coverage Status
Change from base Build 018faadd-0f68-4f46-a937-a0c09b154ebd: 0.03%
Covered Lines: 102473
Relevant Lines: 147418

💛 - Coveralls