Last mile work for issue #6: content blocking and new user moderation#11
Last mile work for issue #6: content blocking and new user moderation#11jsco2t wants to merge 6 commits intorocky-linux:mainfrom
Conversation
Resolves conflicts by keeping test coverage from both branches: - Indefinite duration tests from feature branch - Comprehensive test suite and ExtendedMockAPI from main
… moderation This is a wrap-up PR for the work that NH started. The original issue is here: rocky-linux#6 The original PR from NH is here: rocky-linux#7 To summarize all of the *new* changes in this branch: - Added the ability to deploy a local-dev mattermost instance to test the plugin. - Resolved some bugs related to domain and user name blocking - Added in more test automation + tests in depth for new features - Documentation cleanup - Fixed issues reported by golang linting tools - Tuned LRUCache for slight performance improvement
|
Thanks very much for your work on this and your patience in awaiting a review. I began reviewing it but am having trouble getting a good grasp on all the changes because there's a lot of unrelated work bundled together. With a 10k line delta across 28 files it's difficult to give each part the attention it deserves. Looking at the bullet points in the PR, could you break this up into separate PRs? Something like:
This would make it much easier to review each piece properly and understand the interactions between changes. It would also make rollback & bisection simpler if any issues come up later. I did spot one issue (I think) in the LRU cache implementation: in A straightforward fix would be to re-check the entry once the write lock is held (or just hold the write lock for the entire Happy to dig into this (and everything else) once the PR is split up. |
|
Thanks for the feedback @NeilHanlon - I'll work on breaking this up. |
|
Break-up is in progress. Two PR's out. I have two or maybe three more to create (which depend on the first two). I'll close this out once I have all the PR's open. |
This is a wrap-up PR for the work that NH started.
The original issue is here:
The original PR from NH is here:
To summarize all of the new changes in this branch: