Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
41d272f
feat: Add MigrateSchedule RPC for V1 to V2 scheduler migration
chaptersix Feb 9, 2026
fbfe65f
feat: Add CreateSchedulerFromMigration for CHASM scheduler
chaptersix Feb 9, 2026
078bcb2
Merge branch 'main' into chasm-sch-v1-v2
chaptersix Feb 10, 2026
2d7fdeb
fix: wrap migration state in MigrateScheduleRequest and add V1-to-V2 …
chaptersix Feb 11, 2026
ddcb708
test: add unit tests for V1 scheduler migration activity and workflow
chaptersix Feb 11, 2026
0b2a255
fix: validate identity field in MigrateSchedule admin handler
chaptersix Feb 11, 2026
7628d8f
test: consolidate CHASM migration tests
chaptersix Feb 11, 2026
c3ada2d
chore: merge upstream/main into chasm-sch-v1-v2
chaptersix Feb 12, 2026
5100884
feat: add logging and metrics for V1-to-CHASM schedule migration
chaptersix Feb 18, 2026
4308a29
feat: pause V1 scheduler during CHASM migration
chaptersix Feb 18, 2026
c321d29
Merge branch 'main' into chasm-sch-v1-v2
chaptersix Feb 18, 2026
24a8157
chore: add TODO comments for MigrateSchedule handler
chaptersix Feb 18, 2026
1111823
fix: move migration metrics and logs from activity to workflow level
chaptersix Feb 24, 2026
e1f6b86
chore: merge main into chasm-sch-v1-v2
chaptersix Feb 24, 2026
7861af8
refactor: address PR review feedback for V1-to-CHASM migration
chaptersix Feb 24, 2026
be87ad7
feat: persist pending migration flag in scheduler state
chaptersix Feb 24, 2026
89f6578
refactor: rename migration RPCs and signals to be direction-specific
chaptersix Feb 24, 2026
24142aa
fix: correct gci column alignment in workflow.go
chaptersix Feb 24, 2026
e5b3555
fix: use AlreadyExists error for duplicate migration, matching Create…
chaptersix Mar 1, 2026
878acc0
refactor: use shared constructors for scheduler components in migrati…
chaptersix Mar 1, 2026
e2e9920
fix: honor force-CAN signal with fixed iteration count
chaptersix Mar 1, 2026
f062eae
Merge branch 'main' into chasm-sch-v1-v2
chaptersix Mar 1, 2026
5c71751
fix: match CreateSchedule pattern in CreateFromMigrationState handler
chaptersix Mar 2, 2026
8efb9f6
fix: lint errors in migration tests
chaptersix Mar 2, 2026
7dfe4ce
refactor: add migration direction tag to schedule migration metrics
chaptersix Mar 9, 2026
5329c1b
fix: increase migration local activity schedule-to-close timeout to 10m
chaptersix Mar 9, 2026
d1d0290
fix: align metric constant formatting after goimports
chaptersix Mar 9, 2026
ff91156
Merge branch 'main' into chasm-sch-v1-v2
chaptersix Mar 10, 2026
e590c27
fix: address PR review comments for scheduler migration
chaptersix Mar 11, 2026
c29c62b
Merge remote-tracking branch 'upstream/main' into chasm-sch-v1-v2
chaptersix Mar 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions api/schedule/v1/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions chasm/lib/scheduler/backfiller.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,23 @@ func addBackfiller(
scheduler *Scheduler,
) *Backfiller {
id := schedulescommon.GenerateBackfillerID()
backfiller := &Backfiller{
BackfillerState: &schedulerpb.BackfillerState{
BackfillId: id,
LastProcessedTime: timestamppb.New(ctx.Now(scheduler)),
},
}
backfiller := newBackfillerWithState(ctx, &schedulerpb.BackfillerState{
BackfillId: id,
LastProcessedTime: timestamppb.New(ctx.Now(scheduler)),
})

if scheduler.Backfillers == nil {
scheduler.Backfillers = make(chasm.Map[string, *Backfiller])
}
scheduler.Backfillers[id] = chasm.NewComponentField(ctx, backfiller)

return backfiller
}

func newBackfillerWithState(ctx chasm.MutableContext, state *schedulerpb.BackfillerState) *Backfiller {
backfiller := &Backfiller{
BackfillerState: state,
}
backfiller.scheduleTask(ctx, chasm.TaskScheduledTimeImmediate)
return backfiller
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading