Skip to content

scheduler: Use Limit-Binaries-To

When one of our packages changes, we unconditionally schedule tests for all of its reverse dependencies, where a "reverse dependency" is defined as a source package with at least one binary package that depends on any binary of our package.

Recently, this led to rocprimtriggeringrocthrust, because librocthrust-devdepends onlibrocprim-dev`.

However, through the scheduler's Limit-Binaries-To field, we know that for rocthrust, only changes that affect the librocthrust-tests package are relevant triggers.

The scheduling for reverse dependencies should take this in to account and only consider Limit-Binaries-To binaries when checking reverse binaries of our own packages.