Skip to content

Allow runners to prevent duplicate results

Alexander Lohnau requested to merge work/no_duplicates into master

This commit allows the runners to use the id to prevent duplicate runner results. For this the X-Plasma-Runner-Unique-Results property is added. If the runners set this to true the runner name is not prepended to the id and it is checked if a match with the id already exists before the match is added.

Because the property introduces a behavior change we can not enable it by default.

It also introduces the X-Plasma-Runner-Weak-Results. If runners set this ID to true we replace the runner's matches in case we get other matches with the same ID.

BUG: 406292
FIXED-IN: Frameworks 5.80 & Plasma 5.22

Edited by Alexander Lohnau

Merge request reports

Loading