Skip to content

Add tdbg command for 'schedule migrate'#9502

Merged
lina-temporal merged 2 commits intomainfrom
tdbg-migrate-schedule
Mar 16, 2026
Merged

Add tdbg command for 'schedule migrate'#9502
lina-temporal merged 2 commits intomainfrom
tdbg-migrate-schedule

Conversation

@lina-temporal
Copy link
Copy Markdown
Contributor

What changed?

  • Added the 'tdbg schedule migrate' command

Why?

  • Allows us an operator to manually trigger a migration (roll forward or backward) to a schedule via tdbg CLI

How did you test it?

  • Tested manually with V1->CHASM direction. Verified (via temporal and tdbg) CHASM scheduler was created, V1 scheduler workflow closed successfully.

@lina-temporal lina-temporal requested review from a team as code owners March 12, 2026 19:18
return nil
}

var schedulerTargets = map[string]adminservice.MigrateScheduleRequest_SchedulerTarget{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we'll only have 2 targets for the foreseeable future. could you just inline this with a switch statement?

@lina-temporal lina-temporal enabled auto-merge (squash) March 16, 2026 19:06
@lina-temporal lina-temporal merged commit c52d2b7 into main Mar 16, 2026
68 of 70 checks passed
@lina-temporal lina-temporal deleted the tdbg-migrate-schedule branch March 16, 2026 19:40
birme pushed a commit to eyevinn-osaas/temporal that referenced this pull request Mar 23, 2026
## What changed?
- Added the 'tdbg schedule migrate' command

## Why?
- Allows us an operator to manually trigger a migration (roll forward or
backward) to a schedule via tdbg CLI

## How did you test it?
- Tested manually with V1->CHASM direction. Verified (via `temporal` and
`tdbg`) CHASM scheduler was created, V1 scheduler workflow closed
successfully.
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