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

Introduce ListAllWorkflowExecutions method in frontend #6065

Closed sankari165 closed 1 month ago

sankari165 commented 1 month ago

What changed? ListAllWorkflowExecutions method in frontend api

Why? To be able to list all workflow executions with partial search support

How did you test it? unit tests

Potential risks

Release notes

Documentation Changes

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 018fc427-fc6f-4e0d-890d-e517fbee710b

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
common/persistence/wrappers/sampled/visibility_manager.go 0 5 0.0%
common/persistence/elasticsearch/es_visibility_metric_clients.go 0 13 0.0%
common/persistence/pinot/pinot_visibility_metric_clients.go 0 13 0.0%
service/frontend/api/handler.go 50 67 74.63%
common/types/shared.go 0 25 0.0%
<!-- Total: 92 165 55.76% -->
Files with Coverage Reduction New Missed Lines %
common/cache/lru.go 2 92.89%
service/history/replication/task_processor.go 2 81.25%
service/history/task/transfer_active_task_executor.go 2 72.72%
common/util.go 2 91.78%
service/history/task/fetcher.go 2 85.05%
service/history/task/task.go 3 84.81%
service/history/handler/handler.go 3 96.2%
tools/cli/admin_db_decode_thrift.go 3 69.23%
service/matching/tasklist/task_list_manager.go 4 76.09%
service/frontend/api/handler.go 4 62.51%
<!-- Total: 55 -->
Totals Coverage Status
Change from base Build 018facb4-1556-4d0a-a60a-2fec545c95e9: -0.03%
Covered Lines: 102602
Relevant Lines: 147644

💛 - Coveralls
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 62.85714% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 68.14%. Comparing base (2f08de5) to head (0f3bc98). Report is 4 commits behind head on master.

Additional details and impacted files | [Files](https://app.codecov.io/gh/uber/cadence/pull/6065?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber) | Coverage Δ | | |---|---|---| | [...mon/persistence/dataVisibilityManagerInterfaces.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2FdataVisibilityManagerInterfaces.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL2RhdGFWaXNpYmlsaXR5TWFuYWdlckludGVyZmFjZXMuZ28=) | `0.00% <ø> (ø)` | | | [...ommon/persistence/pinot\_visibility\_dual\_manager.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fpinot_visibility_dual_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3Bpbm90X3Zpc2liaWxpdHlfZHVhbF9tYW5hZ2VyLmdv) | `100.00% <100.00%> (ø)` | | | [...mon/persistence/pinot\_visibility\_triple\_manager.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fpinot_visibility_triple_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3Bpbm90X3Zpc2liaWxpdHlfdHJpcGxlX21hbmFnZXIuZ28=) | `100.00% <100.00%> (ø)` | | | [common/persistence/visibility\_dual\_manager.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fvisibility_dual_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3Zpc2liaWxpdHlfZHVhbF9tYW5hZ2VyLmdv) | `100.00% <100.00%> (ø)` | | | [common/persistence/visibility\_single\_manager.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fvisibility_single_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3Zpc2liaWxpdHlfc2luZ2xlX21hbmFnZXIuZ28=) | `99.21% <100.00%> (+0.03%)` | :arrow_up: | | [...ommon/persistence/wrappers/errorinjectors/utils.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fwrappers%2Ferrorinjectors%2Futils.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3dyYXBwZXJzL2Vycm9yaW5qZWN0b3JzL3V0aWxzLmdv) | `93.97% <100.00%> (+0.04%)` | :arrow_up: | | [...persistence/wrappers/sampled/visibility\_manager.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fwrappers%2Fsampled%2Fvisibility_manager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3dyYXBwZXJzL3NhbXBsZWQvdmlzaWJpbGl0eV9tYW5hZ2VyLmdv) | `77.77% <0.00%> (-2.76%)` | :arrow_down: | | [...ence/elasticsearch/es\_visibility\_metric\_clients.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Felasticsearch%2Fes_visibility_metric_clients.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL2VsYXN0aWNzZWFyY2gvZXNfdmlzaWJpbGl0eV9tZXRyaWNfY2xpZW50cy5nbw==) | `0.00% <0.00%> (ø)` | | | [...rsistence/pinot/pinot\_visibility\_metric\_clients.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=common%2Fpersistence%2Fpinot%2Fpinot_visibility_metric_clients.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-Y29tbW9uL3BlcnNpc3RlbmNlL3Bpbm90L3Bpbm90X3Zpc2liaWxpdHlfbWV0cmljX2NsaWVudHMuZ28=) | `95.05% <0.00%> (-4.95%)` | :arrow_down: | | [service/frontend/api/handler.go](https://app.codecov.io/gh/uber/cadence/pull/6065?src=pr&el=tree&filepath=service%2Ffrontend%2Fapi%2Fhandler.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber#diff-c2VydmljZS9mcm9udGVuZC9hcGkvaGFuZGxlci5nbw==) | `40.10% <66.00%> (+0.50%)` | :arrow_up: | ... and [10 files with indirect coverage changes](https://app.codecov.io/gh/uber/cadence/pull/6065/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/6065?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/6065?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=uber). Last update [2f08de5...0f3bc98](https://app.codecov.io/gh/uber/cadence/pull/6065?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).