-
Notifications
You must be signed in to change notification settings - Fork 253
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 PR template organization, adding commit message and priority section. #2053
Update PR template organization, adding commit message and priority section. #2053
Conversation
@jkbk2004 @DeniseWorthen @junwang-noaa @FernandoAndrade-NOAA @zach1221 Please look this through and let me know if there's anything I'm missing or a change needed to make this work for everyone. I've taken into account what I've heard from others, so please do add any input from what you're hearing. |
It looks like Cheyenne is still being referenced on lines |
Right, confirming, it's Hera, Derecho and Hercules that will support the GNU tests (soon)? |
- [ ] Fill out all sections of this template. | ||
- [ ] All sub component pull requests have been reviewed by their code managers. | ||
- [ ] Run the full RT suite (compared to current baselines) on either Hera/Derecho/Hercules AND have committed the log to my PR branch. | ||
- [ ] Add list of all failed regression tests in "Regression Tests" section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [ ] Add list of all failed regression tests in "Regression Tests" section. | |
- [ ] Add a list of all failed regression tests in the Regression Tests section. If tests fail, I have confirmed that *only* those tests which are expected to fail do in fact fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BrianCurtis-NOAA if we have rt.sh updated with capability of running full test and commit the log file, then we don't need to have this item here, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that would be a change we could bring in with the PR that would make the rt.sh changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the step to commit the logs could be automated. But I specifically want developers to verify that only the tests they expected to fail do in fact fail. It should not be up to CMs to go through the list and verify that.
If we automate the pre-test, can we add a synopsis that clarifies
X tests failed comparison,
Y tests ran to completion (if X ne Y, then note a large message would be added)
Z compilations were completed (if Z ne expected number of compiles, then an large message added).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally the PR authors should provide 'new_baselines' file which contains the list of tests that need new baselines, and that file can then be used (by both developer(s) and code managers) to generate new baselines and verify against them. That is more useful than a log file. See #1834.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be a mistake not to emphasize that developers must know (and report) that only the expected tests fail. They can do with a log, or maybe in a 'new baseline' file. But I've seen too many cases where logs are posted and it seems that nobody looked at them----tests didn't compile, they didn't run, or totally unexpected ones failed.
I have to note that a lot of priority PRs have been requested without evidence of meeting all the criteria. |
It's an interesting issue to have, isn't it. With UFS applications moving rapidly into operations, this might become more of a norm where you have a large sum of priority PR's but can't ignore the normal priority PR's. Do you try to fit in a normal priority PR once a week, once every 2 weeks, once a month? |
I read your comment wrong, but what I said still holds. High priority should only be for implementations/retros, and bugfix has to be something that impacts the current dev branch negatively. (wrong answers, typically) |
I understand. I think it will get better when we cut daily baseline workload and reprioritize and start using weekly and monthly stable baseline runs. |
We don't really have a list of requirements that constitute "priority". I think wanting to start some set of runs is not the same as having allocated CPU resources that start on a specific date, or needing a change completed in order to finalize a configuration for an implementation. |
I've updated with most (if not all) of your suggestions. Please let me know of anything else! |
.github/pull_request_template.md
Outdated
- [ ] High (This PR contains a feature or fix needed for a time-sensitive project (eg, retrospectives, implementations)) | ||
- [ ] Normal | ||
#### Prioriry Reasoning | ||
<!-- Provide reasoning for your priority above. This is required for Bugfix and High priority items. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does "bugfix" really need a reason? Why would we not want to fix bugs as a priority?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the word "justification" might be better instead of "reasoning"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, I can think of no justification for not prioritizing a bug fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK but let's say you have 5 bugfix PR's, they're all classified at the top of the commit queue automatically. Maybe with reasoning, one of them ends up needing the highest of highest priorities.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DeniseWorthen I think that it's possible most items coming into PR's for UFSWM are considered a bug fix (Look at #2043 ). I think we should make sure that only critical bug fixes should be prioritized. I am OK removing the "justification", as long as I can change "Bugfix" to "Critical Bugfix".
…nodi + #2047, #2053, and #2056 (#2044) FV3 diagnostic fixes, CCPP fixes for model crashes, new PR template - UFS: - commit message in PR template (#2053) - fix hercules crashes (#2015) - CMEPS & FV3: Bad data from in CCPP CLM Lake physics scheme caused model crashes - Communicate changes to lake ice (Closes #2055, NOAA-EMC/CMEPS#105, NOAA-EMC/fv3atm#741) - unit mismatch (NOAA-EMC/fv3atm#736) - FV3: correct errors in diagnostic calculations - snodi had weasdi data in it (NOAA-EMC/fv3atm#736) - revisions to RUC LSM snowfall melting and accumulation (NOAA-EMC/fv3atm#739)
Commit Queue Requirements:
PR Information
Description
Commit Message
Priority
Prioriry Reasoning
Blocking Dependencies
Git Issues Fixed By This PR
Changes
Subcomponent (with links)
Input data
Regression Tests:
FAILED REGRESSION TESTS
Libraries
Testing Log: