renovate-digest-bug-report #31378
Unanswered
Marvin-Highcreek
asked this question in
Request Help
Replies: 1 comment 2 replies
-
use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I think I found a bug
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
gitlab v16.11.6, renovate v38.21.3
Please tell us more about your question or problem
renovate-digest-bug-report
When wusing the aws-machine-image manager I encountered a Bug.
Using groupSlug to create dynamic branch names for our ami deployment instead of correctly using "renovate/all-ami-updates-dev" it falls back to this branch name: "renovate/ami_id-1.x."
From the documentation here https://docs.renovatebot.com/configuration-options/#branchtopic I can see how the branch name is being concatenated.
"{{{depNameSanitized}}}-{{{newMajor}}}{{#if separateMinorPatch}}{{#if isPatch}}.{{{newMinor}}}{{/if}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}"
When looking at our logs I can see this.
So it is becoming clear to me why the branchname is named like it is but why the groupslug gets ignored is beyond me.
To mitigate this, because we really need different branch names, I did this.
The result was still "branchName": "renovate/ami_id-1.x" .
When removing the {{{newDigest}}} part this solution works, so writing
works and I get "branchName": "renovate/ami_id-ami-123".
Also placing branchTopic outside the package rules works
and i even get the digest into the branch name like = "branchName": "renovate/ami_id-amazon-eks-node-1.29-vxxxx-xxxx-ami-123"
So it feels like there is an bug/error in how the digest gets read and renovate reverts to the default wich doesnt include the patch version.
renovate-digest-bug-report
When wusing the aws-machine-image manager I encountered a Bug.
Using groupSlug to create dynamic branch names for our ami deployment instead of correctly using "renovate/all-ami-updates-dev" it falls back to this branch name: "renovate/ami_id-1.x."
From the documentation here https://docs.renovatebot.com/configuration-options/#branchtopic I can see how the branch name is being concatenated.
"{{{depNameSanitized}}}-{{{newMajor}}}{{#if separateMinorPatch}}{{#if isPatch}}.{{{newMinor}}}{{/if}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}"
When looking at our logs I can see this.
So it is becoming clear to me why the branchname is named like it is but why the groupslug gets ignored is beyond me.
To mitigate this, because we really need different branch names, I did this.
The result was still "branchName": "renovate/ami_id-1.x" .
When removing the {{{newDigest}}} part this solution works, so writing
works and I get "branchName": "renovate/ami_id-ami-123".
Also placing branchTopic outside the package rules works
and i even get the digest into the branch name like = "branchName": "renovate/ami_id-amazon-eks-node-1.29-vxxxx-xxxx-ami-123"
So it feels like there is an bug/error in how the digest gets read and renovate reverts to the default wich doesnt include the patch version.
This is a "new" problem with version 38
link to mininmal reproduction: https://github.com/Marvin-Highcreek/renovate-digest-bug-report/tree/main
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions