Skip to content

cmd/get: move per invocation state out of global vars#252

Merged
gmeghnag merged 1 commit into
gmeghnag:mainfrom
mvalsecchi-nv:refactor/get-state-struct
May 28, 2026
Merged

cmd/get: move per invocation state out of global vars#252
gmeghnag merged 1 commit into
gmeghnag:mainfrom
mvalsecchi-nv:refactor/get-state-struct

Conversation

@mvalsecchi-nv

Copy link
Copy Markdown
Contributor

Hi @gmeghnag, small refactor on top of #250 for cmd/get.

The per-invocation state cmd/get was keeping in vars globals now lives on a *state value built once per invocation.

...a few more touches and omc get should be able to rely on goroutines :)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Michele Valsecchi <mvalsecchi@nvidia.com>
@gmeghnag gmeghnag merged commit d2ee0f4 into gmeghnag:main May 28, 2026
1 check passed
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.

2 participants