Skip to content

v2.41.1

Choose a tag to compare

@github-actions github-actions released this 09 Jun 11:14
· 21 commits to main since this release

v2.41.1 — patch

Fixes a CLI hang in the control-plane write-login.

  • run402 operator login --loopback / --step-up now exit on their own. The loopback-PKCE flow starts a 127.0.0.1 server to catch the browser redirect; teardown called server.close(), which stops new connections but leaves the browser's keep-alive socket open, keeping Node's event loop alive. The login succeeded but the command hung until Ctrl+C. Fix: track and destroy() the sockets, send Connection: close, and tear down right after the token exchange. Both --loopback and --step-up share the fixed code path.
  • Adds a regression test (cli-operator-loopback.test.mjs) that drives the loopback callback and asserts the CLI exits.

Lockstep patch of run402-mcp, run402, @run402/sdk (OIDC, provenance-attested).