Skip to content

docs(readme): lead the SEA/kernel section with the consumer path - #463

Merged
msrathore-db merged 1 commit into
mainfrom
docs-readme-sea-kernel-usage
Aug 28, 2026
Merged

docs(readme): lead the SEA/kernel section with the consumer path#463
msrathore-db merged 1 commit into
mainfrom
docs-readme-sea-kernel-usage

Conversation

@msrathore-db

Copy link
Copy Markdown
Contributor

Summary

The README's Building → SEA/kernel section led with the Rust + make kernel-lib source build and stated the archive is "not committed — build it first" — misleading for consumers. In the v1.15.0 distribution model, the prebuilt per-platform libdatabricks_sql_kernel.a is pulled automatically as a Go module dependency, so a kernel build needs only a C toolchain and -tags databricks_kernelno Rust, no build step.

Changes (docs-only)

  • Rewrite the SEA/kernel build section to lead with the consumer path (CGO_ENABLED=1 go build -tags databricks_kernel, prebuilt archive auto-linked, 7 supported platforms); demote the source build to a "Build from source (contributors)" subsection.
  • Fix the "Build differences at a glance" table — no Rust for consumers, prebuilt auto-linked, list the supported platforms.
  • Correct the stale "make test-kernel requires make kernel-lib" note (the target links the prebuilt bindings).
  • Tighten the intro note and Cloning section (deslop).

Verified against v1.15.0: a clean-room go get + CGO_ENABLED=1 go build -tags databricks_kernel (no proxy, no Rust) links the prebuilt bindings and runs real queries.

This pull request was AI-assisted by Isaac.

The Building > SEA/kernel section led with the Rust + make kernel-lib source
build and said the archive is 'not committed - build it first', which is
misleading for consumers: the prebuilt per-platform libdatabricks_sql_kernel.a
is pulled automatically as a Go module dependency, so a kernel build needs only
a C toolchain and -tags databricks_kernel - no Rust, no build step.

- Rewrite SEA/kernel build steps to lead with the consumer path; demote the
  source build to a 'Build from source (contributors)' subsection.
- Fix the at-a-glance table (no Rust for consumers; prebuilt auto-linked;
  list the 7 supported platforms).
- Correct the stale 'make test-kernel requires make kernel-lib' note (the
  target links the prebuilt bindings; no kernel-lib needed).
- Tighten the intro note and Cloning section.

Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
@msrathore-db
msrathore-db enabled auto-merge August 28, 2026 14:51

@peco-review-bot peco-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: 1 Low

Docs-only README refactor that leads the SEA/kernel section with the consumer path. Claims check out against go.mod (7 kernel-bindings modules match the listed platforms) and the Makefile (test-kernel has no kernel-lib prerequisite and links the bindings modules — the old "requires make kernel-lib" note was indeed stale). One low-severity nuance: the new "build from source" contributor sequence implies make build-kernel/test-kernel link the locally built archive, but the Makefile says they link the published bindings modules unless a still-unwired go.work step is set up.

Comment thread README.md

Stage a prebuilt archive without Rust via
`make kernel-lib KERNEL_LOCAL_A=/path/to/libdatabricks_sql_kernel.a`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Low — The contributor sequence presents make kernel-libmake build-kernelmake test-kernel as a chain that builds and then links the local source archive. But per the Makefile's own comments, build-kernel/test-kernel link the published bindings modules, not the archive that kernel-lib drops into $(KERNEL_LIB_DIR); wiring the local build in requires a manual go.work step that is still an unwired TODO(dev-loop). So a contributor following these three lines will build a local .a and then silently build/test against the released bindings instead of their local build — the opposite of what this "build from source" subsection implies. Consider noting that linking the freshly built archive currently requires manual go.work setup.

@msrathore-db
msrathore-db added this pull request to the merge queue Aug 28, 2026
@msrathore-db
msrathore-db removed this pull request from the merge queue due to a manual request Aug 28, 2026
@msrathore-db
msrathore-db enabled auto-merge August 28, 2026 14:56
@msrathore-db
msrathore-db added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit 9dc4974 Aug 28, 2026
14 checks passed
@msrathore-db
msrathore-db deleted the docs-readme-sea-kernel-usage branch August 28, 2026 15:06
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.

1 participant