Skip to content

Conversation

@simon-id
Copy link
Member

What does this PR do?

This removes the "plugin" checklist from the PR description template, as no one really uses it much, and it's a relic of when dd-trace-js was mostly just plugins.

@simon-id simon-id self-assigned this Dec 15, 2025
@simon-id simon-id changed the title remove plugin checklist from PR template chore: remove plugin checklist from PR template Dec 15, 2025
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.76%. Comparing base (e9493e1) to head (914868d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7105   +/-   ##
=======================================
  Coverage   84.76%   84.76%           
=======================================
  Files         521      521           
  Lines       22151    22151           
=======================================
  Hits        18776    18776           
  Misses       3375     3375           

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

Overall package size

Self size: 4.34 MB
Deduped: 5.22 MB
No deduping: 5.22 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 1.15.0 | 127.66 kB | 856.24 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-datadog-prod-us1

This comment has been minimized.

@simon-id simon-id marked this pull request as ready for review December 16, 2025 11:24
@simon-id simon-id requested a review from a team as a code owner December 16, 2025 11:24
Comment on lines -23 to -24
### Additional Notes
<!-- Anything else we should know when reviewing? -->
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why remove the notes section?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because I find it superfluous. There are two possible cases:

  1. you don't have any additional notes, and thus you need to remove this section manually.
  2. you have additional notes, and do I REALLY need to remind you that you're allowed to add additional notes to your PR description ? like if you wanna write more stuff, just write more stuff.

wdyt ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree people will find a place to put it regardless, but I think it's nice to have a place that's dedicated so the its information isn't accidentally mixed in with to the two other sections. E.g. I usually use the section for information relevant to the reviewer only. Recent examples:

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes that makes sense, and as my previous message, that falls into the second case, if you have it, you can add ## additional info yourself. I just feel like the template PR should be more about what sections are required, than what sections are possible.
We require people to add tests, to explain what a PR does and why it does. But having a forced section for additional info looks meh to me. Does that make sense ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, my point was that people don't necessarily add it themselves. If there's a placeholder for it, it's much more likely to be used. You could use your argument for the two remaining headlines in your PR in which case we should just delete the template all together.

Copy link
Member Author

Choose a reason for hiding this comment

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

You could use your argument for the two remaining headlines in your PR in which case we should just delete the template all together.

No because those we actually require for every PR.

If there's a placeholder for it, it's much more likely to be used.

Granted. The only remaining question is what's the expected return of keeping it to exhort authors to use it, vs the annoyance of people having to remove it for all the small PRs that really don't need it. I think the expected return isn't that much, considering we don't have that many PRs from outsiders, and by definition small PRs where it's not needed should be more common than big PRs where it is. Buuuut I won't die on that hill so i'll let you decide. You may add a commit to add the section back if you think it's best. I don't mind 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

I question how big of an annoyance this actually is. And I think the benefits of having it outweighs the stated downsides. Especially in a world where AI is starting to make the first draft of a lot of these PR descriptions

Copy link
Member Author

@simon-id simon-id Dec 18, 2025

Choose a reason for hiding this comment

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

Especially in a world where AI is starting to make the first draft of a lot of these PR descriptions

I am an agent of the resistance, and you can be too! One must try to live, instead of passively accepting his fate.

More seriously, go ahead and add it back if you're convinced. I'm not convinced, but I can live with it 😄
I'm using the lazy-check technique here: if you're too lazy to add the commit back, then it's probably not that important to add it back hehe

Copy link
Collaborator

Choose a reason for hiding this comment

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

This section is actively being used by people in many PRs every week. I don't understand why that's not useful then - a lot of people seem to think it is. The AGENTS.md file being added here is being instructed to look at the PR template when authoring PR bodies.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm still not convinced. I think it's unnecessary hand-holding. If a PR should have more informations, just add more informations, nothing stopping you from doing it. Unlike the other two sections, additional informations are optional. And this is why I think it's superfluous, even if I understand the argument about inviting authors to use it. Also, about your AGENTS.md argument, I'm not one to enjoy sacrificing human experience just because a fancy autocorrect is too stupid to do a good job.
Now I'll repeat what we can do:

  1. you can add it back by making a commit on this PR, I won't object (if you don't wanna take the time to do it, it's probably not a very important section then).
  2. Find other people that support your point, and I will fold to consensus, potentially in a guild meeting or something

Comment on lines +219 to +225
- [ ] Unit tests.
- [ ] Integration tests.
- [ ] Benchmarks.
- [ ] TypeScript [definitions][2].
- [ ] TypeScript [tests][3].
- [ ] API [documentation][4].
- [ ] CI [jobs/workflows][5].
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why the [ ]? This is no longer an issue/PR

Copy link
Member Author

Choose a reason for hiding this comment

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

so people that want to use the checklist can copy paste it in their description or somewhere else ;)

Copy link
Collaborator

Choose a reason for hiding this comment

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

If it's meant to be copied it should be a code block, otherwise it's not possible. In its current state, it just shows disabled checkboxes that can't be checked

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a compromise between making it look good in markdown, and making the original copyable. Either you're reading the markdown in an editor and the original copyable is there, or you're on github interface and there is literally a button to switch to the original:
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

I question the usefulness of this and would probably vote to just remove this section altogether

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm fine with removing it. It was a request from @bengl on my original slack thread.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think he intended for people to click "edit source" to actually use it 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

i'll have to let him say what he intended himself, don't wanna put words into his mouth. Although, once again it's not clicking "edit source", it's clicking the file then the tab "code", which is available for all markdown files to see the original code instead of the markdown render.

@pr-commenter
Copy link

pr-commenter bot commented Dec 16, 2025

Benchmarks

Benchmark execution time: 2025-12-17 10:33:58

Comparing candidate commit 914868d in PR branch simon-id-patch-3 with baseline commit e9493e1 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 290 metrics, 30 unstable metrics.

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.

3 participants