Skip to content

Bug 2052126: BugmailFilter extension: smart handling of components.id type#158

Closed
justdave wants to merge 3 commits into
mainfrom
bug-2052126-harmony
Closed

Bug 2052126: BugmailFilter extension: smart handling of components.id type#158
justdave wants to merge 3 commits into
mainfrom
bug-2052126-harmony

Conversation

@justdave

@justdave justdave commented Jul 2, 2026

Copy link
Copy Markdown
Member

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 and #162 because it depends on the component.id size change. For review purposes looking only at the Bug 2052126 commit instead of the entire PR will work best, until #157 and #162 land and main gets merged here again.

Additional info

Test Plan

  1. docker compose up
  2. Used the Files tab in Docker Desktop to drop a mysqldump of a Bugzilla 5.0.4 install into /root on the database image
  3. Used the Exec tab in Docker Desktop to restore that dump into the database
  4. docker compose down
  5. docker compose up and watch the output to confirm that checksetup.pl no longer shows the foreign key error and makes it past where that was previously happening.

@justdave justdave requested review from dylanwh and mrenvoize July 2, 2026 09:27
@justdave justdave changed the title Bug 2052126: BugmailFilter extension: smart handling of compoents.id type Bug 2052126: BugmailFilter extension: smart handling of components.id type Jul 2, 2026
mrenvoize
mrenvoize previously approved these changes Jul 3, 2026

@mrenvoize mrenvoize left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good to me and works

@justdave justdave force-pushed the bug-2052126-harmony branch from 3c6fd12 to 2f9e952 Compare July 4, 2026 10:16
@justdave

justdave commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

I rearranged the order of dependencies because of testing necessity. This now depends on #162 to land first before this does.

@justdave

justdave commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

Closing this. Merged it into #162 because it's all related anyway.

@justdave justdave closed this Jul 4, 2026
@justdave justdave deleted the bug-2052126-harmony branch July 4, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants