Skip to content

Run Linux x64 Rust tests in CI and trim duplicate CI checks - #12006

Merged
lwwmanning merged 8 commits into
developfrom
wm/agy-linux-x64-and-ci-trims
Nov 25, 2026
Merged

lwwmanning merged 8 commits into
developfrom
wm/agy-linux-x64-and-ci-trims

Conversation

@lwwmanning

@lwwmanning lwwmanning commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Moving rust-test-linux-arm64 to release checks in #11935 left pull requests without a workspace cargo nextest job. At the same time, CI kept running duplicate CUDA, compact golden-corpus, and Spark 4.1–4.3 compatibility checks on unrelated pull requests.

This change adds a rust-test-linux-x64 workspace test job to ci.yml and trims the duplicate checks by gating CUDA and Spark 4.1–4.3 compatibility tests on relevant path changes (pushes to develop still run the full CUDA and Spark compatibility suites to catch breakage from shared crates). It also runs all tests under scripts/tests, verifies decompression round-tripping in wasm-test, and removes an unnecessary sleep from VortexDataSourceWriteTest.

Once merged, add "Rust tests (linux-x64)" to the develop branch ruleset as a required check.

Assisted by Antigravity (Gemini 4 Neon) and Devin.


Devin Review

Moving rust-test-linux-arm64 to release-checks.yml in #11935 left per-PR CI without a workspace cargo nextest job while duplicate CUDA, golden-corpus, and Spark 4.1-4.3 binary-compatibility checks still ran on unrelated PRs. Add a Linux x64 workspace test job to ci.yml, pass scripts/tests as a directory and assert WASM round-trip decompression in wasm-test, build vortex-jni with --profile ci for sccache reuse, and gate duplicate CUDA and Spark 4.1-4.3 compat jobs on relevant path changes.

Signed-off-by: Will Manning <will@willmanning.io>

@lwwmanning lwwmanning left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Posted by Claude Opus 5.5 on Will's behalf.

The new x64 job matches the arm64 release job, and the Spark 4.1 to 4.3 filter and the removed sleep look safe. Three notes are inline. CI has not run yet because the PR is a draft.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/cuda.yaml Resolved
Comment thread lang/java/vortex-jni/build.gradle.kts Resolved
Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>
@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review November 25, 2026 17:22

@lwwmanning lwwmanning left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Posted by Claude Opus 5.5 on Will's behalf.

6d20472a5 resolves my comment on the JNI build. GitHub Actions sets CI=true, so CI still builds with the ci profile into target/ci. Local ./gradlew runs go back to target/debug with incremental builds, as on develop.

@vortex-roborev-bot

vortex-roborev-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

roborev: Combined Review (2fb50c8)

Verdict: No issues found.


Reviewers: claude-code | Synthesis: claude-code, 0s | Total: 1m2s, cost partial ~$0.37

devin-ai-integration[bot]

This comment was marked as resolved.

@codspeed

codspeed Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

Warning

vortex-data has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed.

1 warning

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

✅ 2130 untouched benchmarks
⏩ 158 skipped benchmarks1


Comparing wm/agy-linux-x64-and-ci-trims (2fb50c8) with develop (dec19bd)

Open in CodSpeed

Footnotes

  1. 158 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>

@lwwmanning lwwmanning left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Posted by Claude Opus 5.5 on Will's behalf.

3eac09e33 is correct. The Spark compatibility job now also runs when the toolchain, the Cargo config or the prebuild action changes. The WebAssembly test now fails if the decompressed array has nulls.

…nd-ci-trims

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>

# Conflicts:
#	.github/workflows/ci.yml
@lwwmanning
lwwmanning enabled auto-merge (squash) November 25, 2026 19:00

@lwwmanning lwwmanning left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Posted by Claude Opus 5.5 on Will's behalf.

The new x64 test job and the trimmed duplicate checks look right. One part goes beyond what the PR needs: the ci profile switch in lang/java/vortex-jni/build.gradle.kts.

The description says it lets the JNI build reuse cached compiles. The numbers do not show that. Java (checks) took 289 seconds on this PR, and 256 and 264 seconds on two other recent PRs. The JNI build uses default features, and the test job uses --all-features, so most cache keys probably differ anyway. The change adds a second build path that only CI takes. Please drop it, and keep the rest of the PR as it is.

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

Dropped the lang/java/vortex-jni/build.gradle.kts ci profile change in 5353c164a and updated the PR description accordingly.

@lwwmanning lwwmanning left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Posted by Claude Opus 5.5 on Will's behalf.

A fresh review found the rest of this change correct, with one step to remove. The "Alert incident.io" step in rust-test-linux-x64 pages on-call whenever the job fails on a develop push. The arm64 job it replaces had no alert, no other job in ci.yml has one, and the description does not mention it. A single flaky test on develop would then page someone. Please delete that step.

The fork-only "Install nextest" step is also optional, because the other nextest jobs in ci.yml have none. Delete it too if forks don't need it.

…nux-x64

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

Removed the Alert incident.io step and the fork-only Install nextest step from rust-test-linux-x64 in a393cebf1 so it matches the arm64 job and the other nextest jobs in ci.yml.

devin-ai-integration[bot]

This comment was marked as resolved.

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

Update: restored the fork-only Install nextest step in 0ba2b302e (while keeping Alert incident.io removed). .github/actions/setup-prebuild/action.yml falls back to setup-rust on forks (github.repository != 'vortex-data/vortex'), and setup-rust does not install cargo-nextest, so rust-test-linux-x64 needs it to run on fork PRs.

…nd-ci-trims

Signed-off-by: Will Manning <will@spiraldb.com>
Co-Authored-By: Will Manning <will@spiraldb.com>

# Conflicts:
#	.github/workflows/ci.yml

@robert3005 robert3005 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I found no new defects. The x64 test job matches the arm64 release job, the Java split keeps the Java gate correct, and the CUDA bridge tests still run in cuda.yaml. One merge note: #12008 also edits the script pytest step in ci.yml. It adds vortex-test/compat-gen/tests/test_compat.py and --with jsonschema. pytest scripts/tests does not collect that file. When you resolve the conflict, keep the compat test path and the jsonschema dependency, or the compat tests stop running.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Noted — if #12008 lands first, we'll keep --with jsonschema and vortex-test/compat-gen/tests/test_compat.py alongside scripts/tests when resolving the ci.yml conflict.

@lwwmanning
lwwmanning merged commit 7c61ab6 into develop Nov 25, 2026
56 checks passed
@lwwmanning
lwwmanning deleted the wm/agy-linux-x64-and-ci-trims branch November 25, 2026 22:24

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

??

joseph-isaacs added a commit that referenced this pull request Nov 26, 2026
#11935 moved the arm64 workspace `cargo nextest` job into release
checks. #12006 then added an x64 copy so pull requests would still run
unit tests. This change moves the arm64 job back into pull request CI on
its `arm64-ci-test` runner, and removes both the x64 job and the
release-check copy so the tests run once. Forks fall back to
`ubuntu-24.04-arm`.

Behaviour change: x64 no longer has a workspace test job, apart from
coverage on `develop`. The required check changes from `Rust tests
(linux-x64)` to `Rust tests (linux-arm64)`, so the `develop` ruleset
needs updating when this merges.

---------

Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants