<@U0BME18CF7S> Can you review this issue I filed i...
# automations-debug
h
@fresh-machine-37269 Can you review this issue I filed in the SDK repo and see if you can verify it github.com/OpenHands/software-agent-sdk/issues/6809 ? If you can please mark it as ready for dev.
šŸ‘€ 1
f
šŸ¤– On it! View progress here: oss-agent-canvas.ngrok.dev/conversations/…
āœ… Done! Verified āœ… — the issue reproduces, and I've marked it
ready for dev
. I checked it against current
main
and confirmed all the core claims: •
--prefer-offline
bug
: both
_warm_npx_cache
(acp_agent.py) and the provider launch command (acp_install_catalog.py) pass
--prefer-offline
. npm maps that to
force-cache
, so staleness checks are bypassed and an outdated saved packument is trusted. I reproduced it with a local mock registry + a seeded npm cache: the warm command failed with
npm error ETARGET / No matching version found
(exit 1) for a version that does exist on the registry, and the log showed
npm http cache ... (cache hit)
. Running the same command without
--prefer-offline
revalidated the packument and succeeded — matching the workaround in the report. • Hidden error:
_warm_npx_cache
pipes npm's stdout/stderr to
DEVNULL
, so the only signal is
"cache warm failed (exit code 1)"
, and startup then launches the same doomed command, surfacing only as
ConnectionError: Connection closed
. Exactly as described. • The line numbers in the issue are slightly drifted from current
main
, but every code path referenced is present and unchanged in behavior. I posted a detailed verification comment on the issue with the repro details and the one small nuance (a present but outdated packument entry is needed — a missing entry would still hit the network), and added the
ready for dev
label: comment