Compare commits
3 Commits
9b9fa9cdee
...
5b052372b7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b052372b7 | ||
|
|
4232424b23 | ||
|
|
60fe761def |
2
core/Cargo.lock
generated
2
core/Cargo.lock
generated
@ -80,7 +80,7 @@ checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "archipelago"
|
name = "archipelago"
|
||||||
version = "1.7.90-alpha"
|
version = "1.7.91-alpha"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"archipelago-container",
|
"archipelago-container",
|
||||||
|
|||||||
@ -60,9 +60,12 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Iframe blocked fallback -->
|
<!-- Iframe blocked fallback. Suppressed while the ElectrumX sync screen
|
||||||
|
(the "pre UI") is showing: a still-syncing Electrum server isn't
|
||||||
|
reachable yet, so the "App not reachable / retry" overlay would just
|
||||||
|
paint over the sync progress and read as a hard error. -->
|
||||||
<Transition name="content-fade">
|
<Transition name="content-fade">
|
||||||
<div v-if="iframeBlocked" class="absolute inset-0 z-10 flex flex-col items-center justify-center">
|
<div v-if="iframeBlocked && !electrsSync" class="absolute inset-0 z-10 flex flex-col items-center justify-center">
|
||||||
<div class="text-center px-8">
|
<div class="text-center px-8">
|
||||||
<div class="w-16 h-16 mx-auto mb-4 rounded-2xl bg-white/5 border border-white/10 flex items-center justify-center">
|
<div class="w-16 h-16 mx-auto mb-4 rounded-2xl bg-white/5 border border-white/10 flex items-center justify-center">
|
||||||
<svg class="w-8 h-8 text-white/40" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
<svg class="w-8 h-8 text-white/40" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
|||||||
@ -470,6 +470,21 @@ batch_host_reboot() {
|
|||||||
missing=$(comm -23 <(echo "$before") <(echo "$after") | tr '\n' ',' | sed 's/,$//')
|
missing=$(comm -23 <(echo "$before") <(echo "$after") | tr '\n' ',' | sed 's/,$//')
|
||||||
record "_batch" host_reboot FAIL "missing: $missing"
|
record "_batch" host_reboot FAIL "missing: $missing"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# ── L3 per-boot health gate ──────────────────────────────────
|
||||||
|
# Container-set equality proves the right containers exist; os-audit proves
|
||||||
|
# the node is actually *healthy* after the reboot: RPC up, OTA not wedged
|
||||||
|
# (FM12), every app reachable with valid launch metadata, FM-guards green.
|
||||||
|
# This is the per-boot building block os-audit.sh was written to be.
|
||||||
|
if [ -x "$ROOT/tests/lifecycle/os-audit.sh" ]; then
|
||||||
|
echo "── per-boot os-audit gate ──"
|
||||||
|
if ARCHY_HOST="$HOST" ARCHY_SCHEME=https ARCHY_PASSWORD="$UI_PASS" ARCHY_LOCAL=0 \
|
||||||
|
"$ROOT/tests/lifecycle/os-audit.sh" >"$OUT_DIR/os-audit-postboot.log" 2>&1; then
|
||||||
|
record "_batch" host_reboot_osaudit PASS "os-audit green after reboot"
|
||||||
|
else
|
||||||
|
record "_batch" host_reboot_osaudit FAIL "os-audit not green after reboot (see $OUT_DIR/os-audit-postboot.log)"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# ── main ─────────────────────────────────────────────────────────
|
# ── main ─────────────────────────────────────────────────────────
|
||||||
|
|||||||
@ -250,7 +250,7 @@ container_health() {
|
|||||||
health=$(
|
health=$(
|
||||||
ARCHY_RPC_TIMEOUT="${ARCHY_HEALTH_RPC_TIMEOUT:-20}" \
|
ARCHY_RPC_TIMEOUT="${ARCHY_HEALTH_RPC_TIMEOUT:-20}" \
|
||||||
rpc_result container-health "$(jq -nc --arg app "$app" '{app_id:$app}')" \
|
rpc_result container-health "$(jq -nc --arg app "$app" '{app_id:$app}')" \
|
||||||
| jq -r --arg app "$app" '.[$app] // "unknown" | ascii_downcase'
|
| jq -r --arg app "$app" '(.[$app] // "") | if . == "" then "unknown" else ascii_downcase end'
|
||||||
) || health=unknown
|
) || health=unknown
|
||||||
if [[ "$app" == "indeedhub" && "$health" != "healthy" ]] && probe_launch "$app" >/dev/null 2>&1; then
|
if [[ "$app" == "indeedhub" && "$health" != "healthy" ]] && probe_launch "$app" >/dev/null 2>&1; then
|
||||||
health=healthy
|
health=healthy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user