Commit 9dfd953
Connor Byrne
fix(first-run-tour): disarm the acceptance deadline on any reported status
`resetExecutionState` drops a job from `queuedJobs` without clearing its
workflow status, so `tourRunAccepted` can read false while the run reports
`running`. Watchers batch, so an accept-then-reset inside one tick is never
observed and the deadline stays armed against a live run.
Acceptance and status now both disarm it. A refused submission produces
neither, so #14619 stays caught.
Addresses review feedback:
#15091 (comment)1 parent 8ee79b8 commit 9dfd953
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments