From 4d6a981b6700de113c2e44bdd608b5b7bdd94812 Mon Sep 17 00:00:00 2001 From: Taewoon Kim Date: Mon, 26 Oct 2026 20:59:07 +0900 Subject: [PATCH 1/2] CI: run native parity on changes to shared tests and source test-native.yml ran only for native paths, so a change to a test or source file shared by both backends skipped the native parity suite. PR #88 changed tests/test_log_redirect.py and main's native parity broke unseen until #92. The pull_request and push paths (one YAML anchor) now cover src/arcadedb/** and tests/**, plus the native paths it already covered. Docs outside those paths still do not trigger it. No job changed. ci.adoc states which paths trigger native parity and why. Co-Authored-By: Claude Haiku 5.5 --- .github/workflows/test-native.yml | 7 +++---- docs/modules/ROOT/pages/development/ci.adoc | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-native.yml b/.github/workflows/test-native.yml index 0c0f2d4..6d2ddc8 100644 --- a/.github/workflows/test-native.yml +++ b/.github/workflows/test-native.yml @@ -34,13 +34,12 @@ name: Test native (arcadedb) on: pull_request: types: [opened, synchronize, reopened, ready_for_review] + # tests/ and src/arcadedb/ are shared by both backends: a change there can break the native parity suite, so it runs too. paths: &native_paths - "native/**" - - "src/arcadedb/_native/**" - - "tests/test_native_*.py" - - "tests/conftest.py" + - "src/arcadedb/**" + - "tests/**" - "scripts/select_native_matrix.py" - - "tests/test_select_native_matrix.py" - ".github/workflows/test-native.yml" push: branches: [main] diff --git a/docs/modules/ROOT/pages/development/ci.adoc b/docs/modules/ROOT/pages/development/ci.adoc index 3a4d00c..efd3d8a 100644 --- a/docs/modules/ROOT/pages/development/ci.adoc +++ b/docs/modules/ROOT/pages/development/ci.adoc @@ -62,7 +62,7 @@ The names of the test jobs do not change: `Test arcadedb (, Python Date: Mon, 26 Oct 2026 21:00:02 +0900 Subject: [PATCH 2/2] ci: native parity also runs on pyproject.toml, setup.py and scripts/smoke_wheel.py changes (the native job uses them) Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test-native.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-native.yml b/.github/workflows/test-native.yml index 6d2ddc8..1838802 100644 --- a/.github/workflows/test-native.yml +++ b/.github/workflows/test-native.yml @@ -40,6 +40,9 @@ on: - "src/arcadedb/**" - "tests/**" - "scripts/select_native_matrix.py" + - "scripts/smoke_wheel.py" + - "pyproject.toml" + - "setup.py" - ".github/workflows/test-native.yml" push: branches: [main]