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
Merge remote-tracking branch 'origin/fix/reap-fingerprint-records' into HEAD
Two judgement conflicts, both orthogonal-halves-of-one-block (same pattern
already recorded for cnighswonger#368/cnighswonger#369):
test/proc-helpers.mjs: cnighswonger#345 guards onPort(0) against selecting every proxy
child (CACHE_FIX_PROXY_PORT=0), cnighswonger#369 (already in this build) added
probeHealth/waitForHolder right after the same line. No shared subject; kept
both — theirs' guarded onPort(), ours' probeHealth/waitForHolder unchanged.
test/proxy-held-port.test.mjs, block in 'refuses nothing when the proxy under
it dies': cnighswonger#345 proposes swapping the local 'ok'-sentinel probe (cnighswonger#355's, ours)
for the shared health(port) helper it adds elsewhere in the file, which
resolves the number 200 rather than the string "ok". Three lines below this
hunk, 'const cut = seen.filter((c) => c !== "ok")' already depends on the
'ok' sentinel — taking theirs would silently make cut === seen (the exact
defect this file's classify()/probe rewrite exists to prevent). Kept ours
whole.
Also dropped two merge-additive duplicates the mechanical classifier cannot
see, same class as the recorded 'cnighswonger#356 duplicates' ledger entry: a
byte-identical second copy of 'classify survives a probe that answers with a
status code' (cnighswonger#345's own commit landing both directly and via cnighswonger#356's earlier
cherry-pick of it), and a second, differently-worded typeof guard cnighswonger#345 stacked
under the first.
Verified: node --test test/proxy-fingerprint-reap.test.mjs (7/7, including
'onPort(0) selects nothing, and still selects on a real port'), and
--test-name-pattern=classify in test/proxy-held-port.test.mjs (4/4, no
duplicate case).
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments