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 Bitbucket getPrList() verbosity #32329

Closed
rarkins opened this issue Nov 5, 2024 · 1 comment · Fixed by #32339
Closed

Improve Bitbucket getPrList() verbosity #32329

rarkins opened this issue Nov 5, 2024 · 1 comment · Fixed by #32339
Assignees
Labels
platform:bitbucket Bitbucket Cloud platform priority-2-high Bugs impacting wide number of users or very important features type:refactor Refactoring or improving of existing code

Comments

@rarkins
Copy link
Collaborator

rarkins commented Nov 5, 2024

Describe the proposed change(s).

Lower this to trace as it's called often:

logger.debug('getPrList()');

Add debug logs to

static async getPrs(
http: BitbucketHttp,
repo: string,
author: string | null,
): Promise<Pr[]> {
const prCache = await BitbucketPrCache.init(http, repo, author);
return prCache.getPrs();
}
and subfunctions for any thing which is run once (no need to repeat if getPrList() is called repeatedly in a run)

@rarkins rarkins added priority-2-high Bugs impacting wide number of users or very important features type:refactor Refactoring or improving of existing code platform:bitbucket Bitbucket Cloud platform labels Nov 5, 2024
@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 39.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:bitbucket Bitbucket Cloud platform priority-2-high Bugs impacting wide number of users or very important features type:refactor Refactoring or improving of existing code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants