Skip to content

Reuse an existing interactive az session on disk instead of re-prompting on every restart - #488

Open
shellicar wants to merge 3 commits into
mainfrom
fix/azcli-login
Open

Reuse an existing interactive az session on disk instead of re-prompting on every restart#488
shellicar wants to merge 3 commits into
mainfrom
fix/azcli-login

Conversation

@shellicar

Copy link
Copy Markdown
Owner

Summary

  • An interactive az identity now reuses a still-valid signed-in session found on disk after a CLI restart, instead of always triggering a fresh sign-in prompt.
  • IFileSystem gained mkdir, mkdtemp, and deleteDirectoryRecursive, and writeFile now accepts an optional mode.
  • The az session cache's own filesystem work (session/extension dirs, cert writes, config-dir cleanup) now goes through IFileSystem instead of direct node:fs calls.
  • The az session cache tests no longer touch real disk, and moved out of the integration test tier accordingly.

@shellicar
shellicar requested a review from bananabot9000 July 28, 2026 12:34
@shellicar shellicar added bug Something isn't working pkg: claude-sdk-tools The SDK tools package labels Jul 28, 2026
@shellicar shellicar self-assigned this Jul 28, 2026
@shellicar shellicar added pkg: claude-core Core utilities — ansi, reflow, rendering pkg: claude-sdk-cli The new SDK-based CLI labels Jul 28, 2026
@shellicar shellicar added this to the 1.0 milestone Jul 28, 2026
@shellicar
shellicar marked this pull request as ready for review July 28, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working pkg: claude-core Core utilities — ansi, reflow, rendering pkg: claude-sdk-cli The new SDK-based CLI pkg: claude-sdk-tools The SDK tools package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant