gitea
gitea copied to clipboard
Fix issue comment number
Fix #22419
How much work would it be to add a migration that fixes the counts on existing issues? Would probably be a long-running migration on big instances, right?
Also, not sure if such a migration would be backportable at all as it would likely skip migration numbers (a design flaw in the migration system).
How much work would it be to add a migration that fixes the counts on existing issues? Would probably be a long-running migration on big instances, right?
Yes, so I don't think the migration is necessary. The number will be corrected when next comment created/updated.
Also, not sure if such a migration would be backportable at all as it would likely skip migration numbers (a design flaw in the migration system).
Yeah it's not really a requirement from me, more like a "nice to have" but likely too complicated with the migration backport to really be justified.
Willing to approve this without migration once you fix the tests :)
CI failure is related