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
Reviewed require-http-response-error-listener against actions/setup/js. The rule is solid for the live code. All 4 live http/https request sites already attach res.on("error"), so there are no live false positives or negatives. Previous issues #54734 and #59646 (ternary bindings, .addListener and req.on("response")) are already closed and implemented.
Key metrics
Live sites reviewed: 4
Issues created: 2
Live false positives: 0
Issues filed
Non-inline callbacks, destructured bindings and ESM imports are not detected (false negatives).
Listener detection is too narrow (template literals, stream.finished/pipeline, computed access), and the diagnostic does not name the response variable.
Detail
getResponseCallback inspects only inline function arguments.
isHttpModuleBinding accepts only Variable defs with an Identifier id.
checkResponseCallback counts only res.on|once|addListener with a string Literal "error".
Sites checked:
mcp_cli_bridge.cjs:250
handle_agent_failure.cjs:2618
start_mcp_gateway.cjs:836
mount_mcp_as_cli.cjs:265
Next actions
Implement the two issues, then re-run the rule over actions/setup/js.
Decide the policy for helper hand-off of res.
Generated by 🤖 ESLint Refiner · claude · agent · ~22 AIC · ⌖ ~1 AIC · ⊞ 2.9K · history
Work 7fbd64f705e1428a77c52f6a21ac82ea7536cbdfa1463d3aa4bdd4a74f3a488c · Claim c_b6dc33304d12b0c40df769d6a8bdafde819c9ab5273460173624776f8fbd41dc_1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Overview
Reviewed
require-http-response-error-listeneragainstactions/setup/js. The rule is solid for the live code. All 4 live http/https request sites already attachres.on("error"), so there are no live false positives or negatives. Previous issues #54734 and #59646 (ternary bindings,.addListenerandreq.on("response")) are already closed and implemented.Key metrics
Issues filed
stream.finished/pipeline, computed access), and the diagnostic does not name the response variable.Detail
getResponseCallbackinspects only inline function arguments.isHttpModuleBindingaccepts onlyVariabledefs with anIdentifierid.checkResponseCallbackcounts onlyres.on|once|addListenerwith a stringLiteral"error".Next actions
actions/setup/js.res.All reactions