Commit 7b6873e
committed
fix(dashboard): guards pollFetch store write against stale workflow data
Strips workflowRuns at the store-write site when enableActions is
false, preventing in-flight poll results from leaking stale data.
Also adds length guard to SEC-004 effect to skip redundant produce()
calls when workflowRuns is already empty.1 parent 78a546f commit 7b6873e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
1076 | | - | |
| 1076 | + | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
| |||
0 commit comments