{% extends "base.html" %} {% block content %}

Deploy incidents

GitHub Pages 배포 실패를 감지·분류·자동 수정하는 deploy_watcher 로그. 2분 주기로 gh run list 폴링 → 실패 감지 시 log 분석 → YAML 자동 복구 + push → 재배포.

{% if incidents %}
{% for inc in incidents %}
{% set color = 'bg-emerald-600' if inc.auto_applied else 'bg-amber-500' if not inc.fix_error else 'bg-rose-600' %} {{ inc.category }}
#{{ inc.gh_run_id }} {% if inc.commit_sha %} (@{{ inc.commit_sha }}) {% endif %} {% if inc.created_at %} {{ inc.created_at }} {% endif %}
{{ inc.root_cause }}
{% if inc.suggested_fix %}
{{ inc.suggested_fix }}
{% endif %} {% if inc.fix_error %}
auto-fix failed: {{ inc.fix_error }}
{% endif %} {% if inc.fix_commit_sha %}
✓ auto-fixed {{ inc.fix_commit_sha }}
{% endif %} {% if inc.evidence and inc.evidence.url %} {% endif %}
{% if not inc.auto_applied %}
{% endif %}
{% endfor %}
{% else %}
아직 기록된 deploy failure가 없습니다. 배포 실패 감지 시 자동으로 여기에 표시됩니다.
{% endif %} {% endblock %}