I noticed a little gotcha while making a wikibase.v1 module at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/1273300. The Handler::getPath() method is relative to the module base path, but I see that getRouteUrl() uses getPath() as the $routeWithModulePrefix argument, which seems like a contradiction...which looks wrong. Any redirect based logic using getRouteUrl() seems like it will be broken.
This seemed to cause the redirect CI failures.
I think there should be a getFullPath() method for use by getRouteUrl(). Looking at what uses getPath(), it seems like they want they want the prefixed path (except for getSupportedPathParams, which could use either but may as well use the unprefixed one). Maybe it would make more sense for getPath() to have the prefix and have a getRelativePath() method for unprefixed paths.