Skip to content

fix: carry producer-owned ACK return routes through streaming batches #165

fix: carry producer-owned ACK return routes through streaming batches

fix: carry producer-owned ACK return routes through streaming batches #165

Workflow file for this run

name: Smoke Test
on:
push:
branches: [ main, copilot/** ]
pull_request:
branches: [ main ]
jobs:
smoke-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python 3.12
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Test basic imports
run: |
python -c "import polystore; print(f'✓ polystore {polystore.__version__}')"
python -c "from polystore import FileManager, MemoryBackend, DiskBackend; print('✓ All imports work')"
- name: Test basic functionality
run: |
python << 'PYEOF'
import numpy as np
from polystore import MemoryBackend
backend = MemoryBackend()
backend.ensure_directory("/")
data = np.array([1, 2, 3])
backend.save(data, "/test.npy")
loaded = backend.load("/test.npy")
assert np.array_equal(data, loaded)
print("✓ Basic memory backend works")
PYEOF