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
fix: refresh CLI credentials before each invocation (#926)
- Refresh the credential file (or keyring on supported systems) via `cliManager.configure` inside `commands.ts:resolveCliEnv` so each CLI call reads a current token. Previously credentials were written only at connection time and could go stale across refreshes. mTLS still works (empty token allowed).
- Stop wrapping `AbortError` in `cliError` so cancellations no longer surface as stale CLI stderr to `withCancellableProgress`.
- Add `writeStdoutJs` / `writeStderrJs` test helpers that wrap `fs.writeSync`. Fixes intermittent flake where async pipe writes were lost on exit (see https://nodejs.org/api/process.html#a-note-on-process-io).
0 commit comments