Skip to content

feat(cli,sdk): Diverse UX improvements#1861

Merged
gtema merged 1 commit into
mainfrom
sanity
Jul 14, 2026
Merged

feat(cli,sdk): Diverse UX improvements#1861
gtema merged 1 commit into
mainfrom
sanity

Conversation

@gtema

@gtema gtema commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Add discovery cache, connection-requirements hook, and osc auth status

  • Cache service version-discovery documents on disk
    (~/.osc/.discovery, 24h TTL) alongside the existing auth-token
    cache, cutting one HTTP round-trip per service on osc's one-shot
    invocations.
  • Add ConnectionRequirementsProvider so commands can declare whether
    they need a live/renewed session, replacing a hand-rolled command-tree
    check in entry_point.
  • Add osc auth status, reporting locally cached auth
    scope/state/expiry via a new network-free
    AsyncOpenStack::new_cache_only path so it works even with an expired
    token or unreachable cloud.
  • Extract project-override domain inference into a tested helper
    function.

Assisted-By: Claude Sonnet 5 noreply@anthropic.com
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

Add discovery cache, connection-requirements hook, and `osc auth status`

- Cache service version-discovery documents on disk
  (~/.osc/<hash>.discovery, 24h TTL) alongside the existing auth-token
  cache, cutting one HTTP round-trip per service on osc's one-shot
  invocations.
- Add ConnectionRequirementsProvider so commands can declare whether
  they need a live/renewed session, replacing a hand-rolled command-tree
  check in entry_point.
- Add `osc auth status`, reporting locally cached auth
  scope/state/expiry via a new network-free
  AsyncOpenStack::new_cache_only path so it works even with an expired
  token or unreachable cloud.
- Extract project-override domain inference into a tested helper
  function.
- Fix regression in auth cache caused by wrong scope comparison

Assisted-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit d64b236 into main Jul 14, 2026
24 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant