Skip to content

ci: run the native build weekly against upstream's engine snapshot - #513

Merged
tae898 merged 1 commit into
mainfrom
ci/native-engine-snapshot-weekly
Nov 27, 2026
Merged

tae898 merged 1 commit into
mainfrom
ci/native-engine-snapshot-weekly

Conversation

@tae898

@tae898 tae898 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

Between releases the native build links the last engine release, so an engine change that breaks the native image or its tests would first show after the next release. arcadedb-jvm is already tested every night against upstream's newest snapshot. This adds a weekly native run against the snapshot.

test-native.yml, nightly test-native-snapshot.yml, new
Engine DEV_ENGINE, today the release 26.11.1 the floating 26.12.1-SNAPSHOT, the base of DEFAULT_VERSION
When every day, skipped when nothing changed (not on Mondays) Saturday 04:40 UTC and by hand, never skipped
Legs all four platforms linux-x86_64 only: the tests on Python 3.12 and a subset on 3.11 and 3.14, no examples
Red run on main report-red-main.yml opens an issue the same, under its own title

The new workflow calls test-native.yml with the new input engine-snapshot: true. That run has a concurrency group of its own, so the two scheduled runs do not cancel each other. It publishes nothing. It runs once a week on one platform because the runners are shared with the engine team.

The new workflow can be started only once it is on main, so no snapshot build has run through it yet. I will start one by hand after the merge.

Related issues

Closes #499

Performance changes

None.

Docs

development/ci.adoc describes the new workflow, the engine it links, and that the issue for a red run covers it.

Checklist

  • A regression test fails on the old code and passes on the new: the new tests (the engine choice, the legs, the concurrency groups, and the workflow list of the report) need the new input and workflow, and I did not run them against the old code
  • The test suite that the change can affect passes (the checks of this pull request, which include the new tests)
  • uvx pre-commit run --files <changed files> passes

Between releases test-native.yml links DEV_ENGINE, the last engine release, so an upstream change that breaks the native image or its tests would first show after the next release. test-jvm.yml already runs every night against upstream's newest snapshot.

The new workflow test-native-snapshot.yml calls test-native.yml once a week with engine-snapshot: true. The plan job then links the floating A.B.C-SNAPSHOT of the base of DEFAULT_VERSION (moved by scripts/bump_engine.py after a release), runs the legs of a pull request (linux-x86_64, no example) whatever changed here, and uses a concurrency group of its own so the two scheduled runs do not cancel each other. report-red-main.yml listens for the new workflow, since a called workflow starts no workflow_run of its own. Weekly and one platform because the runners are shared with ArcadeData/arcadedb.

Closes #499
@tae898 tae898 added enhancement New feature or request github_actions Pull requests that update GitHub Actions code native The arcadedb package (native library build) labels Nov 27, 2026
@tae898 tae898 self-assigned this Nov 27, 2026
@tae898
tae898 merged commit e361dc1 into main Nov 27, 2026
25 checks passed
@tae898
tae898 deleted the ci/native-engine-snapshot-weekly branch November 27, 2026 10:21
@github-actions github-actions Bot added this to the 26.12.1 milestone Nov 27, 2026
@tae898 tae898 mentioned this pull request Nov 30, 2026
1 of 10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code native The arcadedb package (native library build)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native build is not tested against upstream's engine snapshot between releases

1 participant