Jobs stuck as Running after Waiting for Feedback

I’ve run into an issue with using the feedback functionality of scripts.

Basically I have my Read-Host, but when I respond to it the job just gets stuck in “Running” forever, and the job page itself just says “Waiting for Pipeline output”.

I also noticed another thing that if I produce an error in the script, the “Error” tab keeps populating with the same error over and over again
image

Stopping the job causes it to stay in a state of being cancelled, so far for a day or so in some of my scripts…

I remember reading somewhere about hangfire and thought to check there, and here I see roughly 10000 failed jobs over the last week, and 250 or so stuck in “retrying”, all of them seems to be related to “GroomService” and deleting job, I’m running with SQL persistence on…

Product: PowerShell Universal
Version: 3.1.5

I opened an issue for this here: Jobs stuck as Running after Waiting for Feedback · Issue #1422 · ironmansoftware/issues · GitHub

I’m not sure why this is happening. As for the error with the groom job, it looks like that was fixed in our 3.2 branch but not 3.1. I’ll double check on whether we should merge that back.