Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pull request checklist #8670

Merged

Conversation

zacharyburnett
Copy link
Collaborator

@zacharyburnett zacharyburnett commented Jul 24, 2024

using points from @nden 's email

old checklist

Checklist for PR authors (skip items if you don't have permissions or they are not applicable)

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR
  • All comments are resolved
  • Make sure the JIRA ticket is resolved properly

new checklist

Tasks

  • request a review from someone specific, to avoid making the maintainers review every PR
  • add a build milestone, i.e. Build 11.3 (use the latest build if not sure)
  • Does this PR change user-facing code / API?
    • add an entry to CHANGES.rst within the relevant release section (otherwise add the no-changelog-entry-needed label to this PR)
    • update or add relevant tests
    • update relevant docstrings and / or docs/ page
    • start a regression test and include a link to the running job (click here for instructions)
      • Do truth files need to be updated ("okified")?
        • after the reviewer has approved these changes, run okify_regtests to update the truth files
  • if a JIRA ticket exists, make sure it is resolved properly

@zacharyburnett zacharyburnett self-assigned this Jul 24, 2024
@github-actions github-actions bot added the automation Continuous Integration (CI) and testing automation tools label Jul 24, 2024
@zacharyburnett
Copy link
Collaborator Author

zacharyburnett commented Jul 24, 2024

new pull request checklist looks like this:

Tasks

  • request a review from someone specific, to avoid making the maintainers review every PR
  • add a build milestone, i.e. Build 11.3 (use the latest build if not sure)
  • Does this PR change user-facing code / API?
    • add an entry to CHANGES.rst within the relevant release section (otherwise add the no-changelog-entry-needed label to this PR)
    • update or add relevant tests
    • update relevant docstrings and / or docs/ page
    • start a regression test and include a link to the running job
      • Do truth files need to be updated ("okified")?
        • after the reviewer has approved these changes, run okify_regtests to update the truth files
  • if a JIRA ticket exists, make sure it is resolved properly

@zacharyburnett zacharyburnett force-pushed the update/pull_request_template branch 3 times, most recently from 04a511d to 60e7b50 Compare July 24, 2024 13:57
@zacharyburnett zacharyburnett marked this pull request as ready for review July 24, 2024 14:02
@zacharyburnett zacharyburnett requested a review from a team as a code owner July 24, 2024 14:02
@zacharyburnett zacharyburnett requested a review from nden July 24, 2024 14:02
@zacharyburnett zacharyburnett changed the title update pull request template checklist update pull request checklist Jul 24, 2024
@zacharyburnett zacharyburnett force-pushed the update/pull_request_template branch from ab465ae to 5dc8df6 Compare July 24, 2024 14:33
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.83%. Comparing base (19d46a0) to head (542b3ce).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8670      +/-   ##
==========================================
+ Coverage   60.73%   60.83%   +0.09%     
==========================================
  Files         373      373              
  Lines       38624    38636      +12     
==========================================
+ Hits        23458    23503      +45     
+ Misses      15166    15133      -33     

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

@zacharyburnett zacharyburnett added this to the Build 11.1 milestone Jul 24, 2024
@zacharyburnett zacharyburnett force-pushed the update/pull_request_template branch 2 times, most recently from 674ec5c to 726d875 Compare July 24, 2024 15:19
@zacharyburnett zacharyburnett marked this pull request as draft July 24, 2024 15:21
@zacharyburnett zacharyburnett marked this pull request as ready for review July 24, 2024 15:22
Copy link
Collaborator

@melanieclarke melanieclarke left a comment

Choose a reason for hiding this comment

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

A couple questions/comments:

  • Can we make it clear that these are tasks for PR authors who are also pipeline developers? Some of these tasks can't be done without developer permissions on the repo - we should still note that, or separate those out, so external PR authors are not confused.
  • Can we link to the docs for "start a regression test" instead of, or in addition to, the workflow page?

@zacharyburnett
Copy link
Collaborator Author

zacharyburnett commented Jul 29, 2024

A couple questions/comments:

  • Can we make it clear that these are tasks for PR authors who are also pipeline developers? Some of these tasks can't be done without developer permissions on the repo - we should still note that, or separate those out, so external PR authors are not confused.
  • Can we link to the docs for "start a regression test" instead of, or in addition to, the workflow page?

How's this:

Tasks

  • request a review from someone specific, to avoid making the maintainers review every PR
  • add a build milestone, i.e. Build 11.3 (use the latest build if not sure)
  • Does this PR change user-facing code / API?
    • add an entry to CHANGES.rst within the relevant release section (otherwise add the no-changelog-entry-needed label to this PR)
    • update or add relevant tests
    • update relevant docstrings and / or docs/ page
    • start a regression test and include a link to the running job (click here for instructions)
      • Do truth files need to be updated ("okified")?
        • after the reviewer has approved these changes, run okify_regtests to update the truth files
  • if a JIRA ticket exists, make sure it is resolved properly

@melanieclarke
Copy link
Collaborator

That looks better. Thanks!

@zacharyburnett zacharyburnett force-pushed the update/pull_request_template branch from 21a4eb8 to a30808f Compare September 5, 2024 19:00
Copy link
Collaborator

@nden nden left a comment

Choose a reason for hiding this comment

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

@zacharyburnett I'm approving this and assuming you will take care of the item about CHANGES.rst when towncrier is enabled.

@nden nden merged commit f429117 into spacetelescope:master Sep 7, 2024
29 checks passed
@zacharyburnett zacharyburnett deleted the update/pull_request_template branch September 8, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Continuous Integration (CI) and testing automation tools no-changelog-entry-needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants