# jobs. We start with all jobs in $tflight, and for each job
# we also process any other jobs it refers to in *buildjob runvars.
#
+ # The real thing we want to check that the build jobs *in the
+ # same flight as the justifying job* used the right revisions.
+ # Build jobs from other flights were either (i) build jobs for
+ # components not being targed for testing by this branch, but
+ # which were necessary for the justifying job and for which we
+ # decided to reuse another build job (in which case we don't
+ # really care what versions they used, even if underlying it
+ # all there might be a different version of a tree we are
+ # actually interested in (ii) the kind of continuous update
+ # thing seen with freebsdbuildjob.
+ #
+ # (This is rather different to cs-bisection-step, which is
+ # less focused on changes in a particular set of trees.)
+ #
+ # So we limit the scope of our recursive descent into build
+ # jobs, to jobs in the same flight.
+ #
# We don't actually use a recursive algorithm because that
# would involve recursive use of the same sql query object;
# hence the @binfos_todo queue.
+
my @binfos_todo;
my $binfos_queue = sub {
my ($inflight,$q,$why) = @_;