Skip to content

docs(napi): update Node-driver cross-refs to the renamed Kernel* classes - #149

Merged
msrathore-db merged 1 commit into
mainfrom
msrathore/napi-doc-kernel-rename
Jun 9, 2026
Merged

msrathore-db merged 1 commit into
mainfrom
msrathore/napi-doc-kernel-rename

Conversation

@msrathore-db

Copy link
Copy Markdown
Collaborator

What

The napi doc comments cross-reference the Node.js driver classes that consume the binding. databricks-sql-nodejs renamed its SEA-branded driver path to kernel (databricks-sql-nodejs#428), so these references — which surface verbatim in the generated native/kernel/index.d.ts the Node driver commits — were stale:

  • connection.rs: SeaSessionBackend → KernelSessionBackend, SeaNativeLoader → KernelNativeLoader
  • database.rs: SeaAuth → KernelAuth
  • metadata.rs: SeaOperationBackend → KernelOperationBackend

Scope

Doc-comment only — no code/behavior change. The genuine SEA wire-protocol names are deliberately untouched (SeaRestTransport, the client/sea module, types/sea) — the kernel really does speak SEA; only the Node driver's path branding changed.

Why it matters

The Node driver's kernel-e2e drift-guard rebuilds the binding and checks index.d.ts matches. Once this merges, the Node rename PR bumps KERNEL_REV to pick up the corrected doc comments, leaving zero Sea* Node-class references anywhere.

Built/verified: cargo build clean.

This pull request and its description were written by Isaac.

The napi doc comments cross-reference the Node.js driver classes that consume the
binding. databricks-sql-nodejs renamed its SEA-branded path to kernel
(SeaSessionBackend → KernelSessionBackend, SeaAuth → KernelAuth, SeaNativeLoader →
KernelNativeLoader), so these doc cross-references — surfaced verbatim in the
generated index.d.ts — were stale. Doc-only; the genuine SEA wire-protocol names
(SeaRestTransport, the sea client module) are unchanged.

Co-authored-by: Isaac
Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
@msrathore-db
msrathore-db added this pull request to the merge queue Jun 9, 2026
Merged via the queue into main with commit 742a07b Jun 9, 2026
14 checks 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