fetch_ml/internal/storage
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
..
dataset.go refactor(queue): integrate scheduler backend and storage improvements 2026-02-26 12:06:46 -05:00
db_audit.go feat(storage): add groups, tasks, tokens, and audit database schemas 2026-03-08 12:48:42 -04:00
db_connect.go refactor(queue): integrate scheduler backend and storage improvements 2026-02-26 12:06:46 -05:00
db_experiments.go test(chaos): add worker disconnect chaos test and queue improvements 2026-03-12 12:08:21 -04:00
db_groups.go feat(storage): add groups, tasks, tokens, and audit database schemas 2026-03-08 12:48:42 -04:00
db_jobs.go test(chaos): add worker disconnect chaos test and queue improvements 2026-03-12 12:08:21 -04:00
db_metrics.go test(chaos): add worker disconnect chaos test and queue improvements 2026-03-12 12:08:21 -04:00
db_tasks.go test(chaos): add worker disconnect chaos test and queue improvements 2026-03-12 12:08:21 -04:00
db_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
db_tokens.go feat(storage): add groups, tasks, tokens, and audit database schemas 2026-03-08 12:48:42 -04:00
experiment_metadata_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
migrate.go refactor(dependency-hygiene): Fix Redis leak, simplify TUI wrapper, clean go.mod 2026-02-17 21:13:49 -05:00
paths.go refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00
schema_embed.go refactor(storage,queue): split storage layer and add sqlite queue backend 2026-01-05 12:31:02 -05:00
schema_postgres.sql refactor: update WebSocket handlers and database schemas 2026-02-18 14:36:30 -05:00
schema_sqlite.sql feat(storage): add groups, tasks, tokens, and audit database schemas 2026-03-08 12:48:42 -04:00