OpenFn / OpenFn/lightning

Show what changed between two versions

Open
#5,170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

phase:2-later Sandboxes DevX
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

As a person responsible for a live workflow, I want to see what changed between two versions, so that I can tell what a release actually did without opening both and reading them side by side.

Part of #4852 (Sandbox DevX epic). Phase 2, builds on version recording (#4866).

Outcome

Picking a version in the history shows what is in it: which steps were added, removed or changed, which triggers moved, which credentials were swapped. The content is already there, since every version points at the workflow exactly as it was published.

The commonest question about a live workflow is what changed on the day it started failing. Today the history answers who published it and when, and stops. The only way to the rest is to open both versions and compare them by eye, which nobody does at three in the morning.

Scope

  • A comparison between a version and the one before it, and between any version and what is live now.
  • Shown where the version is, in the editor's version list.
  • Read-only. Restoring is a separate action and already exists (#4864).

Notes

This is the sibling of #4931, which shows how much changed. That one is a size, this one is the substance, and the two want the same comparison underneath.

There is already a component that renders a workflow difference, built for the AI assistant's suggestions. Worth looking at before writing a second one.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the editor's version list and locate the existing component that renders a workflow difference for the AI assistant. Trace how versions point to published workflows and how the comparison can support a version against its predecessor or the live version. Done means a read-only comparison shows added, removed, and changed steps, moved triggers, and swapped credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.