Skip to content

Declarative schedule sync detects false updates when comparing default UTC timezone #5066

Open

Description

@shafiktanbir

When syncing declarative schedules where the task schedule omits an explicit timezone, the sync routine marks the schedule as modified on every deployment. In syncDeclarativeSchedules, comparing the existing database schedule timezone ("UTC") against the undefined task schedule timezone triggers an unnecessary schedule update.

Can send a quick PR normalizing timezone defaults before the diff check if that helps!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions