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

uber / cadence-java-client / 2428
80%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2024 12:24AM UTC
Jobs 1
Files 274
Run time 1min
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

11 Jul 2024 09:55PM UTC coverage: 61.938% (+0.5%) from 61.478%
2428

push

buildkite

web-flow
Use the same Request ID for retries (#915)

Currently the RequestId is initialized in the implementation of IWorkflowService (either Thrift2ProtoAdapter or WorkflowServiceTChannel). Since retries are handled within GenericWorkflowClientExternalImpl, each retry uses a different request ID. This causes Cadence's idempotency feature not to work correctly for retries from the Java client.

Move Request ID initialization to GenericWorkflowClientExternalImpl, and for backwards compatibility (since users may be interacting with the IWorkflowService directly) continue setting the request ID if not specified.

14 of 27 new or added lines in 3 files covered. (51.85%)

13 existing lines in 5 files now uncovered.

12071 of 19489 relevant lines covered (61.94%)

0.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
16.93
5.69% src/main/java/com/uber/cadence/serviceclient/WorkflowServiceTChannel.java
10
4.11
-0.05% src/main/java/com/uber/cadence/internal/compatibility/Thrift2ProtoAdapter.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.65
-1.47% src/main/java/com/uber/cadence/internal/sync/CancellationScopeImpl.java
2
4.11
-0.05% src/main/java/com/uber/cadence/internal/compatibility/Thrift2ProtoAdapter.java
2
16.93
5.69% src/main/java/com/uber/cadence/serviceclient/WorkflowServiceTChannel.java
3
61.18
-3.53% src/main/java/com/uber/cadence/internal/replay/DecisionStateMachineBase.java
5
89.72
-4.67% src/main/java/com/uber/cadence/internal/replay/ActivityDecisionContext.java
Jobs
ID Job ID Ran Files Coverage
1 2428.1 22 Jul 2024 12:24AM UTC 274
61.94
Source Files on build 2428
  • Tree
  • List 274
  • Changed 12
  • Source Changed 3
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #2428
  • d4b59977 on github
  • Prev Build on master (#2412)
  • Next Build on master (#2429)
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

© 2026 Coveralls, Inc