DEV Community

Mininglamp
Mininglamp

Posted on

Our First External PR: From Issue to Merge

Open-source projects remember the first star. Very few remember the first external pull request. The star is a number. The PR is a handover: you give the repository to someone you have never met, they hand back working code, and what happens in between decides whether they come back a second time.

Here is that process from the maintainer side, and what we would keep.

It starts with an issue someone can actually take

The first external PR did not start with code. It started with a bug report: after following the README install steps, one step produced output that did not match the documentation. The report had the environment, the version, reproduction steps, actual output, expected output, and a screenshot.

That is the easiest kind of issue to act on, because nothing has to be guessed. We labeled it open to external contributions and added the module where the problem lives, the acceptance criteria, and how to run the tests locally. Fifteen minutes of work that decides whether the issue gets picked up at all. A large share of open issues never get a reply, and usually the blocker is not difficulty. The entry requirements were never written down.

The middle: response cadence matters before code quality

A few days passed before the first pull request. That window was about letting the contributor know someone was watching: a reply within four hours to confirm the bug and the plan, then answers over the next two days to fill in design context.

An external contributor does not fear not finishing, they fear finishing in the wrong direction. So when the first patch arrived, we confirmed the approach and named the gap before touching code style. We also kept the PR's scope fixed. Scope creep is the most common reason new contributors disappear: one boundary condition becomes tests, docs, and a refactor, and the person is gone. Anything outside the original fix became a separate issue.

Merge: feedback as specific suggestions

Reviewing an external PR is not the same job as reviewing an internal one. Internal review optimizes for getting it right once. External review also has to be teachable. Our rule is to point at the line and the action: which input makes this logic fail, the expected behavior, and where useful a small sketch of the code.

For style, we push as much as possible into automated checks. Formatting, naming, and lint belong to CI, not to a reviewer's attention, and not to a discovery at the end.

After the last verification run passed, we merged and closed the loop inside the issue: a summary of what landed, thanks to the contributor, links to the follow-ups. That thread is an entry point for the next contributor and a record for the project.

Four things worth copying

  1. Every issue marked open to external contribution states scope, acceptance criteria, and how to run tests locally.
  2. First response within one business day. Confirm direction first, details second.
  3. Keep each PR inside its original scope. Everything else becomes a separate issue.
  4. Review with concrete suggestions. Let CI handle anything that can be automated.

None of these depend on project size. A small repository can do all four.

Community growth is engineering

Community growth is often filed under marketing. Most of it is engineering: reproducible issue templates, readable CI output, docs that work for a newcomer, a response cadence people can rely on.

T Mano-P covers on-device GUI automation and Octo is a workspace for human and AI collaboration. Mano-P's repository is github.com/Mininglamp-AI/Mano-P, with local deployment instructions and on-device numbers in the README. If the direction is useful to you, a GitHub star is the most direct way to help.

Top comments (0)