Repository navigation
Conversation
zeroshade
force-pushed
the
feat/bindings-auth-registries
branch
from
October 28, 2026 23:45
ad71956 to
c729d4e
Compare
zeroshade
force-pushed
the
feat/bindings-auth-registries
branch
from
October 29, 2026 17:07
73d9a2f to
6db8b63
Compare
zeroshade
force-pushed
the
feat/bindings-auth-registries
branch
from
October 30, 2026 15:54
6db8b63 to
09e7021
Compare
This branch was successfully deployed
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.
Stacked on #549.
Brings the language bindings up to the CLI's registry and auth handling. Goes through
internal/api→ C ABI → Rust → npm-wasm.Registries
registries: [{url, name}](C:registry.<n>.url/registry.<n>.name) →dbc.WithRegistries. It is used as given, with no merging.config.tomlby default, like the CLI.registryConfig: "none"(C:registry_config=none) opts out. In the browser it is alwaysnone.projectFile(C:project_file) → theregistries/replace_defaultskeys from adbc.toml.baseURLor an explicit list overrides all configuration files, asDBC_BASE_URLdoes for the CLI.Credentials
login(credential)/logout(registryURL)(C:dbc_login,dbc_logout) store or remove token credentials in dbc's credential store.credentialnow applies only to its own host; other hosts fall back to stored credentials, matching what the header already documented.credentialStore: "none"(C:credential_store=none) disables stored-credential lookup.auth.AddCredential/RemoveCredentialre-read the credentials file before writing. Without this, a stale snapshot held by another worker or process dropped other entries on write. Test included.License
licensePath()/installLicense(path, {force})(C:dbc_license_path,dbc_install_license+DBC_LICENSE_FORCE).The C ABI goes from 13 to 17 exports; Rust bindings are regenerated. Node/Rust docs note that credential lookups in an already-running runtime don't see changes another runtime makes.
Testing
Go (including
-race ./auth), npm-wasm smoke and worker tests, Rust tests and clippy, bindgen drift check, and a throwaway C ABI smoke run against a local registry with an isolated credential store.