Skip to content

fix(cli): scope active org labels to the active account#16957

Merged
kitlangton merged 2 commits intodevfrom
kitlangton/fix-cli-org-active-state
Mar 16, 2026
Merged

fix(cli): scope active org labels to the active account#16957
kitlangton merged 2 commits intodevfrom
kitlangton/fix-cli-org-active-state

Conversation

@kitlangton
Copy link
Contributor

Summary

  • require both the active account id and active org id to match before oc orgs or oc switch label an org as active
  • add a regression test covering the shared-org-id multi-account case so the CLI only highlights the real active selection

Validation

  • bun run test ./test/cli/account.test.ts
  • bun run typecheck

@kitlangton kitlangton marked this pull request as ready for review March 11, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant