fix(cliproxy): harden update recovery paths

This commit is contained in:
Tam Nhu Tran committed 2026-08-10 22:13:29 -04:00
1 parent 8e4def4713
commit 4502e5d503
9 files changed
+318 -52

No files matched your search

@@ -35,9 +35,15 @@ describe('CLIProxy Docker host continuity assets', () => {
});
it('recreates missing containers and escalates unhealthy recovery', () => {
expect(reconcileScript).toContain('docker compose -f "$compose_file" up -d --no-build');
expect(reconcileScript).toContain('CCS_CLIPROXY_COMPOSE_DIR:-/opt/cliproxy');
expect(reconcileScript).toContain('CCS_CLIPROXY_COMPOSE_PROJECT:-docker');
expect(reconcileScript).toContain('--project-name "$compose_project"');
expect(reconcileScript).toContain('-f "$compose_file" up -d --no-build');
expect(reconcileScript).toContain('restart ccs-dashboard cliproxy');
expect(reconcileScript).toContain('docker restart "$container_name"');
expect(reconcileScript.indexOf('docker restart "$container_name"')).toBeGreaterThan(
reconcileScript.indexOf('restart ccs-dashboard cliproxy')
);
});
it('installs executable services on bounded timers', () => {