fix: clarify duckdb command requirements and isolate env/profile config#84
Merged
leonkenneth merged 2 commits intoJul 24, 2026
Conversation
- Resolve lakehouse credentials through a single mode-gated resolver so every consumer (auth headers, duckdb's plaintext ATTACH pair, verification) accepts the same sources. - Reject incomplete environment configuration at startup (lone lakehouse username or password, endpoint/environment vars without credentials). - Refuse explicit --profile / ALTERTABLE_PROFILE selection and `altertable logout` while environment configuration is active. - Never auto-provision lakehouse credentials in env mode; surface an explicit error instead of minting a server-side credential per request. - Split `altertable duckdb`: the no-argument form discovers catalogs through the management API, while `altertable duckdb <catalog>` attaches directly with lakehouse credentials only. - Report an unconfigured management plane as one coherent error via requireManagementPlane (duckdb attach-all, catalogs list/create). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
redox
approved these changes
Jul 24, 2026
leonkenneth
enabled auto-merge (squash)
July 24, 2026 14:04
leonkenneth
deleted the
fix-clarify-duckdb-command-requirements-and-isolate-env-prof
branch
July 24, 2026 14:06
leonkenneth
pushed a commit
that referenced
this pull request
Jul 24, 2026
🤖 I have created a release *beep* *boop* --- ## [1.4.0](v1.3.0...v1.4.0) (2026-07-24) ### Features * add `doctor` command for CLI diagnostics ([#79](#79)) ([57b1440](57b1440)) * **cli:** simplify the command API surface area ([#75](#75)) ([f3a1d4d](f3a1d4d)) ### Bug Fixes * **ci:** enable shell completion verification ([#77](#77)) ([db7c52f](db7c52f)) * clarify duckdb command requirements and isolate env/profile config ([#84](#84)) ([b5f6208](b5f6208)) * harden transport, JSON fidelity, and profile recovery ([#80](#80)) ([facdf90](facdf90)) * keep COMMANDS.md version in sync with release-please ([#87](#87)) ([cbb8d65](cbb8d65)) --- 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.
altertable logoutwhile environment configuration is active.altertable duckdb: the no-argument form discovers catalogs through the management API, whilealtertable duckdb <catalog>attaches directly with lakehouse credentials only.