Move schema ownership to infrastructure layer: - Redis keys: config/constants.go -> queue/keys.go (TaskQueueKey, TaskPrefix, etc.) - Filesystem paths: config/paths.go -> storage/paths.go (JobPaths) - Create config/shared.go with RedisConfig, SSHConfig - Update all imports: worker/, api/helpers, api/ws_jobs, api/ws_validate - Clean up: remove duplicates from queue/task.go, queue/queue.go, config/paths.go Build status: Compiles successfully |
||
|---|---|---|
| .. | ||
| helpers | ||
| handlers.go | ||
| health.go | ||
| metrics_middleware.go | ||
| monitoring_config.go | ||
| protocol.go | ||
| server.go | ||
| server_config.go | ||
| ws_datasets.go | ||
| ws_handler.go | ||
| ws_jobs.go | ||
| ws_jupyter.go | ||
| ws_protocol.go | ||
| ws_tls_auth.go | ||
| ws_validate.go | ||