Files
tasks/chasm/scheduler.go
Yichao YangandGitHub 63839f1a9d CHASM: Propagate ArchetypeID (#8693)
## What changed?
- Use archetypeID everywhere in history service and pass them to
persistence

## Why?
- Required for separate ID space work.

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)
2025-11-26 16:04:44 -08:00

15 lines
458 B
Go

package chasm
// This file defines constants for Scheduler which is special to the CHASM framework
// because it shares the same ID space with Workflow for backwards compatibility reasons.
const (
SchedulerLibraryName = "scheduler"
SchedulerComponentName = "scheduler"
)
var (
SchedulerArchetype = Archetype(fullyQualifiedName(SchedulerLibraryName, SchedulerComponentName))
SchedulerArchetypeID = ArchetypeID(generateTypeID(SchedulerArchetype))
)