14.9 Migration ResetDuplicateCiRunnersTokenValuesOnProjects does not mark itself as complete
Problem
Migration ResetDuplicateCiRunnersTokenValuesOnProjects
does not mark itself as complete.
The job permanently remains in pending
state after the upgrade.
Discovered with a customer upgrading to 14.9 ee version.
Cause
Class method has incorrect 'Class name' in this line
Class name: ResetDuplicateCiRunnersTokenValuesOnProjects
Class method tries to mark the job as succeeded on class name ResetDuplicateCiRunnerValuesTokensOnProjects
(Typo TokenValues
vs ValuesTokens
)
Steps to reproduce
- Install 14.1 EE omnibus
- Add a runner
- Upgrade to 14.9.1
- Check pending background migrations count: https://docs.gitlab.com/ee/update/#checking-for-background-migrations-before-upgrading
- Expectation: Count is non-zero
- Observation: Count is 1+
Edited by Harsh Chouraria