-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Individual PRs incorrectly opened (and then immediately closed) when grouped updates enabled #8234
Comments
I've just had another instance occur on a different repository. One thing the two repositories had in common, was that they both already had open grouped PRs plus a security update PR open at the time of the manually triggered Dependabot run. In this case, the new grouped PR was: And the incorrectly opened single-dependency update PR was: |
This happened again in: |
I have seen examples of this recently in Package.json/npm in private repositories with Github-hosted dependabot, so does not appear to be Cargo exclusively. |
Some Ruby examples this time: Logs: |
Some more instances of this in another repo: |
Sorry for the delay. This is hopefully fixed going forward! |
@jakecoffman The issue here has been resolved, but it seems a new regression has been introduced? I've filed #8558 for that. |
Is there an existing issue for this?
Package ecosystem
Cargo
Package manager version
1.73
Language version
1.73
Manifest location and content before the Dependabot update
https://github.com/heroku/buildpacks-python/blob/76e1c6f822dfa9567ad0072b9e082547891c35e8/Cargo.toml
https://github.com/heroku/buildpacks-python/blob/76e1c6f822dfa9567ad0072b9e082547891c35e8/Cargo.lock
dependabot.yml content
https://github.com/heroku/buildpacks-python/blob/76e1c6f822dfa9567ad0072b9e082547891c35e8/.github/dependabot.yml
Updated dependency
No response
What you expected to see, versus what you actually saw
I have grouped updates enabled for this repo, so I expect single-dependency PRs not to be opened unless they are for dependencies not included in the group (or say for other edge cases, such as it being an out-of-schedule security PR etc).
Prior to this issue occurring, there were two Dependabot PRs open in the repo:
At this point I then triggered a manual Dependabot run (thinking "well if we need to do the security update PR, I might as well update all the things at once"), using Insights -> Dependency graph -> Dependabot -> etc.
The new Dependabot run then proceeded to incorrectly make two new single-dependency PRs for dependencies that should be in a group:
Immediately after that, Dependabot created the grouped PR after all:
...and then proceeded to close one of the erroneously opened single update PRs (as "superseded"), but not the other?
Today, I then triggered a manual Dependabot run again, and it closed out the single-dependency update PR that hadn't been immediately closed after opening yesterday.
It seems like there is some race condition or other weirdness going on here.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Dependabot run logs:
https://github.com/heroku/buildpacks-python/network/updates/737488004
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: