Merge branch 'next/minor' of github.com:Start9Labs/start-os into next/major

This commit is contained in:
Matt Hill
2024-11-25 19:02:07 -07:00
712 changed files with 83068 additions and 9240 deletions

View File

@@ -104,14 +104,21 @@ export class DepErrorService {
}
}
// invalid config
if (!currentDep.configSatisfied) {
// action required
if (
Object.values(pkg.requestedActions).some(
a =>
a.active &&
a.request.packageId === depId &&
a.request.severity === 'critical',
)
) {
return {
type: 'configUnsatisfied',
type: 'actionRequired',
}
}
const depStatus = dep.status.main.status
const depStatus = dep.status.main
// not running
if (depStatus !== 'running' && depStatus !== 'starting') {
@@ -123,7 +130,7 @@ export class DepErrorService {
// health check failure
if (depStatus === 'running' && currentDep.kind === 'running') {
for (let id of currentDep.healthChecks) {
const check = dep.status.main.health[id]
const check = dep.status.health[id]
if (check?.result !== 'success') {
return {
type: 'healthChecksFailed',