bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

Changelog and contributors tools can fail to find PRs

Open alice-i-cecile opened this issue 1 year ago • 1 comments

IMO: all of the missed PRs look like they got excluded because they were originally opened before the "from" date for the release

  • @ChristopherBiscardi

Discovered in #1516 / #1517.

alice-i-cecile avatar Jul 04 '24 00:07 alice-i-cecile

get_issues_and_prs gets all PRs since the origin date, which is going to be roughly 0.<last_major>.1's date. That set of PRs is what is is checked so any PR opened before that will not be included because the issues endpoint can not be sorted by "closed date". I believe the default sorting for the issues endpoint is "id, descending".

The older PRs may have to be fetched by id.

ChristopherBiscardi avatar Jul 04 '24 00:07 ChristopherBiscardi

Cutting from the milestone. This is still important to do, but I did them manually this time around.

alice-i-cecile avatar Nov 20 '24 22:11 alice-i-cecile

In #1850, I'm no longer filtering the PRs by date. This helps: we found another half-dozen PRs! It doesn't fully resolve the mismatch though :( Dozens of PRs were still not found.

alice-i-cecile avatar Nov 26 '24 03:11 alice-i-cecile

We're using a title match to correlate commits against PRs. In some cases, like https://github.com/bevyengine/bevy/pull/15320, that's definitely because we renamed the PR after it was merged, so the commit name and the PR title don't match. I have no good ideas for how to resolve that.

But there's dozens of other PRs, which seemingly don't share that problem. See https://github.com/bevyengine/bevy/pull/14122 for example. The PR exists, it hasn't been renamed. Perhaps there's another date check that I'm missing?

alice-i-cecile avatar Nov 26 '24 03:11 alice-i-cecile

And by querying for all PRs and trying to match them, I get a much smaller list.

PR not found for bevy_reflect: Reflect remote types sha: 6183b56b5d6fd7e2e8cf1f3c85da7fd3dab25ea4
PR not found for Add `condition_changed` and `condition_became_true` to `common_conditions` sha: 12f005a024c163333455bfd8112893c6a8075716
PR not found for Depreciate `LoadAndSave` Asset Processor sha: dac4a5bbb4336527ffd0880233b92f5bc4f93c54
PR not found for bevy_reflect: Add `Reflectable` trait sha: 69541462c5ef70914fd719fcd1f503045c76a453
PR not found for The Cooler 'Retain Rendering World' sha: 56f8e526dde49b4e4ad62efb7ad27bfe0bd6f617

alice-i-cecile avatar Nov 26 '24 03:11 alice-i-cecile