This repository uses a GitFlow-lite workflow.
mainProduction-ready history only. Merge here fromrelease/*andhotfix/*.developDefault integration branch for day-to-day development.feature/<topic>Branch fromdevelopand open the PR back todevelop.release/<version>Branch fromdevelopwhen preparing a release. Stabilization-only changes go here, and the PR targetsmain.hotfix/<topic>Branch frommainfor urgent production fixes. The PR targetsmain, then the fix must be merged back intodevelop.
feature/*->developrelease/*->mainhotfix/*->main
After a release/* or hotfix/* PR lands on main, merge the resulting main commit back into develop so the integration branch stays current.
GitHub Actions is split into three validation layers:
- Fast Tests
Coverage-backed unit and integration suite (
make test-cov) on every supported push and PR. - Sample Graphs
In-process graph runner plus the in-process API smoke flow (
make test-samples). - seekdb Validation
Real backend checkpoint smoke plus live HTTP e2e coverage (
make test-seekdb) on PRs todevelopormain, and on pushes todevelop,main,release/*, andhotfix/*. CI runs this in a Docker matrix acrossseekdb,oceanbase, andmysql, while local quick verification should prefer embedded seekdb viascripts/seekdb_embed_launcher.py.
Keep local commands aligned with CI when possible:
make testmake test-covmake test-samplesmake test-e2emake test-seekdb
For embedded seekdb locally, install the optional extra first:
uv sync --dev --extra embedded
After the tag-triggered release workflow publishes to PyPI, its Linux, macOS, and Windows smoke jobs each install the exact tagged version in a fresh Python 3.12 environment. They use public PyPI with caching disabled, not the checkout or the build job's wheel. The checks verify artifact provenance, package and CLI versions, imports, CLI help, and dependency compatibility.
The helper retries publication visibility for a bounded period; it does not fall back to an older version or retry failing package checks. A smoke failure makes the release workflow fail, but does not undo an already-published package.
To check an existing published release without publishing anything:
python scripts/test_pypi_release.py --tag v0.3.2