nose2 icon indicating copy to clipboard operation
nose2 copied to clipboard

The order in which plugins handle events is not consistent, depending on how they're specified

Open sirosen opened this issue 6 years ago • 1 comments

Based on #396 , plugin load order determines the order in which events are handled. As a result, specifying a plugin via command line arguments vs via config file results in different executions, and may actually change the results or mask subtle plugin interaction bugs.

If possible, the order of plugin execution should be consistent. Easy (hopefully viable) solution: after all plugins are loaded, sort them alphabetically by module name. That is their execution order.

sirosen avatar May 12 '18 21:05 sirosen

Agree this is a problem worth solving. Providing the user a way to specify plugin execution order for non-built in plugins might be nice too, but at least having consistent ordering is definitely better than the status quo.

katrinabrock avatar May 13 '18 22:05 katrinabrock