fix(api): make PollForMediaWikiJobsJob skip soft-deleted wikis - #1221
fix(api): make PollForMediaWikiJobsJob skip soft-deleted wikis#1221dati18 wants to merge 8 commits into
Conversation
2bc4c02 to
847d264
Compare
847d264 to
4904673
Compare
tarrow
left a comment
There was a problem hiding this comment.
looks close to ready to me apart from the new duplication in the resolver; I wonder if we need to any more tests or do you think that's not necessary?
|
Thanks for removing the duplication
Did you have any thoughts about this? |
|
@tarrow Sorry I couldn't reply sooner because of the outage yesterday. My 2cent is that the extra test would be testing |
|
We talked about this in the daily @dati18 thinks that no more testing is required as per the above comment. I'm still somewhat hesitant to approve this without doing some more thinking / manual testing to improve my confidence; I don't want us to get distracted from our main work if this Job running blows up (although by eye I don't see why it should) Specifically I think it might be good to have tests that:
I didn't yet manage to find the time for some manual testing or to write these tests myself to improve my confidence. |
15ec9f7 to
ac46f16
Compare
|
@tarrow I took your hints and added a few test cases based on existing tests. MediaWikiHostResolverTest:
PollForMediaWikiJobsJobTest:
|
tarrow
left a comment
There was a problem hiding this comment.
looks good to me; let's make sure when we ship this to staging we ensure we properly try it though.
Make sure there are some jobs created on Wikis and that they run before we promote it to production.
Bug: T433575