Bug 2052126: BugmailFilter extension: smart handling of components.id type#158
Open
justdave wants to merge 3 commits into
Open
Bug 2052126: BugmailFilter extension: smart handling of components.id type#158justdave wants to merge 3 commits into
justdave wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This extension breaks in Harmony when upgrading from a 5.0 or 5.2 install. This PR makes it be smart about handling the size of the components.id column during installation and upgrading (this is mirroring behavior already in use by the ComponentWatching extension).
This depends on PR #157 because it uses the helper function introduced in that PR. For review purposes looking only at the Bug 2052126 commit instead of the entire PR will work best, until #157 lands and gets main gets merged here again.
Additional info
Test Plan
docker compose updocker compose downdocker compose upand watch the output to confirm that checksetup.pl no longer shows the foreign key error and makes it past where that was previously happening.