Skip to content

Conversation

@yycptt
Copy link
Member

@yycptt yycptt commented Dec 23, 2025

What changed?

  • Remove component shardingFn option

Why?

  • With separate ID space per archetypes, we don't have an immediate use case right now for customizing shardingFn per archetype.
  • It's also not fully implemented right now and not weird into history client, so dropping to support to avoid confusing.
  • If we need the feature later, we can revert this PR.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@yycptt yycptt requested review from a team as code owners December 23, 2025 21:32
}

// WorkflowIDToHistoryShard is used to map namespaceID-workflowID pair to a shardID.
// TODO: rename to BusinessIDToHistoryShard.
Copy link
Member Author

Choose a reason for hiding this comment

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

I will do the renaming in a separate PR as there are lots of usage on this function.

@yycptt yycptt force-pushed the chasm-remove-sharding-fn branch from 3e23269 to 16bebed Compare December 23, 2025 22:32
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.

1 participant