Why this change is needed:
Before creating a PR, we need to validate that the vector storage model isolation
feature works correctly in the CI environment. The existing tests.yml only runs
on main/dev branches and only tests marked as 'offline'. We need a dedicated
workflow to test feature branches and specifically run migration tests.
What this adds:
- New workflow: feature-tests.yml
- Triggers on:
1. Manual dispatch (workflow_dispatch) - can be triggered from GitHub UI
2. Push to feature/** branches - automatic testing
3. Pull requests to main/dev - pre-merge validation
- Runs migration tests across Python 3.10, 3.11, 3.12
- Specifically tests:
- test_qdrant_migration.py (6 tests)
- test_postgres_migration.py (6 tests)
- Uploads test results as artifacts
How to use:
1. Automatic: Push to feature/vector-model-isolation triggers tests
2. Manual: Go to Actions tab → Feature Branch Tests → Run workflow
3. PR: Tests run automatically when PR is created
Impact:
- Enables pre-PR validation on GitHub infrastructure
- Catches issues before code review
- Provides test results across multiple Python versions
- No need for local test environment setup
Testing:
After pushing this commit, tests will run automatically on the feature branch.
Can also be triggered manually from GitHub Actions UI.
- Add GitHub Actions workflow for CI
- Mark integration tests requiring services
- Add offline test markers for isolated tests
- Skip integration tests by default
- Configure pytest markers and collection
• Uses exact versions from `bun.lock` without updating
• Skips devDependencies, saving time and bandwidth
• The --emptyOutDir already configured in vite.config.ts
* Fetch full git history for tags
* Extract version from latest git tag
* Update __init__.py with tag version
* Display updated version for verification