https://dagster.io/ logo
#ask-community
Title
# ask-community
d

D Zavadskykh

08/31/2023, 4:46 AM
Hello, Does anyone have an idea why SkipReason's generic "Sensor function returned an empty result" is displayed instead of a provided message here?
Copy code
@run_status_sensor(
    run_status=DagsterRunStatus.SUCCESS,
    request_job=<request_job>,
    default_status=DefaultSensorStatus.RUNNING
    )
def <sensor_name>(context):
    if context.dagster_run.job_name == dbt_assets_job.name:
        return RunRequest(run_key=None)
    else:
        return SkipReason("Run only after successful <job_name> job")
s

sandy

08/31/2023, 1:34 PM
That's definitely an unexpected behavior. What version of Dagster are you running? I believe we may have fixed a bug related to this in the last couple months
d

D Zavadskykh

08/31/2023, 1:49 PM
dagster 1.4.7, libs 0.20.7. I noticed that this happens only in a dagster open source deployment.
s

sandy

08/31/2023, 9:49 PM
mind filing a github issue with code that reproduces it?