fix: subsequent login mixing current profile#46
Merged
Conversation
francoischalifour
approved these changes
Jul 10, 2026
Contributor
|
The failing I opened #47 against this branch with the narrow fix. Verification on the stacked branch:
|
Contributor
## Summary - remove stored profile endpoint override keys instead of rewriting them as empty values - keep later stored endpoint values visible to config lookup, including tests that append profile config entries ## Verification - `bun test tests/configure.test.ts tests/management.test.ts` - `bun test "$PWD"/tests/*.test.ts` Stacked on #46 to repair the failing `Test CLI` job.
leonkenneth
pushed a commit
that referenced
this pull request
Jul 13, 2026
🤖 I have created a release *beep* *boop* --- ## [1.1.0](v1.0.0...v1.1.0) (2026-07-10) ### Features * allow to attach all available catalogs ([#44](#44)) ([d3b42c2](d3b42c2)) ### Bug Fixes * harden profile reuse and uniformize profile display and reuse ([#45](#45)) ([23ca8f1](23ca8f1)) * **release:** narrow release workflow to published tags ([#40](#40)) ([f224328](f224328)) * subsequent login mixing current profile ([#46](#46)) ([992aaee](992aaee)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
was reusing the previous profile oauth token for post-login whoami when a previous profile existed
made
profileNamemandatory for all lower-level functions to avoid implicitnessremoved auth cache and always resolve from configuration to avoid discrepancies
still left: forbid profile commands when env-vars are set