Skip to content

Address dnr review comments on #9395#9539

Open
ShahabT wants to merge 1 commit intotemporalio:mainfrom
ShahabT:dispatch-latency-comments-clean
Open

Address dnr review comments on #9395#9539
ShahabT wants to merge 1 commit intotemporalio:mainfrom
ShahabT:dispatch-latency-comments-clean

Conversation

@ShahabT
Copy link
Contributor

@ShahabT ShahabT commented Mar 16, 2026

Summary

Follow-up to #9395 addressing review comments:

  • Fix comment table alignment to use spaces instead of tabs for correct GitHub rendering
  • Simplify nil check in getCreateTime using proto getter (handles nil receiver)
  • Rename runSuiteWithMatchingBehaviorsrunTaskQueueStatsSuiteWithMatchingBehaviors (suite-specific)
  • Remove redundant MatchingUseNewMatcher from test opts (already set globally in functional tests)
  • Move MatchingForwarderMaxChildrenPerNode into MatchingBehavior.Options()

Test plan

  • Builds with -tags test_dep
  • Existing functional tests pass

🤖 Generated with Claude Code

- Fix comment table alignment to use spaces instead of tabs
- Simplify nil check in getCreateTime using proto getter
- Rename runSuiteWithMatchingBehaviors to runTaskQueueStatsSuiteWithMatchingBehaviors
- Remove redundant MatchingUseNewMatcher (already set in all functional tests)
- Move MatchingForwarderMaxChildrenPerNode into matching behavior Options()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ShahabT ShahabT requested review from a team as code owners March 16, 2026 20:36
func (b MatchingBehavior) Options() []TestOption {
var opts []TestOption
opts := []TestOption{
WithDynamicConfig(dynamicconfig.MatchingForwarderMaxChildrenPerNode, 3),
Copy link
Contributor

Choose a reason for hiding this comment

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

add this to https://github.com/temporalio/temporal/blob/main/tests/testcore/functional_test_base.go#L621 also (and we should consolidate those so there's only one copy of this logic)

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.

2 participants