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

General updates to PR template #2

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

homostellaris
Copy link
Contributor

@homostellaris homostellaris commented Mar 5, 2024

Some suggestions based on using it for a while. Probably quite subjective so please do push back / discuss, I've highlighted my reasoning for particular bits in the diff.

@homostellaris homostellaris force-pushed the dm/feat/update-pr-template branch from 00c509c to ccba735 Compare March 5, 2024 12:50
Some suggestions based on using it for a while.
@homostellaris homostellaris force-pushed the dm/feat/update-pr-template branch from ccba735 to 91d04ec Compare March 5, 2024 12:51
@@ -1,51 +1,40 @@
## What does this change?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed this section as I very rarely use it now that the Notion integration exists and if general notes were needed I think it would be obvious for them to go at the top anyway.

Comment on lines -16 to -19
- [ ] I wrote new unit tests for this change
- [ ] I wrote new integration/e2e tests for this change
- [ ] I updated existing tests for this change
- [ ] I ran test commands to test this change (list below)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I personally didn't find these useful as I think adding tests is too basic to warrant a specific reminder and tests should always be run as part of CI anyway so no need to specify which ones have been run (they're all going to be run).

Copy link
Contributor

@dkhuntrods dkhuntrods Mar 5, 2024

Choose a reason for hiding this comment

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

adding tests is too basic to warrant a specific reminder

Sometimes they still get missed though! I think we could merge the unit/e2e to "added tests if required" but would rather keep a little reminder in

tests should always be run as part of CI anyway

That prompt is a reminder to run locally before opening the PR. I often find it a good reminder (saves our credits)

Comment on lines +14 to +16
- [ ] I have tested this change against all known scenarios and considered new ones.
- E.g. net negative import scenario for solution summary graph.
- [ ] I have tested this change against real data
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaced with some reminders that I find a bit more useful encouraging me to think more deeply about different scenarios and take the time to get a variety of real data samples.


## Monitoring

- [ ] This change can be deployed to prod without triggering any alarms
- [ ] This change will be covered by our existing monitoring
(no new /metrics/dashboards/alarms are required)
- No new CloudWatch alarm or Sentry logging is required
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trying to give more specific examples.


## Rollout

- [ ] This change can be merged immediately into the pipeline upon approval (no upstream/downstream/config updates required first)
- [ ] This change can be merged immediately into the pipeline upon approval
- No upstream/downstream/config updates required first
Copy link
Contributor Author

@homostellaris homostellaris Mar 5, 2024

Choose a reason for hiding this comment

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

Could we add a specific example of this?


- [ ] I added images demonstrating the changes in desktop and mobile views
- [ ] I've checked the changes in Firefox and Safari
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not trying to say this is mandatory but I think we should consider it depending on the change as we currently have no automated capability for this and have missed browser-specific things quite a few times.

@homostellaris homostellaris marked this pull request as ready for review March 5, 2024 12:55

- [ ] I requested review from jacklsmith
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed this as I think its evident from the reviewers section of the PR if this has been done


### Design review
## Rollback
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Encouraged to write down specific rollback steps and moved into own section to create more room for this.

Copy link
Contributor

Choose a reason for hiding this comment

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

rollback steps

I think this is pretty repo specific

@homostellaris homostellaris marked this pull request as draft March 5, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants