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
refactor(advisory): give addPullRequestFindings named signals instead of a 12-argument tail (#10214)
addPullRequestFindings exists twice, in the two deliberately-divergent advisory
twins, and both took the same POSITIONAL tail. Every new signal had to be
threaded in identical ORDER through two files -- a shape where transposing two
same-typed arguments compiles cleanly and silently changes a verdict. #10205
added the twelfth argument and paid that tax in both signatures and both call
sites; the next one would too.
Both copies now take one named object. Each declares its own local type rather
than sharing one: keeping these files free of a common import is precisely what
the divergence exists for (#4518, keep-divergent recorded for #4881), so the
engine still never reaches into the host's graph.
Pure refactor, and the evidence is that NOTHING ELSE MOVED: no finding added or
removed, no message text touched, no test edited. The diff contains zero changed
lines matching findings.push or a finding code literal. The existing advisory
suites on both sides, test:engine-parity and engine-parity:drift-check all pass
unmodified, which is the whole regression proof -- if an assertion had needed
editing, that would have meant behaviour changed.
Closes#10210
0 commit comments