-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Thinking about what the new deploy diff might look like
In v1, the diff just ran against the json representation of the state. Trivial things like arrays out of order would trigger a false diff.
I want the v2 diff to be a bit higher level, and data structure agnostic
- First we list all workflows that changed
- Then we list steps that have been added, removed or renamed (just name them, don't show an actual diff)
- Then for any step where properties have changed, render as key-value pairs what the differences are
- Maybe treat expression as binary for now. Or just show like a partial diff on the expression string, up to n characters
It might also be useful to get a machine-readable version of the diff. This is probably a JSON object with paths to diffs. Maybe at each path you have keys like { $new: true, $deleted: true, $diff }, where diff is the new value (for expression strings it's probably the whole string?)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
DevX Backlog