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

Improve get PRs details performance #1444

Open
matmarchand opened this issue Dec 14, 2022 · 3 comments
Open

Improve get PRs details performance #1444

matmarchand opened this issue Dec 14, 2022 · 3 comments

Comments

@matmarchand
Copy link

matmarchand commented Dec 14, 2022

Azure DevOps Extensions

Generate Release Notes (Node Cross Platform)

Is your feature request related to a problem? Please describe.

Generating release notes is really slow in our case because "Getting associated PRs" will fetch about 100 000 PRs.

Describe the solution you'd like

According to this comment from MSFT, the pull request list API will sort completed PRs by completion date.

With that in mind, in getPullRequest we could stop the PR iteration when we reached the oldest build/release date that we are comparing against.

Describe alternatives you've considered

No response

Additional context

No response

@rfennell
Copy link
Owner

Interesting idea, note sure when I might have time to experiment with this technique, but it is on the backlog

@rfennell
Copy link
Owner

The fix #1588 has just been released, this provides some new option that could help PR discovery performance

@ric79
Copy link

ric79 commented Feb 2, 2024

Thanks! It solved a lot of production issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants