couchbaselabs / couchbaselabs/couchbase-shell

Consider caching org and project IDs

Open
#464 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
87
Forks
18
PR merge metrics
No merged PRs in 30d

Description

CBShell stores as little state as possible, since things get sticky once we start doing that. However commands against Capella clusters are running a bit slow because we are finding the org and project ID every time. We should consider setting them as part of the state when we fetch them for the first time, and read from here on future commands.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how CBShell's Capella cluster commands find the organization and project IDs, then inspect where command state is stored. The work is done when IDs fetched for the first time can be reused by later commands without changing command behavior; verify that repeated commands no longer perform the same lookups.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.