Skip to content

refactor: Update matching executor configs#7547

Merged
gazi-yestemirova merged 8 commits intocadence-workflow:masterfrom
gazi-yestemirova:update_matching_configs
Dec 18, 2025
Merged

refactor: Update matching executor configs#7547
gazi-yestemirova merged 8 commits intocadence-workflow:masterfrom
gazi-yestemirova:update_matching_configs

Conversation

@gazi-yestemirova
Copy link
Contributor

@gazi-yestemirova gazi-yestemirova commented Dec 17, 2025

What changed?
Extracted the shard distributor executor client configuration for the matching service to config files instead of using hardcoded values.

Why?
This enables different environments to configure shard distributor settings without code changes.

How did you test it?
unit tests & local testing

Potential risks

Release notes

Documentation Changes

@gazi-yestemirova gazi-yestemirova changed the title refactor(matching): Update matching executor configs refactor: Update matching executor configs Dec 17, 2025
}
if reportTTL == 0 {
reportTTL = 1 * time.Minute
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong opinion on this, if you feel like this is redundant I can remove it @eleonoradgr

Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
This reverts commit 6e58464.

Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
This reverts commit 9f72d15.

Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Comment on lines +196 to +198
if len(cfg.Namespaces) > 0 {
reportTTL = cfg.Namespaces[0].TTLReport
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should log fatal here if there are more than one namespace define

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated with the logs

Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
@gazi-yestemirova gazi-yestemirova merged commit eaf6f11 into cadence-workflow:master Dec 18, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants