Repository navigation
GH-1429: Match macOS JNI source selection to Linux - #1430
efegokdemir wants to merge 6 commits into
Conversation
Use latest-rc consistently, explicitly enable macOS JSON support, and run the dataset regression without suppressing missing-test failures.
Require at least one test in the dataset-only JNI regression invocation. A missing method otherwise succeeds with zero tests.
… builds latest-rc fails whenever dist/dev has no Arrow C++ release candidate, which is the usual state between releases. Go back to the default latest release for the Linux and macOS JNI jobs; scheduled runs still build against apache/arrow main.
| if: github.event_name != 'schedule' | ||
| run: | | ||
| ci/scripts/download_cpp.sh | ||
| ci/scripts/download_cpp.sh latest-rc |
There was a problem hiding this comment.
My earlier suggestion to pass latest-rc was wrong, sorry about that.
download_cpp.sh latest-rc only works while an Arrow C++ RC is staged in https://dist.apache.org/repos/dist/dev/arrow/, which only happens during a vote. Right now that directory only has KEYS and java/. The grep matches nothing, pipefail makes the script exit 1, and the Linux and macOS JNI jobs fail after a few seconds. rc.yml runs on every push, PR and tag, so after merge this would break CI on main too. It also moves this Linux job off latest-release, which is what main uses today.
Could we go back to the default (latest-release) for both jobs? That's what you did initially, and you were right:
| ci/scripts/download_cpp.sh latest-rc | |
| ci/scripts/download_cpp.sh |
| - name: Download the latest Apache Arrow C++ | ||
| if: github.event_name != 'schedule' | ||
| run: | | ||
| ci/scripts/download_cpp.sh latest-rc |
There was a problem hiding this comment.
Same here:
| ci/scripts/download_cpp.sh latest-rc | |
| ci/scripts/download_cpp.sh |
Use the latest Apache Arrow C++ release for non-scheduled macOS JNI builds, matching the Linux jobs. Scheduled builds continue using
main, and the macOS job runsTestFileSystemDataset#testBaseJsonReadagainst its JNI library to catch JSON parser crashes. Closes #1429.The test was reproduced against the macOS JNI artifact from run 41256646402 and terminated the JVM in
ResolveSimdjsonResult. AI assistance was used to prepare this workflow change and regression test.