openreader/compute-worker/tests/compute/control-plane
Richard R 6e69b48103 chore(worker): restructure inference modules and centralize config
- Remove legacy inference and platform files from `src/inference/` and migrate responsibilities to new modular locations under `src/infrastructure/`, `src/inference/pdf/`, and `src/inference/whisper/`
- Consolidate environment/config logic into `src/infrastructure/config.ts`
- Move docstore and ffmpeg platform utilities to `src/infrastructure/platform.ts`
- Refactor PDF and Whisper inference code to use new document layout, layout model, and timestamp utilities
- Update API contracts to define and export types and constants previously scattered in inference/types
- Adjust all imports in jobs, storage, and tests to reference new module structure and type locations
- Inline parser version and encoding logic into API contracts
- Remove obsolete files and update test fixtures for new type locations

This update improves codebase modularity, maintainability, and separation of concerns. No changes to inference or orchestration functionality.

BREAKING CHANGE: inference module structure, type imports, and config utilities have changed; downstream code must update imports and integration points.
2026-06-12 14:16:13 -06:00
..
orchestrator.test.ts refactor(compute-worker): migrate compute logic to modular architecture 2026-06-12 14:07:15 -06:00
run-layout-model.test.ts chore(worker): restructure inference modules and centralize config 2026-06-12 14:16:13 -06:00
sse.test.ts refactor(compute-worker): migrate compute logic to modular architecture 2026-06-12 14:07:15 -06:00
state-machine.test.ts refactor(compute-worker): migrate compute logic to modular architecture 2026-06-12 14:07:15 -06:00