{% from 'components/page-heading.html' import page_heading %} {{ page_heading(t.runtime, t.runtime_subtitle) }}
{{ t.runtime_all_services }} · {{ t.runtime_checked }} {{ t.runtime_refresh }} ↻
{% set live = runtime_health.get('live') %}{% set ready = runtime_health.get('ready') %}

{{ t.runtime_live }}

{% if errors.get('runtime_live') %}

{{ t.runtime_unavailable }}

{{ read_error(errors.runtime_live, t.runtime_live) }} {% else %}

{{ t.runtime_responding if live.status == 'ok' else t.runtime_unknown }}

{% endif %} {{ t.runtime_view_probe }} →

{{ t.runtime_readiness }}

{% if errors.get('runtime_ready') %}

{{ t.runtime_unavailable }}

{{ read_error(errors.runtime_ready, t.runtime_readiness) }} {% else %}

{{ t.runtime_ready if ready.status == 'ready' else t.runtime_degraded if ready.status == 'degraded' else t.runtime_not_ready }}

{% endif %} {{ t.runtime_view_probe }} →
{% include 'components/runtime-configuration.html' %}

{{ t.runtime_dependencies }}

{% if errors.get('runtime_ready') %}

{{ t.runtime_unavailable }}

{% elif ready.checks %}
{% for name, state in ready.checks.items() if name not in ['access_mode', 'access_resource_kinds', 'access_artifact_families'] %}
{{ t.get('runtime_check_' ~ name, t.get(name, name)) }}
{{ t.get('runtime_check_' ~ state, t.runtime_unknown) }}
{% endfor %}
{% else %}

{{ t.runtime_checks_empty }}

{% endif %}
{% if ready and ready.checks.get('access_mode') %}

{{ t.runtime_access_details }}

{% for name in ['access_mode', 'access_resource_kinds', 'access_artifact_families'] if name in ready.checks %}
{{ t['runtime_check_' ~ name] }}
{{ t.get('runtime_check_' ~ ready.checks[name], ready.checks[name]) }}
{% endfor %}
{% endif %}

{{ t.runtime_boundary }}