Expose Forge fallback order on status

b3ae6c61ddec · AtlantisPleb · · parent 4b08e65b9762

Expose Forge fallback order on status

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

built
2 modules in 79.5 s
deployed
live · 2 modules on 3 nodes · push→live 84.3 s

Changed files

  • modified lib/openagents_web/live/network_status_live.ex
  • modified test/openagents_web/live/network_status_live_test.exs

Diff

2 files changed, +7 -2

lib/openagents_web/live/network_status_live.ex modified +5 -1

@@ -485,7 +485,11 @@ defmodule OpenAgentsWeb.NetworkStatusLive do

485 485
              mirror: {mirror_text(@projection["forge"]["mirror"])}
486 486
            </p>
487 487
488
            <p class="status-forge__intro" id="status-forge-policy">
488
            <p
489
              class="status-forge__intro"
490
              id="status-forge-policy"
491
              data-path-order="direct,relup,rolling"
492
            >
489 493
              deploy policy: direct hot load → relup → rolling replacement
490 494
            </p>
491 495
test/openagents_web/live/network_status_live_test.exs modified +2 -1

@@ -188,11 +188,12 @@ defmodule OpenAgentsWeb.NetworkStatusLiveTest do

188 188
      })
189 189
      |> Repo.insert!()
190 190
191
      {:ok, _view, html} = live(conn, ~p"/status")
191
      {:ok, view, html} = live(conn, ~p"/status")
192 192
193 193
      assert html =~ "promoted by operator"
194 194
      assert html =~ "13.2s"
195 195
      assert html =~ "deploy policy: direct hot load → relup → rolling replacement"
196
      assert has_element?(view, "#status-forge-policy[data-path-order='direct,relup,rolling']")
196 197
      refute html =~ "55554444"
197 198
      refute html =~ "HiddenModuleName"
198 199
      # Full sha never appears — only the short form.

This page updates live while a promote is in flight · changelog