screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

[Feature Request] blockedBy is enabled for virtual jobs

Open yakanechi opened this issue 1 year ago • 1 comments

What happened: Setting blockedBy to virtual job does not work

What you expected to happen: If the builds specified in blockedBy are already running, the virtual job will be completed after those builds are completed.

How to reproduce it: Set both of the following for one job

  • screwdriver.cd/virtualJob annotation
  • blockedBy

yakanechi avatar Mar 17 '25 02:03 yakanechi

This is a fundamental problem with how the virtual jobs are currently implemented (i.e., virtual jobs bypass the queue; therefore they are unable to really support any additional settings that normal jobs support). I think we should support the blockedBy setting for a virtual job, but to support this we should re-implement the virtual jobs. In essence, the virtual job should and support all of the features that a normal job supports, except that a virtual job has no steps that can be configured and should also not run any setup and teardown steps.

minghay avatar May 20 '25 18:05 minghay