Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 5.22 KB

ISSUE_TRIAGE.md

File metadata and controls

67 lines (45 loc) · 5.22 KB

Issue Triage

This document describes the process Apollo contributors use to organize issues. We use Github issues to track bugs and feature requests. Our goal is to maintain a list of issues that are relevant and well-defined (and labeled) such that a contributor can immediately begin working on the code for a fix or feature request. Contributors who want to dive in and write code aren't likely to prioritize working on issues that are ambiguous and have low impact.

We would love to have more contributors who are willing to help out with triaging issues. You can begin by helping issue requesters create good reproductions and by confirming those reproductions on your own machine. It won't be long before the core maintainers notice your work and ask whether you'd like to be promoted to an issue maintainer.

Issue lifecycle

All issues follow the flow outlined below. Your job as an issue maintainer is to work with the requester and others within the community towards the goal of having an issue either become 'claimable' or closed. Read on for more details on the process.

Flowchart

The first step is in determining whether the issue is a bug, help question or feature request. Read on for more details.

Bugs

  1. Duplicates should be closed and marked as such.
  2. If the bug would be better filed under a different repository (react-apollo, graphql-tag, graphql-anywhere, etc. ), close the issue and politely point the author to the right location.
  3. Add the bug label. Bugs should have a high-quality reproduction as described here. You may need to help the reporter reduce their bug to a minimal reproduction. Leave the issue open.
  4. A reproduction should be confirmed by at least one person other than the original reporter. Run the reproduction and validate that the bug exists; then make a note of your findings on the issue. If a reproduction is supplied but doesn't work, add the can't-reproduce label and make a comment describing what happened.
  5. Finally, once you've confirmed the reproduction add the confirmed label and classify the issue (removing the can't-reproduce label if it exists).

Help questions

Stack Overflow and our Slack channel are the place to ask for help on using the framework. Close issues that are help requests and politely refer the author to the above locations.

Feature requests

  1. For reasons described here, we would prefer features to be built as separate packages. If the feature can clearly be built as a package, explain this to the requester and close the issue.
  • If the feature could be built as a package and serves a particular need, encourage the user to contribute it themselves.
  • If the underlying issue could be better solved by existing technology, encourage them to seek help in the Slack channel or on Stack Overflow.
  1. If you haven't closed the issue, add the feature label.
  2. If it's not possible to build the feature as a package (as you identified in step 1), explore whether creating hooks in core would make it possible to do so. If it would, redefine the issue as a request to create those hooks.
  3. Work with the requester and others in the community to build a clear specification for the feature and update the issue description accordingly.
  4. Finally, add the confirmed label and classify the issue.

Core contributors may add the help-wanted label to feature requests. This indicates the feature is aligned with the project roadmap and a high-quality pull request will almost certainly be merged.

Classification

Assign a classification (via GH labels) that enables the community to determine how to prioritize which issues to work on.

Priority

  • high-priority: Issue impacts more or less every user.
  • medium-priority: Issue impacts users using a feature that is commonly but not universally used.
  • low-priority: Issue would go unnoticed by almost all users, apart from those using a very niche feature, or a feature in an unusual way.

Issues ready to claim

This state indicates that bugs/feature requests have reached the level of quality required for a contributor to begin writing code against (you can easily filter for this list by using the confirmed label).

Although this should have already been done by this stage, ensure the issue is correctly labeled and the title/description have been updated to reflect an accurate summary of the issue.

Contributors should comment on and/or assign themselves an issue if they begin working on it so that others know work is in progress.