When no ready-made sensor fits, write one with @task.sensor. The function is called on every poke; return True when the condition is met, False to keep waiting. To hand a value to the next task, return a PokeReturnValue (from airflow.sdk): is_done says whether to stop, xcom_value becomes the sensor's XCom.
@task.sensor(poke_interval=600, timeout=3600, mode="reschedule")
def report_ready(ds=None):
status = bramble.report_status(ds)
return PokeReturnValue(is_done=status["ready"], xcom_value=status["rows"])
The decorator takes the usual sensor arguments: poke_interval, timeout, mode, soft_fail. Keep each poke quick and free of side effects: it runs many times.
Waits until the partner publishes the report, then passes its row count on.