-
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
fix(composer): resolve the lockFileMaintenance
not working
#32384
base: main
Are you sure you want to change the base?
fix(composer): resolve the lockFileMaintenance
not working
#32384
Conversation
lockFileMaintenance
not working in Composer managerlockFileMaintenance
not working in Composer manager
Do you have a reproduction repo to demonstrate this before/after? |
Hi @rarkins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usally both ways should work. most managers are using the updateType
renovate/lib/workers/repository/updates/flatten.ts
Lines 150 to 151 in dc7b8d9
lockFileConfig.updateType = 'lockFileMaintenance'; | |
lockFileConfig.isLockFileMaintenance = true; |
@rarkins should we check all managers to be consistent?
maybe related to the grouping? |
Should I delete this groupName? |
Yes, I suspect there may be some inconsistency here. And we should pay attention to the case where people group lock file maintenance with regular updates. It's not something which we recommend, and it will have different behavior per manager, but many people do it |
We should issue a warning if lockfile maintenance is grouped with other updates, so users are aware that it's not always working as intended. I think i know why it's not working here: |
hi @rarkins @viceice, Currently, we use the
This situation may also happen when updating the major version. If my conclusion is correct, should we update the logic to use Alternatively, should we consider modifying the version constraint in composer.json before running the update command to avoid this issue altogether? |
this seems to be a change in recent composer versions, can you pinpoint the version which breaks renovate? I think we can change the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see other comment.
The feature introduces seems like on this commit |
43e319c
to
0877eb2
Compare
lockFileMaintenance
not working in Composer managerlockFileMaintenance
not working
Changes
Fixed an issue where the
lockFileMaintenance
configuration was not working for the Composer manager.Currently, triggering
LockFileMaintenance
via webhook does not perform any actions.Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: