Issues & PRs
Overview

Issues & Pull Requests

â„šī¸

The Core Workflow

Issues and PRs are the primary communication mechanisms in open source. Master them, and you master open source contribution.

The Complete Cycle

The Two Pillars


Issue & PR Lifecycle

┌─────────────────────────────────────────────────────────────────────────────┐
│                        ISSUE → PR → MERGE TIMELINE                          │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                             │
│  Day 0        Day 1-3       Day 3-7         Day 7-14        Day 14-30       │
│  ═════        ════════       ═══════         ═════════       ═════════       │
│   │              │              │                │               │          │
│   │ Issue        │ Triage &     │ Development    │ Code Review   │ Merge    │
│   │ Created      │ Assignment   │ & Testing      │ & Iteration   │ or Close │
│   │              │              │                │               │          │
│   â–ŧ              â–ŧ              â–ŧ                â–ŧ               â–ŧ          │
│  Open      Acknowledged    PR Opened       Changes Made     Resolution     │
│                                                                             │
│  ◄──────────────── Typical: 2-4 weeks for first contribution ─────────────â–ē│
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

Success Metrics

What Makes Issues Get Addressed

FactorImpactWhy It Matters
Clear reproduction stepsđŸ”ĨđŸ”ĨđŸ”ĨMakes the problem actionable
Recent activityđŸ”ĨđŸ”ĨShows it's still relevant
Affects many usersđŸ”ĨđŸ”ĨđŸ”ĨHigher priority
Has error logsđŸ”ĨđŸ”ĨEasier to debug
Respectful toneđŸ”ĨPeople want to help

What Makes PRs Get Merged

FactorImpactWhy It Matters
Small scopeđŸ”ĨđŸ”ĨđŸ”ĨEasier to review
Tests includedđŸ”ĨđŸ”ĨđŸ”ĨReduces risk
Good descriptionđŸ”ĨđŸ”ĨContext for reviewers
Follows conventionsđŸ”ĨđŸ”ĨMaintainable code
Responsive to feedbackđŸ”ĨđŸ”ĨđŸ”ĨShows professionalism

Quality Spectrum


Section Overview

Raising Good Issues

Learn to write bug reports and feature requests that maintainers actually want to read

Bug vs Feature

Know the difference and use the right template for each

Writing High-Quality PRs

Small, focused, tested changes that reviewers love

PR Templates

The anatomy of a perfect PR description

Code Review Response

How to handle feedback professionally and efficiently

Handling Rejection

Not all PRs merge. Learn to fail gracefully and improve

Iterating on Feedback

Speed up the review cycle with smart responses

Closing PRs

How to clean up and move forward


Common Mistakes

Issue Mistakes

âš ī¸

These Get Issues Closed Without Action

  • "It doesn't work" (no details)
  • Asking for ETAs or demanding fixes
  • Not checking if already reported
  • Missing reproduction steps
  • Opening issues that belong in discussions

PR Mistakes

âš ī¸

These Get PRs Ignored or Rejected

  • No description or "small fix" without context
  • Massive diffs touching unrelated files
  • No tests when tests are expected
  • Ignoring CI failures
  • Being defensive about feedback

Time Expectations

Reality check:

  • First response to issue: 1-3 days (sometimes 1-2 weeks)
  • First PR review: 2-7 days (sometimes longer)
  • Total time to merge first PR: 2-6 weeks average

The Mindset Shift

❌ Wrong Mindset

"I'll open an issue and get an immediate response"
"My PR is perfect, reviewers are nitpicking"
"I'll make one huge PR with all my changes"
"If my PR doesn't merge, the maintainers are biased"

✅ Right Mindset

"I'll provide all the info maintainers need upfront"
"Reviews improve my code and teach me conventions"
"I'll make small PRs that are easy to review"
"If my PR doesn't merge, I'll learn why and improve"

Quick Reference

Issue Checklist

  • Searched for existing issues
  • Clear, descriptive title
  • Reproducible steps provided
  • Environment details included
  • Logs/screenshots attached
  • Respectful, professional tone

PR Checklist

  • Linked to an issue
  • Small, focused changes
  • Tests added/updated
  • CI passing
  • Good PR description
  • Follows project conventions

Ready to Master the Workflow?

Let's start with the foundation:

âžĄī¸ How to Raise a Good Issue →


Remember: Issues and PRs are conversations, not transactions. Approach them with respect, clarity, and patience.