• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / cadence / 018eeced-315a-46c0-b2fc-ecb9db602faf
72%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2024 05:01PM UTC
Jobs 1
Files 673
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Apr 2024 04:39PM UTC coverage: 67.432% (+0.05%) from 67.378%
018eeced-315a-46c0-b2fc-ecb9db602faf

push

buildkite

web-flow
Update mutable state to generate workflow requests (#5821)

What changed?
This PR is built on top of #5826.
In this PR, we generate workflow requests from external API requests and replication events and store them in database to detect duplicated requests. If a duplicated requests is detected, a DuplicateRequestError is returned by persistence layer with the run_id telling upper layer which run the request has been applied to. And when this error is returned, the API does no-op and return the run_id to the caller.

Why?
To improve idempotency of Cadence APIs

How did you test it?
unit tests

Potential risks
We have a feature flag to turn on/off this feature. And we'll rollout this feature at domain level.

165 of 187 new or added lines in 15 files covered. (88.24%)

23 existing lines in 8 files now uncovered.

98695 of 146362 relevant lines covered (67.43%)

2401.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.23
-0.16% service/history/config/config.go
3
51.01
-0.28% common/log/tag/tags.go
4
89.18
0.13% service/history/execution/mutable_state_decision_task_manager.go
6
93.98
-0.35% service/history/execution/context.go
8
68.43
0.09% service/history/engine/engineimpl/historyEngine.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.56
-0.5% common/task/weighted_round_robin_task_scheduler.go
2
66.7
-0.17% service/history/shard/context.go
2
81.58
-1.32% common/peerprovider/ringpopprovider/config.go
2
80.46
0.25% service/matching/taskListManager.go
3
84.54
-3.09% common/task/fifo_task_scheduler.go
3
95.83
-2.5% service/history/queue/timer_gate.go
4
40.23
0.22% common/types/shared.go
5
61.95
-1.68% common/persistence/nosql/nosql_task_store.go
Jobs
ID Job ID Ran Files Coverage
1 018eeced-315a-46c0-b2fc-ecb9db602faf.1 17 Apr 2024 05:01PM UTC 673
67.43
Source Files on build 018eeced-315a-46c0-b2fc-ecb9db602faf
  • Tree
  • List 673
  • Changed 289
  • Source Changed 0
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • baac6218 on github
  • Prev Build on master (#018EE46D...)
  • Next Build on master (#018EED95...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc