modular / modular/stack-pr

Bug: View does not indicate necessary actions after rebase

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
569
Forks
43
PR merge metrics
No merged PRs in 30d

Description

When I locally rebase my stack on the main branch, e.g. main branch has some new commits which should be included in my stack, I have to force push my branch(es) to remote. I therefore perform the following actions:

  1. git rebase main
  2. stack-pr view
  3. stack-pr submit

The force pushes arrive on the remote and the eventual result works. However, the 2nd step/view does not show any necessary action. What I would like is some indicator that the stack has to be submitted again because of a different/newer base.

Contributor guide

Open the contributing guide

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

Reproduce the workflow with git rebase main, stack-pr view, and stack-pr submit, focusing on the missing indication after the rebase. Trace the stack-pr view and stack-pr submit entry points to determine how base differences are detected; done means view clearly signals when the stack must be submitted again.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.