Trigger by status unexpected behaviour


I have this kind of pipeline definition:

  status: [success, failure]

  - default

In case the default pipeline fails, the status of the second pipeline will be successful, i.e., all *_STATUS environment variables will report successful.This is unexpected behaviour. The pipeline as a whole is still marked as failed in UI. So essentially, there’s no way to detect failure in dependent pipelines which could be used to notify overall status of the pipeline. There’s an example in official docs explaining the exact use case:


There is an open issue for this in the core Drone repository issue tracker that can be subscribed to.


I can not seem to find it in drone/drone. There’s only handful of issues that relate to Drone 1.0.
This is the closest I could find, but it doesn’t seem to describe the problem above: