fetch_ml/internal/worker
Jeremie Fraeys 33b893a71a
refactor: adopt PathRegistry in worker snapshot_store.go
Update internal/worker/snapshot_store.go to use centralized PathRegistry:

Changes:
- Add import for internal/config package
- Update ResolveSnapshot to use config.FromEnv() for directory creation
- Replace os.MkdirAll with paths.EnsureDir() for tmpRoot
- Replace os.MkdirAll with paths.EnsureDir() for extractDir
- Replace os.MkdirAll with paths.EnsureDir() for cacheDir parent

Benefits:
- Consistent directory creation via PathRegistry
- Centralized path management for snapshot storage
- Better error handling for directory creation
2026-02-18 16:56:27 -05:00
..
execution refactor: Phase 7 - TUI cleanup - reorganize model package 2026-02-17 20:22:04 -05:00
executor feat: implement research-grade maintainability phases 2, 5, 8, 10 2026-02-18 15:34:28 -05:00
integrity refactor: Phase 7 - TUI cleanup - reorganize model package 2026-02-17 20:22:04 -05:00
interfaces refactor: Phase 1 - Extract worker interfaces 2026-02-17 14:10:03 -05:00
lifecycle refactor: Implement TaskExecutorAdapter and Worker.runningCount() 2026-02-17 16:15:41 -05:00
artifacts.go perf: add profiling benchmarks and parallel Go baseline for C++ optimization 2026-02-12 12:04:02 -05:00
config.go refactor: adopt PathRegistry in worker config 2026-02-18 16:55:18 -05:00
factory.go refactor(phase7): Initialize JobRunner in factory.go 2026-02-17 16:40:03 -05:00
gpu_detector.go feat(worker): add integrity checks, snapshot staging, and prewarm support 2026-01-05 12:31:13 -05:00
hash_selector.go feat: Implement all worker stub methods with real functionality 2026-02-17 17:37:56 -05:00
native_bridge.go feat: implement C++ native libraries for performance-critical operations 2026-02-16 20:38:04 -05:00
native_bridge_libs.go refactor(internal): update native bridge and queue integration 2026-02-18 12:45:59 -05:00
native_bridge_nocgo.go feat: add native library bridge and queue integration 2026-02-16 20:38:30 -05:00
snapshot_store.go refactor: adopt PathRegistry in worker snapshot_store.go 2026-02-18 16:56:27 -05:00
testutil.go refactor: Phase 7 - TUI cleanup - reorganize model package 2026-02-17 20:22:04 -05:00
worker.go chore: remove unused runningCount method from worker 2026-02-17 20:43:16 -05:00