chore(ci): check the amd64 native image after each Nightly, not on every pull request (#8959)

* chore(ci): check the amd64 native image after each Nightly, not on every pull request

compatibility.yml built the amd64 native image on every pull request (7 to 9 minutes in the last five green runs) to run one 2-minute suite, sdk-test-python, whose Firehose compression delivery test needs the x86_64 snappy JNI library. Pull requests now build and test arm64 only. compat-partitions.yml, which already runs after each Nightly against the published floci/floci:nightly image, gains an amd64 sdk-test-python job in the commercial partition, so the amd64 half of the multi-arch image is still checked once a day, against the image users pull.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* chore(ci): keep the amd64 job's test results, and skip it on a single-region dispatch

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-11-19 17:06:52 -06:00
1 parent 99a13cf067
commit 3bf5e2a5f9
2 files changed
+123 -16

No files matched your search

+10 -16
View File
@@ -170,17 +170,17 @@ jobs:
github.event.pull_request.state != 'closed' &&
github.event.action != 'edited'
)
# Both published architectures. The native image is the only place an
# arch-specific resource can go missing (snappy-java's JNI library is
# registered per platform), and one arch cannot prove the other.
# arm64 only. The native image is the only place an arch-specific resource can go missing
# (snappy-java's JNI library is registered per platform), and one arch cannot prove the other,
# but an amd64 build here cost 7 to 9 minutes of every run for one 2-minute suite. The amd64
# image is proven instead by compat-partitions.yml's amd64 job, after each Nightly, against the
# published multi-arch nightly image.
strategy:
fail-fast: false
matrix:
include:
- arch: arm64
runner: ubuntu-24.04-arm
- arch: amd64
runner: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -299,14 +299,11 @@ jobs:
needs: build-native
runs-on: ${{ matrix.runner }}
timeout-minutes: 20
# The suites run against the arm64 image only. What they check is
# arch-neutral, and running all eight on both arches (16 jobs per PR) left
# them queued for the shared runner pools for longer than they take to run.
# The amd64 image is still built above so both published arches are proven
# to link and package, and one amd64 suite stays: sdk-test-python carries
# the Firehose compression delivery test that proves the x86_64 snappy JNI
# library survived the native build (the resource that can go missing per
# platform, see the build-native comment).
# The suites run against the arm64 image only. What they check is arch-neutral, and running all
# eight on both arches (16 jobs per PR) left them queued for the shared runner pools for longer
# than they take to run. The x86_64 snappy JNI library (the resource that can go missing per
# platform, see the build-native comment) is checked after each Nightly by compat-partitions.yml's
# amd64 sdk-test-python job, which carries the Firehose compression delivery test.
strategy:
fail-fast: false
matrix:
@@ -324,9 +321,6 @@ jobs:
include:
- arch: arm64
runner: ubuntu-24.04-arm
- arch: amd64
test: sdk-test-python
runner: ubuntu-latest
steps:
- name: Download native floci image