OpenFn / OpenFn/kit

Checkout: show diff when warning of divergence

Open
#1,379 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CLI
Dominant language
TypeScript
Stars
21
Forks
23
Avg merge
1d 22h
Merged PRs (30d)
17

Description

When pushing changes via project deploy, we now show a beautiful diff to tell you what will change on push.

I'd like to integrate the same thing on checkout (perhaps with a flag like --diff), so that when checking out and you get a divergence error, we can report the changes that will be lost.

So I guess this is basically a diff for unstaged changes

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 by tracing the existing diff shown by project deploy, then find the checkout path that reports a divergence error. Determine how the checkout can expose the changes that would be lost, including whether a --diff flag is needed. Done means checkout divergence warnings report the relevant unstaged changes without changing normal checkout behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.