The following review has been posted through the commitfest application:make installcheck-world: tested, passedImplements feature: not testedSpec compliant: tested, passedDocumentation: not tested
I have applied tested both patches separately and ran regression with both. No new test cases are failing with both patches.
The issues is fixed by both patches however the fix from Tom (0001-fix-worker-status.patch) looks more elegant. I haven't done a detailed code review.