v1.2.7
What's Changed
Added
- Add metrics to monitor task validation. by @agautam478 in #5466
- Add an "all results" query to scanner/fixer workflows by @Groxx in #5470
- Add retries into Scanner BlobWriter by @agautam478 in #5471
- Added a unit test for the BlobStoreWriter. by @agautam478 in #5472
- Add Debugf and some minor updates to timer queue processor base by @taylanisikdemir in #5475
- Add unit tests for cassandra workflow utils part-1 by @taylanisikdemir in #5476
- Add
workflow query-types
command to CLI by @arzonus in #5456 - Add unit test for cassandra workflow utils part-2 by @taylanisikdemir in #5480
- Unit tests for admin cli decode_thrift command by @taylanisikdemir in #5485
- Add unit test for sqlConfigStore by @Shaddoll in #5491
- Add unit test for mysql configstore by @Shaddoll in #5502
- Add persistence serialization unit tests by @3vilhamster in #5507
- Adding unit tests to workflowHandler_test.go by @sankari165 in #5500
- Add unit tests for AwaitWaitGroup by @arzonus in #5512
- Add unit test for sql domain store by @Shaddoll in #5508
- Add unit test for cassandra workflow utils part-3 by @taylanisikdemir in #5506
- Adding unit tests for RecordActivityTaskHeartbeat by @sankari165 in #5511
- add unit tests for ValidIDLength by @arzonus in #5520
- Test for rate limited wrappers around persistence clients by @3vilhamster in #5518
- Test for error injection clients by @3vilhamster in #5515
- Add unit test for sql history store by @Shaddoll in #5524
- Adding unit tests to RespondActivityTaskCompleted and RecordActivityT… by @sankari165 in #5521
- Add unit tests for IsEntityNotExistsError by @arzonus in #5528
- Add unit tests for CreateXXXRetryPolicy by @arzonus in #5527
- Add unit tests for ValidateRetryPolicy by @arzonus in #5529
- Add unit tests for ConvertGetTaskFailedCauseToErr by @arzonus in #5531
- Add unit tests for WorkflowIDToHistoryShard and DomainIDToHistoryShard by @arzonus in #5533
- Added a unit test for the timer.go file in reconciliation folder. by @agautam478 in #5505
- Adding logging to scanner.go by @agautam478 in #5535
- Adding a metric for hosts not being found in resolver by @davidporter-id-au in #5414
- Added logs to concrete_execution.go by @agautam478 in #5536
- Add unit tests for sql queue store by @Shaddoll in #5541
- Unit tests for timer/transfer queue processor pump loops by @taylanisikdemir in #5540
- Add unit tests for sql shard store by @Shaddoll in #5543
- Add unit test for kafka partition ack manager by @neil-xie in #5545
- Add unit tests for GenerateRandomString by @arzonus in #5532
- Add unit tests for IsValidContext by @arzonus in #5546
- Add unit tests for CreateChildContext by @arzonus in #5547
- Add unit tests for DeserializeSearchAttributeValue by @arzonus in #5548
- Add unit tests for GetSizeOfHistoryEvent by @arzonus in #5550
- Add unit tests for thrift mappers by @taylanisikdemir in #5542
- Add unit tests for sql task store by @Shaddoll in #5558
- Added logs into the current execution.go and a unit test by @agautam478 in #5555
- Add unit test for kafka producer impl by @neil-xie in #5559
- Add shard id to queue processor related metrics by @taylanisikdemir in #5557
- Add unit tests for sql execution store by @Shaddoll in #5565
- Add unit test for new Kafka client by @neil-xie in #5570
- Add unit tests for helper functions in sql execution store util by @Shaddoll in #5571
- Added tests for visibility sampling wrapper by @3vilhamster in #5564
- Add unit test for consumer impl by @neil-xie in #5573
- Add unit tests for workflow state non maps by @Shaddoll in #5578
- Add logs to debug timer tasks by @Shaddoll in #5581
- Added deprecated domain check to the taskvalidator by @agautam478 in #5580
- Add unit tests for IsServiceTransientError by @arzonus in #5551
- Add unit tests for for IsAdvancedVisibilityWritingEnabled by @arzonus in #5552
- Add unit tests for ValidateLongPollXXX by @arzonus in #5553
- Add grafana dashboard to visualize persistence metrics for default docker-compose setup by @taylanisikdemir in #5582
- Add missing exclude-query support to list-workflows on the CLI by @Groxx in #5583
- Add unit tests for DurationToXXX and XXXToDuration by @arzonus in #5530
- Add more debug logs for user timer task execution by @taylanisikdemir in #5595
- Add cache for workflow specific in memory data by @jakobht in #5594
- Added three dynamic config properties by @jakobht in #5602
- add ContextKey Struct by @bowenxia in #5606
- Adding a stale workflow check to the taskvalidator and code cleanup. by @agautam478 in #5604
- Added more error handling in workflow cache by @jakobht in #5611
Fixed
- Improves metric and error handling for history by @davidporter-id-au in #5469
- Address map access data race in matching engine by @taylanisikdemir in #5477
- fix docker compose tests by @3vilhamster in #5479
- Fix copying suite.Suite in integration tests by @3vilhamster in #5481
- fix scavenger test suite by @3vilhamster in #5490
- fix scavenger suite by @3vilhamster in #5498
- Fixing matching:TestCheckIdleTaskList test flackiness by @dkrotx in #5494
- fix leaky goroutines in matching by @3vilhamster in #5499
- Unit test for the fetcher/current.go. by @agautam478 in #5504
- More fixes for golint.sh by @Groxx in #5519
- Fix race between startup and shutdown in task reader by @Groxx in #5522
- Ensure scanner scavenger stops in tests by @3vilhamster in #5510
- Bugfix/debugging stuck tasklist by @davidporter-id-au in #5436
- Fix multiple lock acquire on membership update by @3vilhamster in #5576
- Properly catch errors in ldflag-gathering and fail the build by @Groxx in #5539
- Addressed sync issue in workflow cache by @jakobht in #5605
- fix a comment by @bowenxia in #5610
- Fixed lint errors introduced in previous PR by @jakobht in #5613
Changed
- Update kafka config to have isSecure option by @neil-xie in #5473
- Minor change to include domainTag and pass domainName. by @agautam478 in #5468
- Wrap isSecure config in config map for kafka topic by @neil-xie in #5474
- Update changelog for v1.2.6 release by @neil-xie in #5478
- Unify cassandra setup in docker-compose by @3vilhamster in #5482
- Unify logging in tests by @3vilhamster in #5487
- Updated the unit test for BlobstoreIterator into a table format by @agautam478 in #5488
- update cassandra dev setup by @3vilhamster in #5501
- Converted the existing test for concrete.go execution into a table test by @agautam478 in #5503
- Improve logs/metrics of HandleDecisionTaskCompleted by @taylanisikdemir in #5497
- Revert gofuzz usage by @3vilhamster in #5516
- Switch to gci, so we can actually auto-group imports by @Groxx in #5493
- Minor changes to improve readability of history's queue folder by @taylanisikdemir in #5517
- Refactor ValidIDLength by @arzonus in #5526
- Apply dependabot upgrade suggestions for x/net, x/crypto and grpc by @taylanisikdemir in #5537
- Improve history queue components shutdowns by @taylanisikdemir in #5525
- Switch timesource to jonboulle/clockwork by @3vilhamster in #5534
- Move persistence client wrappers to a dedicated folder by @3vilhamster in #5549
- Some refactoring in nosql folder by @taylanisikdemir in #5538
- Synchronous shutdown support for replication task fetcher by @taylanisikdemir in #5544
- Change metrics.ShardIDTag to allow int values by @3vilhamster in #5561
- Toggling off cross-cluster polling by default by @davidporter-id-au in #5563
- Use log level debug for local development by @taylanisikdemir in #5556
- Rework persistenceMetricClients to generated approach by @3vilhamster in #5560
- Ensure testlogger samples all logs by @3vilhamster in #5562
- Small refactoring in history task processors by @taylanisikdemir in #5566
- Generated files naming convention by @3vilhamster in #5574
- Switch all retryable client to gowrap by @3vilhamster in #5569
- Rework errorinjector clients to generated approach by @3vilhamster in #5579
- Rework metered clients to generated approach by @3vilhamster in #5575
- Extract JWT token group check for access by @mantas-sidlauskas in #5465
- Restore cadence-server builds, previously building the CLI twice by @Groxx in #5587
- Update access controlled frontend handlers to generated code by @Shaddoll in #5588
- Switch to cassandra 4.1.1 image because 4.1.3 stopped working on some linux distros by @taylanisikdemir in #5589
- Refactor frontend to split the code into multiple packages by @Shaddoll in #5590
- Update cluster redirection handler to generated code by @Shaddoll in #5591
- Update grpc handler to use generated code by @Shaddoll in #5596
- Update grpc clients to use generated code by @Shaddoll in #5598
- Update thrift clients to use generated code by @Shaddoll in #5599
- Update thrift handlers to use generated code by @Shaddoll in #5600
- Async workflow queue config idl changes and mapper updates by @taylanisikdemir in #5608
- Submodules step 1/2: convert archivers to a plugin architecture by @Groxx in #5597
- Use cacheEnabled dynamic config option by @jakobht in #5612
- Running each on their own line fixes the issue by @jakobht in #5614
- Submodules step 2/2: draw the rest of the owl by @Groxx in #5609
Removed
- deprecate logrus by @3vilhamster in #5483
- Getting rid of gomock.Finish by @dkrotx in #5486
- Remove time.Sleep usage from lru tests by @3vilhamster in #5489
- Delete unused dependency github.com/jonboulle/clockwork by @3vilhamster in #5509
New Contributors
Full Changelog: v1.2.6...v1.2.7