Skip to content

Handling Stale Issues and Pull Requests

William edited this page Nov 20, 2020 · 5 revisions

This document is in development. See Issue #8306 for more information about what will go here.

Document Content

Trilinos uses a Github Action script to handle automatic closing of issues and pull requests which have gone stale due to inactivity according to the following policy:

  1. Issues that have had no activity for 1 year will be labeled MARKED_FOR_CLOSURE
  2. Pull Requests that have had no activity for 1 year will be labeled MARKED_FOR_CLOSURE
  3. Issues and Pull Requests will be automatically closed 30 days after being marked for closure and will receive the label CLOSED_DUE_TO_INACTIVITY
  4. Issues may be exempted from automatic closure by applying the label DO_NOT_AUTOCLOSE
  5. Pull Requests are not exempted from the auto-closer. Pull Requests that have had no activity in 395 days would be automatically closed which is reasonable since Trilinos itself changes over time. Long term tasks and projects should be tracked in an Issue.

This table describes the list of labels relevant to the auto-closer tool:

Label Issue? PR? Description
MARKED_FOR_CLOSURE X X Issue or PR is marked for auto-closure due to inactivity.
CLOSED_DUE_TO_INACTIVITY X X Issue or PR was automatically closed due to inactivity.
DO_NOT_AUTOCLOSE X This issue should not be automatically closed due to inactivity.

Comments added to Issues and PR's

The automated tool will post a message in the comments section when it modifies an issue or PR to indicate the action taken:

Inactive Issue Message

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.

If you would like to keep this issue open please add a comment and remove the MARKED_FOR_CLOSURE label.

If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.

Closed Issue Message

This issue was closed due to inactivity for 395 days.

Inactive PR Message

This Pull Request has been marked for closure due to inactivity.

Because of the changing nature of the Trilinos source due to active development, a pull request with no activity for 365 days is considered to be abandoned and will be automatically closed after 30 additional days of inactivity from when it was marked inactive.

If this should be kept open, please post a comment and remove the label MARKED_FOR_CLOSURE to reset the inactivity timer.

Closed PR Message

This Pull Request has been automatically closed due to 395 days of inactivity.

Clone this wiki locally