Closed divergentdave closed 1 month ago
I've been seeing this in my Rust workspaces as well (for example, cargo-dist). Unfortunately, this means my PRs are filling up with "an unknown error occurred" comments, so I think I'm going to have to turn dependabot off for now.
Thanks for fixing, how long does it take for the revert to make it to production?
Is there an existing issue for this?
Package ecosystem
cargo
Package manager version
1.81.0
Language version
1.81.0
Manifest location and content before the Dependabot update
https://github.com/divviup/janus/blob/a5252ea71bfbf73385e7aee28c1dfac97f72d01e/Cargo.toml
dependabot.yml content
https://github.com/divviup/janus/blob/a5252ea71bfbf73385e7aee28c1dfac97f72d01e/.github/dependabot.yml
Updated dependency
N/A
What you expected to see, versus what you actually saw
Dependabot is encountering an error when running on the following repository. I can reproduce this locally. The following command fails, when it should have succeeded.
Similar problems were reported in servo/servo#33402. I tried checking out d1117712d67fcfb5a16b39b80bccf0865029a4d3, which was the commit right before #10550 was landed, and a dry run succeeds with that code.
I added some print statements on top of the code on
main
, and I think what's happening is that this condition is too strict. Immediately before the above error,current_dir
is equal toaggregator
, and thusparent_dirs
is -1, since there's no slashes in this relative path. Yet, this loop ignores theCargo.toml
manifest at the root of the repository, which is in fact the workspace manifest.Native package manager behavior
N/A
Images of the diff or a link to the PR, issue, or logs
N/A
Smallest manifest that reproduces the issue
No response