A PR built on top of unmerged work should show only its own changes

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
git, github, python

Research direction

Start by reading the code that opens pull requests and the merge check that evaluates them; the issue does not name files or tests. Trace how the tool chooses a PR's target branch and constructs its description, then identify where it can detect dependent work and compare diff size with the PR's own commits. Done means a dependent PR shows only its own commits and files.

Written by the indexing model from the issue text.

Description

Platform PR #614 (https://github.com/tangentcode/platform/pull/614) was branched from the work branch but targets main, so GitHub shows 636 commits and 779 changed files, of which only 27 commits are its own. Every Codex round (7 this week) was asked to review the whole work branch, and anyone reading the PR can't tell what it actually changes.

Proposal: when a PR needs changes that are not on main yet, the tool that opens it should either target the branch it was built on, or say in the PR which earlier PRs it builds on and give reviewers a link that compares against that branch. The merge check should also flag a PR whose diff is many times larger than its own commits.

Done when: a new dependent PR shows only its own commits and files.

Found in the weekly Codex review for Nov 23–30.

Dominant language
Python
Stars
3
Forks
0
Avg merge
5h 57m
Merged PRs (30d)
60

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from tangentcode/tangentswarm

All issues in tangentcode/tangentswarm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.