Skip to content

Conversation

@yycptt
Copy link
Member

@yycptt yycptt commented Dec 27, 2025

What changed?

  • Support separate ID spaces for different archetypes in Cassandra persistence.

Why?

  • Separate ID space workstream

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 marked this pull request as ready for review December 29, 2025 22:05
@yycptt yycptt requested review from a team as code owners December 29, 2025 22:05
func getCurrentRecordRunID(
archetypeID chasm.ArchetypeID,
) string {
if archetypeID == chasm.WorkflowArchetypeID || archetypeID == 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

archetypeID == UnspecifiedArchetypeID instead of archetypeID = 0?

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 actually should remove the == 0 check, it will never be 0.

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch!

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