<#7231 fix(runs): make TestWatchActionUpdates_Only...
# flyte-github
a
#7231 fix(runs): make TestWatchActionUpdates_OnlyStreamsTargetAction deterministic Pull request opened by SVilgelm Summary • Fix flaky
TestWatchActionUpdates_OnlyStreamsTargetAction
test • The test was racy:
CreateAction("target")
sends a PostgreSQL NOTIFY that could arrive after the watcher subscribed, causing a spurious "unexpected update for action target" failure • Fix: start the watcher before creating actions and deterministically drain the creation notification before assertions Test plan • CI passes consistently (test was intermittently failing before) 🤖 Generated with Claude Code •
main
• #6583 • fix(runs): make TestWatchActionUpdates_OnlyStreamsTargetAction deterministic 👈 flyteorg/flyte