The service generates a text preview of the task queue for the operator panel. After a recent PR, the preview became unstable: in some cases it returns a successful but incomplete result, and in others parallel calls begin to interfere with each other more than before.
build_preview method must return Result<Vec<String>, String>."<id>: <title> [<owner>]".Err.src/lib.rs.before and after for these scenarios:
title in the queue;build_preview at the same time, and formatting of one task is artificially slowed down;title, the caller receives Err, not a partially assembled successful result.1.85.02021review based on PR diffsrc/lib.rsrender_task may be a slow function, but it should not require holding the MutexUse line comments to explain the problem, its impact, the fix and how to test it.