Files
galaxy/test/unit/util
mvdbeek b53564c68d Serialize docutils publishing in rst_to_html
docutils publishers are stateful and not thread-safe: all threads shared the
functools.cache'd Publisher, so concurrent /api/tools/{id}/build requests
corrupted each other's document state and raised. Tool.help_html swallowed the
exception and returned empty help, which is why the tools list intermittently
rendered cards without their help toggle
(test_tool_discovery_help_toggle_shows_and_hides, the most frequent flaky
selenium/playwright test on dev: 10 failed CI runs 07-06..07-18).

Guard publishing with a lock (results are memoized, so only first-time
conversions contend) and log the swallowed exception with a traceback. The new
concurrency test fails 3/3 without the lock.
2026-07-19 10:58:12 +02:00
..
2022-02-03 07:42:20 -05:00
2025-04-02 16:24:43 +02:00
2026-01-20 10:25:45 +00:00
2026-06-25 15:12:05 +01:00
2022-02-03 07:42:20 -05:00
2026-06-25 15:12:05 +01:00