fullcourtdefense-cli 1.17.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/daemon.js +5 -2
- package/dist/version.json +1 -1
- package/package.json +1 -1
package/dist/commands/daemon.js
CHANGED
|
@@ -658,10 +658,13 @@ async function runDaemon(args, config) {
|
|
|
658
658
|
const watched = refreshWatchTargets();
|
|
659
659
|
log(`Watching ${watched} config file(s) across ${watchers.size} director${watchers.size === 1 ? 'y' : 'ies'}.`);
|
|
660
660
|
await pollBundle();
|
|
661
|
-
await heartbeat();
|
|
662
661
|
// One protective pass at startup so a machine that drifted while the daemon
|
|
663
|
-
// was down converges immediately.
|
|
662
|
+
// was down converges immediately. Runs BEFORE the first heartbeat: upgrades
|
|
663
|
+
// legitimately leave stale hook/wrap paths behind, and heartbeating first
|
|
664
|
+
// would report a false "damaged" state (and fire admin integrity alerts)
|
|
665
|
+
// for a condition the very next line repairs.
|
|
664
666
|
await reprotect(['startup pass']);
|
|
667
|
+
await heartbeat();
|
|
665
668
|
// Fresh machines have never uploaded an inventory (MSI/onboard defers the
|
|
666
669
|
// initial discovery to keep setup fast), so the dashboard shows "Never" for
|
|
667
670
|
// discovery + posture until the daily scheduled job fires — up to 24h later.
|
package/dist/version.json
CHANGED