What's Changed
Added
- Add task list partition config by @Shaddoll in #6343
- Add unit tests for nosql_domain_store by @Shaddoll in #6378
- Add unit test for nosql create tasks method by @Shaddoll in #6379
- Add test for historgram file by @bowenxia in #6382
- Add unit tests for nosql_shard_store by @Shaddoll in #6383
- Add unit test for workflow_commands.go by @neil-xie in #6387
- Add unit tests for AdminDescribeTaskList method in CLI by @timl3136 in #6385
- add unit test to CLI workflow commands by @shijiesheng in #6377
- Add factory mock by @bowenxia in #6386
- add unit test to CLI domain commands by @shijiesheng in #6389
- Add test coverage to admin tasklist commands by @timl3136 in #6390
- Add unit test for DoReset and load wfIds from file by @neil-xie in #6392
- Add unit tests for domain manager by @Shaddoll in #6391
- Add tests for common/types/matching.go by @fimanishi in #6380
- Add coverage in cli/isolation_groups by @timl3136 in #6395
- Add test for admin cluster commands by @bowenxia in #6397
- Add tests for service/history/execution/cache.go by @fimanishi in #6396
- Add unit test for ResetInBatch in workflow_commands.go by @neil-xie in #6399
- Coverage for persistence/client/bean by @Groxx in #6404
- Unit tests for common/types by @sankari165 in #6405
- Add test for newNoSQLVisibilityStore by @gazi-yestemirova in #6394
- Create interface and mock for forwarder by @fimanishi in #6407
- Add more unit tests for workflow_commands.go by @neil-xie in #6409
- Write tests for CLI admin failover commands by @taylanisikdemir in #6410
- Add tests for NoSql Visibility Store by @gazi-yestemirova in #6413
- Add test for admin_es_cmds part I by @bowenxia in #6411
- Add new IOHandler to CLI isolation group test by @timl3136 in #6417
- Add test for persistence/serialization package by @Shaddoll in #6415
- Adding a test for admin_commands by @dkrotx in #6414
- Add unit tests for serialization package by @Shaddoll in #6420
- Add unit tests for config store manager by @Shaddoll in #6419
- Add unit tests for history queue task_allocator by @timl3136 in #6421
- Add more unit tests for tools/cli/workflow_commands by @neil-xie in #6416
- Add unit tests for nosql_config_store by @Shaddoll in #6422
- Write tests for reconciliation fetcher by @taylanisikdemir in #6424
- Admin_ES_cmds_test Part II by @bowenxia in #6426
- Add unit tests for admin async queue commands by @timl3136 in #6408
- Add mock ESProcessor and unit test to start and stop indexer by @timl3136 in #6423
- Add tests for service/matching/tasklist/matcher.go by @fimanishi in #6418
- Add unit test to cover functions in task allocator by @timl3136 in #6430
- Add unit test to admin types by @timl3136 in #6432
- Admin_db_clean_cmd test Part I by @bowenxia in #6435
- Add unit tests for normalizeVersionedErrors and HealthStatus by @Shaddoll in #6433
- Add more tests to stale workflow invariant check by @taylanisikdemir in #6436
- adds some coverage for the mutable state builder's reset by @davidporter-id-au in #6439
- Added tests for concrete_execution.go by @fimanishi in #6438
- Unit tests for batcher workflow by @sankari165 in #6428
- Add more tests to concrete-execution-exists invariant by @taylanisikdemir in #6440
- Add unit tests for NoSql Visibility Store by @gazi-yestemirova in #6444
- Add tests for common/cache/domainCache.go by @fimanishi in #6431
- More unit-tests for cli:admin_commands.go by @dkrotx in #6449
- Added tests for current_execution.go by @fimanishi in #6448
- admin_db_clean_cmd test Part II by @bowenxia in #6437
- Adds slightly more coverage for mutable-state-builder. by @davidporter-id-au in #6443
- Add more tests for error cases in workflow_commands.go by @neil-xie in #6442
- Improve coverage for list workflow handlers by @Shaddoll in #6451
- Write tests for resource impl by @taylanisikdemir in #6452
- Adds coverage to mutable state builder by @davidporter-id-au in #6388
- mutable state builder coverage by @davidporter-id-au in #6454
- Add test for database.go by @bowenxia in #6453
- Add test for utils.go by @bowenxia in #6462
- Added tests for getters by @jakobht in #6463
- Added tests for FromIsolationGroupPartitionList by @jakobht in #6464
- Added tests for updatetask by @fimanishi in #6460
- Add test for ProcessResets and showHistoryHelper in workflow_commands.go by @neil-xie in #6459
- More unit tests for frontend domain handlers by @Shaddoll in #6457
- Add unit tests for frontend handler covering shutting down branch by @Shaddoll in #6466
- Add test for cli/admin_timer by @bowenxia in #6467
- coverage increase for the mutable-state-builder by @davidporter-id-au in #6469
- Introduce partition config provider to matching client by @Shaddoll in #6427
- Add unit tests to indexer function by @timl3136 in #6476
- Adding more tests to admin_commands by @dkrotx in #6475
- Update integration tests to use grpc by @Shaddoll in #6477
- Add unit tests for cli:admin_config_store_commands by @gazi-yestemirova in #6473
- Added tests for AdminDBScan method by @jakobht in #6474
- Added tests for AdminDBScanUnsupportedWorkflow by @jakobht in #6478
- Tests for admin_kafka_commands by @tubignat in #6479
- Tests for CreateWorkflowExecution error cases by @jakobht in #6481
- Cdnc 11010/domain migration command by @gazi-yestemirova in #6482
- More tests for admin_commands.go by @dkrotx in #6480
- Added tests for UpdateWorkflowExecution by @jakobht in #6484
- Tests for ConflictResolveWorkflowExecution by @jakobht in #6485
- Tests for AppendHistoryV2Events by @jakobht in #6486
- Test for ReplicateFailoverMarkers by @jakobht in #6487
- Add tests for transfer_queue_processor.go by @fimanishi in #6483
- Scaffold the implementation of admin UpdateTaskListPartitionConfig API by @Shaddoll in #6491
- workflow batch commands tests added by @samkitshah1262 in #6470
- [Wf-Diagnostics] link runbook for activity failures in a workflow by @sankari165 in #6497
- Implement matching API to allow updating task list partition config by @Shaddoll in #6472
- Add schedule id to pending activity info and pending decision info to history service by @fimanishi in #6507
- Initialize kafka config for worker service by @sankari165 in #6512
- [Wf-Diagnostics] include checks on retry policies while rootcausing heartbeat timeouts by @sankari165 in #6515
- Add IDL for shard distributor lookups by @jakobht in #6516
- [Wf-Diagnostics] add retry invariant to diagnose workflow retries by @sankari165 in #6519
- Introduce adaptive tasklist scaler by @Shaddoll in #6506
- Task manager - task cleanup on passive side using task completer by @fimanishi in #6514
- Added integration in Shard Distributor with the generated handler by @jakobht in #6521
- [Wf-Diagnostics] add retry policy validation to diagnostics by @sankari165 in #6529
- [Wf-Diagnostics] Incorporate retry diagnostics in workflow diagnostics workflow by @sankari165 in #6532
- [gocql] Allow to set gocql HostSelectionPolicy by @mantas-sidlauskas in #6533
- Add auto config hint to poll response by @neil-xie in #6542
- Add domain-name to logs for history size breach by @3vilhamster in #6551
- [Wf-Diagnostics] add failure cases when blob size limits are exceeded by @sankari165 in #6546
- Support adaptive tasklist partitioner in matching simulations by @taylanisikdemir in #6550
- Integrate matching simulation metrics with grafana by @taylanisikdemir in #6553
- Add grpcPort to development_xdc_cluster.yaml files by @fimanishi in #6556
- Add metric when history replication message is too large by @bowenxia in #6558
- Add task isolation leaking by @natemort in #6544
- Complete tasks on stanbdy cluster for workflows that don't exist anymore by @fimanishi in #6549
- Support fluctuating task load in matching simulation by @taylanisikdemir in #6565
- Standardize metrics for task isolation leaking and include cause by @natemort in #6562
- [shard-distributor] Added logic to return the shard owner based on the namesplace by @jakobht in #6564
- Shard distributor metrics wrapper by @jakobht in #6572
- Create naive isolation group matching loadbalancer by @natemort in #6570
- Add testing.T arg to test-only helpers by @Groxx in #6574
- [Wf-Diagnostics] link runbook for activity retries in a workflow by @sankari165 in #6582
Changed
- Update matching handlers to return TaskListPartitionConfig in responses by @Shaddoll in #6376
- Refactor task manager by @Shaddoll in #6393
- Refactor history manager by @Shaddoll in #6400
- Update CLI json printing to use new writer interface for testability by @taylanisikdemir in #6412
- Refactor admin_cluster_cmds tests by @bowenxia in #6403
- Move frontend handler's client version check to generated code by @Shaddoll in #6425
- Refactor persistence manager initialization by @bowenxia in #6441
- Refactor frontend api handler by @Shaddoll in #6450
- Exclude cli/factory.go from code coverage by @sankari165 in #6455
- Refactored and tested SerializeForLogging by @jakobht in #6456
- Update Cadence idl module to include AccessDeniedError in API returns by @timl3136 in #6465
- [Wf-Diagnostics] update failure rootcause for the different error types by @sankari165 in #6489
- Allow LIKE keyword to do partial term matching by @sankari165 in #6490
- Connection retaining mode for p2p peer chooser by @taylanisikdemir in #6471
- Make dns updater stoppable to prevent goroutine leaks in tests by @taylanisikdemir in #6494
- Update CLI to use grpc transport by default by @Shaddoll in #6495
- Rename new shard-manager service to shard-distributor by @jakobht in #6496
- Update matching simulation test to support new task list partition config by @Shaddoll in #6500
- Revert "Update CLI to use grpc transport by default" by @dkrotx in #6502
- [Wf-Diagnostics] Include all failure related rootcauses in rc handling within diagnostics by @sankari165 in #6504
- Update codecov config with new github org by @taylanisikdemir in #6510
- Improve matching simulator isolation group metrics by @natemort in #6505
- Update development_xdc_cluster#.yaml to have shard-distributor instead of shard-manager by @fimanishi in #6517
- Change Isolation Group Fallback Behavior by @natemort in #6518
- Update github org/repos in markdown files by @taylanisikdemir in #6524
- Update retry policy validation with additional conditions by @sankari165 in #6525
- Update weighted load balancer by @Shaddoll in #6522
- Update root partition to refresh non-root partition on start by @Shaddoll in #6527
- [Wf-Diagnostics] Update workflow retry with failure reason message by @sankari165 in #6526
- Changed flag in cassandra README by @dkrotx in #6530
- Update matching simulation test to test weighted load balancer by @Shaddoll in #6536
- Batcher will now by default retry it's activity 5 times by @jakobht in #6534
- make test-cases explicit for IDE + subtest by @dkrotx in #6548
- Update cron schedules of scanner workflows by @Shaddoll in #6554
- Enable graceful shutdown of replication task fetcher by default by @taylanisikdemir in #6571
- Convert some pre-generics map.Keys/.Values to their generic version by @Groxx in #6575
- Split mutable_state_util.go by purpose by @Groxx in #6577
- Don't treat missing PartitionConfig data as an error by @natemort in #6576
- Update README and CONTRIBUTING files by @taylanisikdemir in #6578
- Migrate from github.com/golang/mock to go.uber.org/mock by @Groxx in #6579
- Update caas schema with created_time and last_updated_time by @bowenxia in #6569
- Update DescribeTaskList to return Isolation Group metrics by @natemort in #6580
Fixed
- Fix a bug where an error is improperly returned and add unit test for workflow_commands by @neil-xie in #6384
- Fix matching engine test for stealing lease case by @taylanisikdemir in #6461
- Move away from zero-RPS == unlimited-RPS, as it isn't always correct by @Groxx in #6468
- Fix deadlock in sharded nosql store by @taylanisikdemir in #6493
- Fixing test flakyness by switching to mocked time by @dkrotx in #6503
- Bugfix/picking changes to allow for failover polling by @davidporter-id-au in #6523
- fixes a dumb refactoring bug preventing isolation-groups from updating by @davidporter-id-au in #6488
- Fix long poll cancellation by @Shaddoll in #6538
- Fix mapping by @davidporter-id-au in #6531
- Fix bug in vis double read when source visibility manager is primary by @neil-xie in #6539
- Fix nil pointer dereference in matching by @Shaddoll in #6543
- Align Postgres
workflow_id
Column with Cassandra by @samuel-lindgren in #6520 - Fix ListBatchJobs unit-test for Go 1.23+ by @dkrotx in #6547
- Fix multi-cluster domain register by @dkrotx in #6552
- Fix shutdown of replication task processor by @taylanisikdemir in #6555
- A hack to fix the nil pointer issue of java client's sync workflow requests by @Shaddoll in #6561
- Fix liveness goroutine leak in TaskListManager by @shijiesheng in #6563
- Fix default port for public client by @kotcrab in #6566
- fix AutoConfigHint field propagation in frontend by @shijiesheng in #6587
Removed
- Remove global domain checks and add unit test in isolation-groups by @timl3136 in #6401
- Deprecate unused persistence configs by @mantas-sidlauskas in #6406
- Revert "Update retry policy validation with additional conditions (#6525)" by @sankari165 in #6528
New Contributors
- @tubignat made their first contribution in #6479
- @samuel-lindgren made their first contribution in #6520
Full Changelog: v1.2.14...v1.2.15