-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
manager:gomod does not expose indirect dependencies in dryRun: extract
#19440
Comments
It looks like this is down to our text fixtures, I'll look to amend and see if I can resolve this |
renovate/lib/modules/manager/gomod/extract.ts Line 132 in d19effc
|
next time you should do real tests before 😉 |
That's very fair 😅 I'd thought it'd be quicker to get it released and then try it than try it locally. Next time I won't do the same! |
As noticed in renovatebot#19440, the handling for indirect dependencies didn't quite work when using a multi-line `require` block. Closes renovatebot#19440.
As noticed in renovatebot#19440, the handling for indirect dependencies didn't quite work when using a multi-line `require` block. Closes renovatebot#19440.
As noticed in renovatebot#19440, the handling for indirect dependencies didn't quite work when using a multi-line `require` block. Closes renovatebot#19440.
Awesome, verified that #19442 works by running
And it now displays the |
As noticed in renovatebot#19440, the handling for indirect dependencies didn't quite work when using a multi-line `require` block. As we're now no longer hitting the `No multi-line match` logging statement when we're receiving an `indirect` dependency, we need to add a test to exercise that for our coverage requirements, too. Closes renovatebot#19440.
🎉 This issue has been resolved in version 34.59.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
34.58.1
If you're self-hosting Renovate, select which platform you are using.
github.com
If you're self-hosting Renovate, tell us what version of the platform you run.
GitHub.com
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
Although recently added with unit test coverage as part of #19416, when running Renovate, we do not receive the
indirect
dependencies in the extraction result.These dependencies do not appear when using
dryRun: "extract"
, or through tools like https://gitlab.com/tanna.dev/renovate-graph.Reproducing this can be done via:
With the following config:
config.js
This leads to the following dependency extraction:
Relevant debug logs
TRACE logs
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction repository in the bug description
The text was updated successfully, but these errors were encountered: