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
{{ message }}
Repository navigation
simulate: a claim pinned to a revision that calls a changed function is left out #516
When a run changes a function, simulate also renders Manual XRs pinned to a Composition revision whose pipeline calls that function (pinnedFunctionChangeXRs in internal/diff/diffprocessor/comp_processor.go). Their revision doesn't change, but the function it calls does.
That check doesn't cover claims. pinnedRevisionCallsChangedFunction only matches a revision whose compositeTypeRef is the object's own group and kind. A claim's kind isn't, so a pinned claim stays filtered out as Manual, and nothing is predicted for it.
Claims only exist for legacy cluster-scoped XRs, so this misses exactly those users: a claim bound to a Manual XR whose revision calls the changed function gets no entry.
The code has a TODO(jcogilvie) for this at pinnedRevisionCallsChangedFunction. Fixing it means checking the claim's backing XR instead, and routing that XR's key to the render.
Activity
fix(simulate): render claims pinned to a revision that calls a change…