jenkinsci / jenkinsci/workflow-step-api-plugin
[JENKINS-39386] Strengthen SynchronousNonBlockingStepExecution.getStatus
- Dominant language
- Java
- Stars
- 50
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
getStatus just reports a threadName. It should also indicate whether task had been created, and whether it is considered cancelled or done.
In principle a call to stop after start but before the task starts running could result in a hung step. This would normally be a very short interval, though, since the thread pool is unbounded. Could be made more robust.
---
Originally reported by
jglick, imported from: Strengthen SynchronousNonBlockingStepExecution.getStatus
Raw content of original issue
getStatus just reports a threadName. It should also indicate whether task had been created, and whether it is considered cancelled or done.
In principle a call to stop after start but before the task starts running could result in a hung step. This would normally be a very short interval, though, since the thread pool is unbounded. Could be made more robust.
Contributor guide
Assessment
This issue has not been assessed yet.