Louis Auneau
01/25/2022, 6:16 PMrun_failure_sensor
and run_status_sensor
) and I noticed few issues (v0.13.16):
• If the sensor doesn’t have a return statement, the sensor is not triggered.
• There is no build_run_failure_sensor_context
or build_status_sensor_context
which make unit-testing more complicated.
• I did not manage to trigger the failure sensor from a test function.
Do you have any idea why it needs a return statement ? And how to test such sensors ?
Thank you by advance 🙂prha
01/25/2022, 6:58 PMyuhan
01/25/2022, 7:05 PMbuild_run_failure_sensor_context
, build_status_sensor_context
i think it makes sense to add them as util funcsLouis Auneau
01/25/2022, 8:16 PMyuhan
01/25/2022, 8:16 PMLouis Auneau
01/26/2022, 8:29 AMrun_status_sensor_fn
?From the source code, it seems this is not possible.