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

uber / cadence
71%
master: 72%

Build:
Build:
LAST BUILD BRANCH: fixit
DEFAULT BRANCH: master
Repo Added 12 Jun 2017 08:09PM UTC
Files 727
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

LAST BUILD ON BRANCH v1.2.11-prerelease8
branch: v1.2.11-prerelease8
CHANGE BRANCH
x
Reset
  • v1.2.11-prerelease8
  • 0.26.x
  • 0.26.x-test-merge
  • 0.27.x
  • 1.1.x
  • 1.2.x
  • 4341
  • CDNC-2946_revert_temp_store
  • CDNC-4362
  • CDNC-4456
  • CDNC_4184
  • CDNC_4445
  • CDNC_4589
  • CDNC_4674
  • CDNC_5084_UpgradeMySQL
  • CDNC_5096_ES
  • Groxx-patch-1
  • bugfix/fix-build
  • cdnc-4709
  • change_mysqlSchemaFolder_tobe_v8
  • dependabot/go_modules/cmd/server/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/internal/tools/github.com/go-git/go-git/v5-5.11.0
  • dependabot/go_modules/internal/tools/github.com/hashicorp/go-retryablehttp-0.7.7
  • dependabot/go_modules/internal/tools/google.golang.org/protobuf-1.33.0
  • domain-name-validation
  • feature/adding-ig-admin-idl
  • feature/ig-frontend
  • feature/updating-admin-idls-ii
  • feature/zonal-isolation-ii
  • feature/zonal-partition-library
  • feature/zonal-partitioning
  • feature/zonal-partitioning-admin-mapping
  • feature/zonal-partitioning-lib-ii
  • feature/zonal-partitioning-test
  • fix_local_ci
  • global_aggregator
  • master
  • migration_validator
  • neilx_test_timeout
  • readhistorybranch-shard-metrics
  • started-worker-id
  • test-workflow-start-metric
  • testing
  • tifflin/test-helm
  • tim-tasklist-metrics
  • unused-metric
  • v1.2.10
  • v1.2.10-prerelease1
  • v1.2.10-prerelease2
  • v1.2.10-prerelease5
  • v1.2.10-prerelease6
  • v1.2.10-prerelease7
  • v1.2.11
  • v1.2.11-prerelease1
  • v1.2.11-prerelease10
  • v1.2.11-prerelease2
  • v1.2.11-prerelease3
  • v1.2.11-prerelease4
  • v1.2.11-prerelease5
  • v1.2.11-prerelease6
  • v1.2.11-prerelease7
  • v1.2.11-prerelease9
  • v1.2.12-prerelease1
  • v1.2.12-prerelease2
  • v1.2.7
  • v1.2.7-prerelease3
  • v1.2.7-prerelease4
  • v1.2.7-prerelease5
  • v1.2.7-prerelease6
  • v1.2.7-prerelease7
  • v1.2.8
  • v1.2.8-prerelease1
  • v1.2.8-prerelease2
  • v1.2.8-prerelease4
  • v1.2.8-prerelease5
  • v1.2.8-prerelease6
  • v1.2.8-prerelease7
  • v1.2.8-prerelease8
  • v1.2.8-prerelease9
  • v1.2.9
  • v1.2.9-prerelease2
  • v1.2.9-prerelease3
  • v1.2.9-prerelease4
  • v1.2.9-prerelease5
  • v1.2.9-prerelease6
  • validate-domain-name
  • wf-start-metric
  • wip-continue-as-new
  • worklfow-start-count
  • xbowen_add_ContextKey_Struct
  • xbowen_add_double_read00
  • xbowen_add_filter_for_comparator_log
  • xbowen_add_pinot_integration_test00
  • xbowen_add_pinot_integration_test_local_containers
  • xbowen_add_time_range_in_log
  • xbowen_commentFixing
  • xbowen_dual_manager_test01
  • xbowen_history_replicator_test01
  • xbowen_history_replicator_test02
  • xbowen_history_replicator_test03
  • xbowen_pinotQueryValidator_checkTimeTypeInCustomSearchAttribute
  • xbowen_pinotResponseComparator_test0
  • xbowen_pinot_dual_manager_test00
  • xbowen_pinot_triple_manager_test00
  • xbowen_pinot_visibility_store_test_hotfix
  • xbowen_visibility_single_manager_unit_test01

27 Jun 2024 01:09AM UTC coverage: 71.447% (-0.1%) from 71.557%
01905aaf-6c81-4c38-a152-8762c56faf36

push

buildkite

web-flow
Refactor/removing cross cluster feature (#6121)

## What changed?

This mostly* removes the cross-cluster feature.

## Background
The Cross-cluster feature was the ability to launch and interact with child workflows in another domain. It included the ability to start child workflows and signal them. The feature allowed child workflows to be launched in the target domain even if it was active in another region.

## Problems
The feature itself was something that very very few of our customers apparently needed, with very few customers interested in the problem of launching child workflows in another cluster, and zero who weren’t able to simply use an activity to make an RPC call to the other domain as one would with any normal workflow.
The feature-itself was quite resource intensive: It was pull-based; spinning up a polling stack which polled the other cluster for work, similar to the replication stack. This polling behaviour made the latency characteristics fairly unpredictable and used considerable DB resources, to the point that we just turned it off. The Uber/Cadence team resolved that were there sufficient demand for the feature in the future, a push based mechanism would probably be significantly preferable.
The feature itself added a nontrivial amount of complexity to the codebase in a few areas such as task processing and domain error handling which introduced difficult to understand bugs such as the child workflow dropping error #5919

Decision to deprecate and alternatives
As of releases June 2024, the feature will be removed. The Cadence team is not aware of any users of the feature outside Uber (as it was broken until mid 2021 anyway), but as an FYI, it will cease to be available.

If this behaviour is desirable, an easy workaround is as previously mentioned: Use an activity to launch or signal the workflows in the other domain and block as needed.

PR details
This is a fairly high-risk refactor so it'll take some time to ... (continued)

118 of 134 new or added lines in 9 files covered. (88.06%)

307 existing lines in 25 files now uncovered.

104698 of 146539 relevant lines covered (71.45%)

2612.91 hits per line

Relevant lines Covered
Build:
Build:
146539 RELEVANT LINES 104698 COVERED LINES
2612.91 HITS PER LINE
Source Files on v1.2.11-prerelease8
  • Tree
  • List 720
  • Changed 314
  • Source Changed 0
  • Coverage Changed 51
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
01905aaf... v1.2.11-prerelease8 Refactor/removing cross cluster feature (#6121) ## What changed? This mostly* removes the cross-cluster feature. ## Background The Cross-cluster feature was the ability to launch and interact with child workflows in another domain. It incl... push 27 Jun 2024 05:46PM UTC web-flow buildkite
71.45
See All Builds (12090)
  • Repo on GitHub
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