mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 00:03:08 +00:00
49e5c251d7
Companion to windmill-ee-private: switch the running-state check to a correlated EXISTS on the post-conflict-lock holder so two late arrivals racing after a survivor started running can't both spawn independent windows (the row lock serializes them; the second debounces into the first's fresh window). Adds a concurrent regression test (test_debounce_concurrent_arrivals_after_running_survivor) asserting exactly one late arrival survives and the other is debounced, and refreshes the SQLx cache for the updated upsert_debounce_key queries. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>