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

Dependabot creates misleading links to PR's due to embedded changelog #3309

Closed
iliapolo opened this issue Mar 21, 2021 · 2 comments
Closed
Labels
T: bug 🐞 Something isn't working

Comments

@iliapolo
Copy link

Package manager/ecosystem

ALL

Manifest contents prior to update

Not Applicable

Updated dependency

Any

What you expected to see, versus what you actually saw

Dependabot PR's embed the changelog of the updated dependency in its PR body.

Screen Shot 2021-03-21 at 12 34 37 PM

These changelogs often include text in the form of:

go: duplicate conversion functions when parent structs have the same base name (#2697) (52bd510), closes https://github.com/aws/jsii/issues/2632

This creates a closing relationship between the dependabot PR and the issue mentioned in the changelog.
This creates clutter and confusion, as the dependabot PR most certainly does not resolve the issue it mentions.

In addition, if the PR is approved/merged by a user that has permissions to both repositories, merging the dependabot PR will actually close the mentioned issue, which is not intended.

Images of the diff or a link to the PR, issue or logs

For example, the following dependabot PR in the aws-delivlib-sample repository, closed an issue in the jsii repository.

Screen Shot 2021-03-21 at 12 32 18 PM

You can also see the amount of links created to this issue due to dependabot PR's in unrelated repositories.

I would expect dependabot PR's to not create any implicit links to other issues, and this indeed doesn't seem intentional, but rather a consequence of GitHub functionality.

@iliapolo iliapolo added the T: bug 🐞 Something isn't working label Mar 21, 2021
@feelepxyz
Copy link
Contributor

👋 @iliapolo this looks like a regression, we try to not backlink github links in dependabot PRs. Will take a look.

@feelepxyz
Copy link
Contributor

@iliapolo we already fixed this here, just confirmed new PRs to update jsii-pacmak don't create backlinks anymore: cdklabs/cdk-watchful#399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants