fetch_ml/internal/worker
Jeremie Fraeys 61660dc925
refactor: co-locate security, storage, telemetry, tracking, worker tests
Move unit tests from tests/unit/ to internal/ following Go conventions:

Security tests:
- tests/unit/security/* -> internal/security/* (audit, config_integrity, filetype, gpu_audit, hipaa_validation, manifest_filename, path_traversal, resource_quota, secrets)

Storage tests:
- tests/unit/storage/* -> internal/storage/* (db, experiment_metadata)

Telemetry tests:
- tests/unit/telemetry/* -> internal/telemetry/* (telemetry)

Tracking tests:
- tests/unit/reproducibility/* -> internal/tracking/* (config_hash, environment_capture)

Worker tests:
- tests/unit/worker/* -> internal/worker/* (artifacts, config, hash_bench, plugins/jupyter_task, plugins/vllm, prewarm_v1, run_manifest_execution, snapshot_stage, snapshot_store, worker)

Update import paths in test files to reflect new locations.
2026-03-12 16:37:03 -04:00
..
errors feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
execution refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
executor feat(worker): improve lifecycle management and vLLM plugin 2026-03-12 12:05:02 -04:00
integrity refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
interfaces feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
lifecycle feat(worker): improve lifecycle management and vLLM plugin 2026-03-12 12:05:02 -04:00
plugins refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
process refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
tenant refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
artifacts.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
artifacts_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
config.go feat(worker): improve lifecycle management and vLLM plugin 2026-03-12 12:05:02 -04:00
config_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
factory.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
gpu_detector.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
gpu_detector_mock.go feat(worker): refactor GPU detection with macOS Metal support 2026-03-12 12:02:41 -04:00
gpu_macos.go feat(worker): refactor GPU detection with macOS Metal support 2026-03-12 12:02:41 -04:00
gpu_macos_stub.go feat: native GPU detection and NVML bridge for macOS and Linux 2026-02-21 17:59:59 -05:00
gpu_nvml_native.go feat: native GPU detection and NVML bridge for macOS and Linux 2026-02-21 17:59:59 -05:00
gpu_nvml_stub.go feat(worker): integrate scheduler endpoints and security hardening 2026-02-26 12:06:16 -05:00
hash_bench_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
native_bridge.go refactor(worker): update worker tests and native bridge 2026-02-23 18:04:22 -05:00
native_bridge_libs.go feat(security): Artifact ingestion caps enforcement 2026-02-23 19:43:28 -05:00
native_bridge_nocgo.go refactor(worker): update worker tests and native bridge 2026-02-23 18:04:22 -05:00
prewarm_v1_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
run_manifest_execution_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
snapshot_stage_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
snapshot_store.go feat(worker): improve lifecycle management and vLLM plugin 2026-03-12 12:05:02 -04:00
snapshot_store_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
worker.go refactor(scheduler,worker): improve service management and GPU detection 2026-03-08 13:03:15 -04:00
worker_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00