Skip to content

deploy diff: credential diffs are weird #1380

@josephjclark

Description

@josephjclark

When running openfn project deploy, we render a lovely diff so that you can see what has changed:

Image

But things get a bit wierd when you change a credential locally

  1. If you run the json diff, you see the new credential added to the top of json state. This is great! But this is missing in the rich diff
  2. Neither the JSON diff nor the rich diff reflects the same change on the step itself. Maybe this is because the UUID hasn't changed?

We probably need to look at how local credentials are managed at the same time, because I don't think the story is very convincing. Like what does it mean to add or rename a credential locally? What do we expect the provisioner to do on push?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions