Repository navigation
chore: Update PR template and prompt agent to use it #25763
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,23 @@ | ||
| Before submitting a pull request, please take a look at our | ||
| [Contributing](https://github.com/getsentry/sentry-javascript/blob/develop/CONTRIBUTING.md) guidelines and verify: | ||
| <!-- | ||
| Read the Contributing guidelines first: https://github.com/getsentry/sentry-javascript/blob/develop/CONTRIBUTING.md | ||
|
|
||
| - [ ] If you've added code that should be tested, please add tests. | ||
| - [ ] Ensure your code lints and the test suite passes (`pnpm run lint`) & (`pnpm run test`). | ||
| - [ ] Link the related issue. External contributors need a maintainer's go-ahead in that issue. | ||
| Before you request a review: | ||
|
|
||
| Closes #issue_link_here | ||
| - Add tests for new or changed behavior. `pnpm run lint` and `pnpm run test` pass. | ||
| - Fix or dismiss AI review findings. | ||
| - Read your own diff first, add inline comments with explanation or where to look closely. | ||
| - Large PR? Split or stack it, or describe why you cannot. | ||
|
|
||
| - Remove fields that do not apply (e.g. on small PRs). | ||
| - External contributors: link an issue where you got a maintainer's go-ahead. | ||
| --> | ||
|
|
||
| **Why:** <!-- reason behind change, why this approach (no implementation walkthrough), non-obvious decisions/tradeoffs --> | ||
|
|
||
| **How to review:** <!-- where to start, what to skim --> | ||
|
|
||
| **Unsure about:** <!-- where you want a second opinion --> | ||
|
Comment on lines
+17
to
+19
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd argue that these two could be optional, depending on the change ("Why" on the other hand I think is always relevant). I don't really have a better suggestion though (other than mentioning them in the comment above), so from my end we can just go with it and see if it becomes noisy/unhelpful.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nevermind, just saw |
||
|
|
||
| Closes # | ||
|
|
||
| <!-- Long, AI-written descriptions at the end, inside `<details><summary>AI walkthrough</summary>...</details>` --> | ||
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.
Everything that's not actually a template, but a "check this first" is now within a comment so it's clear what's the template and what is just some extra text.