Skip to content

Add local H5 worker service boundary#977

Draft
anth-volk wants to merge 1 commit into
mainfrom
codex/h5-migration-pr8-worker-service
Draft

Add local H5 worker service boundary#977
anth-volk wants to merge 1 commit into
mainfrom
codex/h5-migration-pr8-worker-service

Conversation

@anth-volk
Copy link
Copy Markdown
Collaborator

@anth-volk anth-volk commented May 14, 2026

Fixes #976

Summary

  • Introduce LocalH5WorkerService as the canonical one-worker local H5 execution boundary.
  • Keep modal_app.worker_script as a thin CLI/session/JSON adapter.
  • Preserve legacy worker JSON fields while adding structured results and issues.
  • Add unit and worker-runtime integration coverage for the worker service and adapter paths.

Prerequisite

This PR should wait until #973 is merged.

Testing

  • make lint
  • .venv-test/bin/pytest tests/unit/test_modal_worker_script.py tests/unit/build_outputs/test_worker_service.py -q
  • .venv-test/bin/pytest tests/integration/build_outputs/h5_worker_runtime/test_worker_script_tiny_fixture.py -q
  • .venv-test/bin/python scripts/run_quality_guards.py

Note: local uv run remains blocked on Intel macOS by the locked torch==2.9.1 wheel availability.

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.

Implement local H5 worker service boundary

1 participant