jenkinsci / jenkinsci/workflow-step-api-plugin

[JENKINS-39386] Strengthen SynchronousNonBlockingStepExecution.getStatus

Open
#251 1 comment 0 reactions 0 assignees View on GitHub
component:workflow-step-api-plugin imported-jira-issue priority:minor resolution:unresolved robustness
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


  • status: Open
  • priority: Minor
  • component(s): workflow-step-api-plugin
  • label(s): diagnostics, robustness
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20260601-173816

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.