This page outlines how the team thinks about and handles issues in this repo. For us, issues on GitHub represent actionable work that should be done at some future point. It may be as simple as a small product or test bug or as large as the work tracking the design of a new feature. However, it should be work that falls under the charter of the team. We will keep issues open even if the team internally has no plans to address them in an upcoming release, as long as we consider the issue to fall under our purview and something we would potentially take a change for.
As noted above, we don't close issues just because we don't plan to address them in an upcoming release. So why do we close issues? There are few major reasons:
- Issues unrelated to code in this repo. When possible, we'll try to find a better home for the issue and point you to it.
- Cross cutting work better suited for another team. Sometimes the line between the framework, languages and runtime blurs. For some issues, we may feel that the work is better suited for the runtime team, language team or other partner. In these cases, we'll close the issue and open it with the partner team. If they end up not deciding to take on the issue, we can reconsider it here.
- Nebulous and Large open issues. Large open issues are sometimes better suited for User Voice, especially when the work will cross the boundaries of the framework, language and runtime. A good example of this is the SIMD support we recently added to the core libraries. This started as a User Voice request, and eventually turned into work for both the core libraries and runtime.
Sometimes after debate, we'll decide an issue isn't a good fit for the .NET runtime codebase. In that case, we'll also close it. Because of this, we ask that you don't start working on an issue until it's tagged with help wanted or api-approved. Both you and the team will be unhappy if you spend time and effort working on a change we'll ultimately be unable to take. We try to avoid that.
We use GitHub labels on our issues in order to classify them. We have the following categories per issue:
- Area: These area-* labels (e.g. area-System.Collections) call out the assembly or assemblies the issue applies to. In addition to labels per assembly, we have a few other area labels: area-Infrastructure, for issues that relate to our build or test infrastructure, and area-Meta for issues that deal with the repository itself, the direction of the .NET Core Platform, our processes, etc. See full list of areas.
- Issue Type: These labels classify the type of issue. We use the following types:
- bug: Bugs in an assembly.
- api-* (api-approved, api-needs-work, api-ready-for-review): Issues which would add APIs to an assembly (see API Review process for details).
- enhancement: Improvements to an assembly which do not add new APIs (e.g. performance improvements, code cleanup).
- test bug: Bugs in the tests for a specific assembly.
- test enhancement: Improvements in the tests for a specific assembly (e.g. improving test coverage).
- documentation: Issues related to documentation (e.g. incorrect documentation, enhancement requests).
- question: Questions about the product, source code, etc.
- Other:
- easy - Good for starting contributors.
- help wanted: Small sections of work which we believe are well scoped. These sorts of issues are a good place to start if you are new. Anyone is free to work on these issues.
- needs more info: Issues which need more information to be actionable. Usually this will be because we can't reproduce a reported bug. We'll close these issues after a little bit if we haven't gotten actionable information, but we welcome folks who have acquired more information to reopen the issue.
- wishlist - Issues on top of our backlog we won't likely get to. Warning: Might not be easy.
In addition to the above, we have a handful of other labels we use to help classify our issues. Some of these tag cross cutting concerns (e.g. tenet-performance), whereas others are used to help us track additional work needed before closing an issue (e.g. api-needs-exposed).
We use milestones to prioritize work for each upcoming release to NuGet.org.
We assign each issue to assignee, when the assignee is ready to pick up the work and start working on it. If the issue is not assigned to anyone and you want to pick it up, please say so - we will assign the issue to you. If the issue is already assigned to someone, please coordinate with the assignee before you start working on it.
Areas are tracked by labels area-* (e.g. area-System.Collections). Each area typically corresponds to one or more contract assemblies. To view owners for each area in this repository check out the area-owners.md page.
Area | Owners / experts | Description |
---|---|---|
Tizen | @gbalykov @t-mustafin | For issues around Tizen CI and build issues |
- Each issue has exactly one area-* label
- Issue has no Assignee, unless someone is working on the issue at the moment
- Use help wanted as much as possible, ideally notes about next steps / complexity of the issue / acceptance criteria
- Set milestone to Future, unless you can 95%-commit you can fund the issue in specific milestone
- Each issue has exactly one "issue type" label (bug, enhancement, api-needs-work, test bug, test enhancement, question, documentation, etc.)
- Don't be afraid to say no, or close issues - just explain why and be polite
- Don't be afraid to be wrong - just be flexible when new information appears
Feel free to use other labels if it helps your triage efforts (e.g. needs more info, Design Discussion, blocked, blocking-partner, tenet-performance, tenet-compatibility, os-linux/os-windows/os-mac-os-x/os-unsupported, os-windows-uwp/os-windows-wsl, arch-arm32/arch-arm64)
- Each issue has exactly one area-* label
- Motivation: Issues with multiple areas have loose responsibility (everyone blames the other side) and issues are double counted in reports.
- Issue has no Assignee, unless someone is working on the issue at the moment
- Motivation: Observation is that contributors are less likely to grab assigned issues, no matter what the repo rules say.
- Use help wanted as much as possible, ideally with a quick note about next steps / complexity of the issue
- Note: Per http://up-for-grabs.net, such issues should be no longer than few nights' worth of work. They should be actionable (i.e. no mysterious CI failures or UWP issues that can't be tested in the open).
- Set milestone to Future, unless you can 95%-commit you can fund the issue in specific milestone
- Motivation: Helps communicate desire/timeline to community. Can spark further priority/impact discussion.
- Each issue has exactly one "issue type" label (bug, enhancement, api-needs-work, test bug, test enhancement, question, documentation, etc.)
- Don't be afraid to be wrong when deciding 'bug' vs. 'test bug' (flip a coin if you must). The most useful values for tracking are 'api-*' vs. 'enhancement', 'question', and 'documentation'.
- Note: The api-* labels are important for tracking API approvals, the other issue type labels are in practice optional.
- Don't be afraid to say no, or close issues - just explain why and be polite
- Don't be afraid to be wrong - just be flexible when new information appears
- Each PR has exactly one area-* label
- Movitation: Area owners will get email notification about new issue in their area.
- PR has Assignee set to author of the PR, if it is engineer that does not work in this repo, then area owners are co-assignees
- Motivation #1: Area owners are responsible to do code reviews for PRs from external contributors. Committers know how to get code reviews from others.
- Motivation #2: Assignees will get notifications for anything happening on the PR.
- [Optional] Set milestone according to the branch the PR is against (main = 6.0, release/5.0 = 5.0)
- Motivation: Easier to track and audit where which fix ended up and if it needs to be ported into another branch (hence reflecting branch the specific PR ended up and not the abstract issue).
- Note: This is easily done after merge via simple queries & bulk-edits, you don't have to do this one.
- Any other labels on PRs are superfluous and not needed (exceptions: blocked, NO MERGE)
- Motivation: All the important info (issue type label, api approval label, OS label, etc.) is already captured on the associated issue.
- Push PRs forward, don't let them go stale (response every 5+ days, ideally no PRs older than 2 weeks)
- Stuck or long-term blocked PRs (e.g. due to missing API approval, etc.) should be closed and reopened once they are unstuck
- Motivation: Keep only active PRs. WIP (work-in-progress) PRs should be rare and should not become stale (2+ weeks old). If a PR is stale and there is not immediate path forward, consider closing the PR until it is unblocked/unstuck.
- PR should be linked to related issue, use auto-closing (add "Fixes #12345" into your PR description)