Skip to content

CI: run native parity on changes to shared tests and source - #95

Merged
tae898 merged 2 commits into
mainfrom
ci/native-parity-shared-paths
Oct 26, 2026
Merged

tae898 merged 2 commits into
mainfrom
ci/native-parity-shared-paths

Conversation

@tae898

@tae898 tae898 commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

test-native.yml runs the native parity suite only when a native path changes. A change to a test or source file that both backends share therefore skipped it: PR #88 changed tests/test_log_redirect.py, and main's native parity broke unseen until #92 fixed it. This is OPEN-ITEMS #61.

The paths filter is one YAML anchor shared by pull_request and push, so both events change together. It now lists native/**, src/arcadedb/**, tests/**, scripts/select_native_matrix.py and .github/workflows/test-native.yml. The old entries for src/arcadedb/_native/**, tests/test_native_*.py, tests/conftest.py and tests/test_select_native_matrix.py are covered by the two wider globs, so they are gone. No job changed.

The filter is a positive list, so docs outside those paths still do not trigger the workflow (docs/**, .adoc, CLAUDE.md, LICENSE). tests/README.md is under tests/** and does trigger it: tests/test_no_monorepo_wording.py reads it, so a change there can break the suite.

This PR changes test-native.yml itself, so its own run is one native leg (linux-x86_64, Python 3.12), about 1 to 2.5 hours. The JVM workflow ignores this PR (it only touches the native workflow and docs).

docs/modules/ROOT/pages/development/ci.adoc states the trigger paths and the reason in its pull request bullet under Native build.

Checks run locally: the YAML parses with yaml.safe_load (both pull_request.paths and push.paths resolve to the same list), and scripts/check_no_embedded_name.py --root . passes.

🤖 Generated with Claude Code

tae898 and others added 2 commits October 26, 2026 20:59
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 <noreply@anthropic.com>
…moke_wheel.py changes (the native job uses them)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit d5930ae into main Oct 26, 2026
8 checks passed
@tae898
tae898 deleted the ci/native-parity-shared-paths branch October 26, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant