Skip to content

[enhancement]: workflow json fields should be in stable order #8025

Open
@keturn

Description

@keturn

Is there an existing issue for this?

  • I have searched the existing issues

What should this feature add?

When I save my workflows to file, I'd like to avoid the extraneous diff noise that comes from the fields moving around. i.e. "version" might come first once, but "type" on a later re-save.

There should be some sort of canonical order to these, whether that's alphabetical or the order of the pydantic fields or whatever.

[example workflow diff]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions