You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a subtle bug in the current dependency scanning where we will immediately start executing a task that we have scanned and realized needs to run, but that may occur before the point at which the downstream task of which it is a dependent has actually requested it.
This generally only shows up when making us of dynamic dependencies, which is why it hasn't been noticed until now.
As a concrete example, suppose a build executes in which C executes, computes A, realizes based on A that it needs B
so we end up with C depends { A, B }
Now suppose that the a new build is triggered, in which the result of A differs: C executes, computes A, realizes based on A that it needs B'
In this situation, the current dependency scanning may also traverse to B, and trigger it to rebuild even though it is not actually used.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 0f59127cf21fefd6bb4877a8888207a5
Issue Description:
There is a subtle bug in the current dependency scanning where we will immediately start executing a task that we have scanned and realized needs to run, but that may occur before the point at which the downstream task of which it is a dependent has actually requested it.
This generally only shows up when making us of dynamic dependencies, which is why it hasn't been noticed until now.
As a concrete example, suppose a build executes in which
C
executes, computesA
, realizes based onA
that it needsB
so we end up with
C
depends {A
,B
}Now suppose that the a new build is triggered, in which the result of
A
differs:C
executes, computesA
, realizes based onA
that it needsB'
In this situation, the current dependency scanning may also traverse to
B
, and trigger it to rebuild even though it is not actually used.The text was updated successfully, but these errors were encountered: