Skip to content

Stale pr implementation - #5571

Draft
jpkrowe wants to merge 3 commits into
MDAnalysis:developfrom
jpkrowe:stale-pr
Draft

jpkrowe wants to merge 3 commits into
MDAnalysis:developfrom
jpkrowe:stale-pr

Conversation

@jpkrowe

@jpkrowe jpkrowe commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #

Changes made in this Pull Request:

  • GitHub workflow implementation of the stale pr policy

LLM / AI generated code disclosure

  • I have read and understood MDAnalysis's AI policy in AI_POLICY.md.

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: yes
Claude helped draft the workflow

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS? (If it is not, add it!)
  • I have read and understand the current AI Policy
  • LLM/AI disclosure was updated.

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.

@read-the-docs-community

Copy link
Copy Markdown

📖 2 files modified


Preview · build overview · MDAnalysis · built Dec. 3, 2026, 6:22 p.m. UTC

@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.96%. Comparing base (396a4cd) to head (5c280eb).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5571   +/-   ##
========================================
  Coverage    93.96%   93.96%           
========================================
  Files          184      184           
  Lines        22679    22679           
  Branches      3228     3228           
========================================
  Hits         21310    21310           
  Misses         911      911           
  Partials       458      458           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@orbeckst orbeckst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to have the actual policy document (PR_POLICY.md ?) along. Some of the messages have requirements and make promises that I'd first like to see written out in a policy document instead of inferred from the workflow.

@@ -0,0 +1,93 @@
# Proposed stale-PR workflow

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Write it as if it was the final thing (ie not "proposed")

If you are still working on it, please **leave a comment** to remove
the stale label. Pushing commits alone keeps the PR open for another 7
days but doesn't remove the label. If you are waiting for a review,
say so and a maintainer will follow up.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "maintainer will follow up" puts the ball back into our court. Someone may need to make a decision to close the PR regardless. I hope maintainers will feel empowered to make this decision.

Perhaps our policy should say something along the lines that maintainers will give a reason when closing a PR?

the stale label. Pushing commits alone keeps the PR open for another 7
days but doesn't remove the label. If you are waiting for a review,
say so and a maintainer will follow up.
See the [stale PR policy](LINK-TO-POLICY).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to have a PR_POLICY.md file in the repo along with this PR? If so, it would be really good to also include it so that we can check that the workflow implements the policy.

Comment on lines +64 to +66
Anyone may also start a new PR that builds on this one,
linking it and crediting the original author.
See the [stale PR policy](LINK-TO-POLICY).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see the written policy entry.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants