Fix DC-005 latent path bug: health-checker required './platform-paths' but file lives at top level

After DC-005 refactor moved health-checker.js into src/monitoring/, the
require path was never updated. Tests in __tests__/health-checker.test.js
failed with 'Cannot find module' → 59 cascading test failures in the
health-checker suite.

Path: src/monitoring/health-checker.js → 'require(./platform-paths)'
Fix:  'require(../../platform-paths)'

Verified: 921/922 tests passing (one known async-timing flake in
logging.test.js 'writes entry to ERROR_LOG_FILE with context').
This commit is contained in:
Hermes
2026-06-25 16:43:26 -07:00
parent 283121edba
commit 9688e64692
@@ -9,7 +9,7 @@ const http = require('http');
const EventEmitter = require('events'); const EventEmitter = require('events');
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
const paths = require('./platform-paths'); const paths = require('../../platform-paths');
// Persist health config + history alongside the other state files (services.json, // Persist health config + history alongside the other state files (services.json,
// config.json) rather than next to the source. In a container that data dir is the // config.json) rather than next to the source. In a container that data dir is the