OpenFn / OpenFn/lightning

History doesn't show the right workflow snapshot

Open
#4,534 2 comments 0 reactions 1 assignee View on GitHub

@lmac-1 is already working on this.

Since Apr 8, 2026.

bug
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Steps to reproduce:

  1. User creates workflow_v1: webhook > adaptors A > B > C
  2. User clicks run on workflow_v1: creating work_order_1 and run_1
  3. User edits workflow to create workflow v2: webhook > adaptors B > C > D or A > B > C > D > E
  4. User clicks history tab > selects run_1
  5. User sees workflow_v2, not workflow_v1

To add insult to injury:
6. Switch to workflow_v1 in version picker
7. Click on run_v1
8. Canvas switches back to workflow_v2

Expected behaviour:
Viewing a run should show the right historical snapshot to match the logs

Image Image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.