runcloud 0.2.225 → 0.2.226
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.
|
@@ -180,6 +180,7 @@ export function hostReport(host, canonical, extra, diagnoses, now, fleetTtl, dee
|
|
|
180
180
|
operation: operation ? { operationId: safeFleetText(operation.operationId), kind: safeFleetText(operation.kind), component: safeFleetText(operation.component),
|
|
181
181
|
phase: safeFleetText(operation.phase), status: safeFleetText(operation.status), progress: num(operation.progress), updatedAt: stamp(operation.updatedAt), owner: safeFleetText(operation.owner),
|
|
182
182
|
...observation(operation.updatedAt, now, 60, operation.stale), error: safeFleetText(operation.error) } : null },
|
|
183
|
+
parking: { savesAppState: admissionObservation.state === 'fresh' && typeof canonical.parkedSessions === 'boolean' ? canonical.parkedSessions : null },
|
|
183
184
|
capacity: role === 'jenkins' ? null : pick(capacity, ['clean', 'leased', 'installing', 'dirty', 'preparing', 'recycling', 'total']),
|
|
184
185
|
capacityObservation: capacitySource === host ? { source: 'hosted', ...hostedObservation(host, now, fleetTtl) } : {
|
|
185
186
|
source: 'shared', ...observation(extra.observedAt, now, context.operatorTtl ?? 120, extra.collectorError)
|
|
@@ -297,8 +297,11 @@ function printReport(report, json) {
|
|
|
297
297
|
return;
|
|
298
298
|
}
|
|
299
299
|
console.log(`${report.generatedAt}: ${report.summary.hosts} hosts, ${report.summary.cpu.freshHosts} fresh CPU samples; mean ${report.summary.cpu.meanBusyPercent?.toFixed(1) ?? 'unknown'}%.`);
|
|
300
|
-
for (const host of report.hosts)
|
|
300
|
+
for (const host of report.hosts) {
|
|
301
301
|
console.log(host.diagnosis);
|
|
302
|
+
if (host.parking.savesAppState === false)
|
|
303
|
+
console.log(`${host.id}: app state saving is OFF; users leased here lose their app data.`);
|
|
304
|
+
}
|
|
302
305
|
console.log(`Matching failure rows: ${report.failures.length}. Event window ${report.eventCoverage.complete ? 'fully read' : 'incomplete'} (${report.eventCoverage.rowsRead} rows).`);
|
|
303
306
|
for (const failure of report.failures)
|
|
304
307
|
console.log(`${failure.timestamp ?? 'time missing'} ${failure.code ?? failure.type ?? 'failure'} host=${failure.hostId ?? 'unknown'} device=${failure.deviceId ?? 'unknown'} providerSession=${failure.providerSessionId ?? 'unknown'}; ${failure.correlation.causation}`);
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = '0.2.
|
|
1
|
+
export const CLI_VERSION = '0.2.226';
|
package/package.json
CHANGED
|
Binary file
|
package/runcloud-0.2.225.tgz
DELETED
|
Binary file
|