I am looking into fixing this 'invalid job id' issue, my guess is it happens shortly after the precompilation part. For some reason gpu gets stuck working at the old job if newer was received.
@hitmandn something aint right there, a rx470 should need no more than 20 sec to precompile a program, yours are doing it for 3 minutes!
What drivers are you using? Have you tried 18.6.1 or the newest adrenaline 2019?