Skip to content

docs: correct the local verification commands - #637

Open
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:docs/fix-contributing-commands
Open

docs: correct the local verification commands#637
jackylee-ch wants to merge 1 commit into
apache:mainfrom
jackylee-ch:docs/fix-contributing-commands

Conversation

@jackylee-ch

Copy link
Copy Markdown
Contributor

Both CONTRIBUTING.md and docs/src/contributing.md tell contributors to run a
bare cargo test. On macOS that aborts before running a single test — the
workspace includes the pypaimon_rust binding and the test binary fails to link
libpython3.12.dylib (SIGABRT). CI never runs it that way; it uses
cargo test -p paimon --all-targets --features fulltext,vortex.

CONTRIBUTING.md also claimed "only cargo is needed" and listed cargo bench.
Four of the five integration suites read a Paimon warehouse written by Spark via
make docker-up; without it 57 tests fail with TableNotExist rather than being
skipped. And there is no [[bench]] target or benchmark harness in the
workspace, so cargo bench runs nothing.

Fix: list the commands CI actually runs, including the --features and
-D warnings flags from the check job, and document the Docker step the
integration suites require. Every command in the new text was run locally.

`CONTRIBUTING.md` and `docs/src/contributing.md` both recommend a bare
`cargo test`, which on macOS aborts before running a single test: the
workspace includes the `pypaimon_rust` binding and the test binary fails to
link `libpython3.12.dylib`. CI never runs it that way — it uses
`cargo test -p paimon --all-targets --features fulltext,vortex`.

`CONTRIBUTING.md` also claimed "only `cargo` is needed" and listed
`cargo bench`. Four of the five integration suites read a Paimon warehouse
written by Spark via `make docker-up`, and without it 57 tests fail with
`TableNotExist` instead of being skipped. There is no `[[bench]]` target or
benchmark harness in the workspace, so `cargo bench` runs nothing.

List the commands CI actually runs, including the `--features` and
`-D warnings` flags the `check` job uses, and document the Docker step the
integration suites need.
@jackylee-ch
jackylee-ch force-pushed the docs/fix-contributing-commands branch from 38236fe to c0be073 Compare July 31, 2026 12:04
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