Give the waiting-for-thread placeholder its own id

adafa8308624 · AtlantisPleb · · parent b1210d35ed50

Give the waiting-for-thread placeholder its own id

85a4c56 declared gym-transcript-no-thread in both branches of the
placeholder, which the UI contract test refuses: duplicate literal ids
break DOM patching and aria references.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RfZq5s3rc6zpnBR75pTQaU
Co-Authored-By
Claude Fable 5 <noreply@anthropic.com>

Deploy story

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

pushed
by user · WAL seq 375 · 2026-08-25T13:49:27.685084Z

Changed files

  • modified lib/openagents_web/live/gym_run_live.ex
  • modified test/openagents_web/live/gym_run_live_test.exs

Diff

2 files changed, +2 -2

lib/openagents_web/live/gym_run_live.ex modified +1 -1

@@ -365,7 +365,7 @@ defmodule OpenAgentsWeb.GymRunLive do

365 365
                </.empty>
366 366
              <% :no_thread -> %>
367 367
                <%= if selected_trial_running?(@trials, @selected_trial_id) do %>
368
                  <.empty id="gym-transcript-no-thread" title="Waiting for the thread">
368
                  <.empty id="gym-transcript-awaiting-thread" title="Waiting for the thread">
369 369
                    The trial is running and its coder has not announced a
370 370
                    thread yet. The transcript attaches the moment it does.
371 371
                  </.empty>
test/openagents_web/live/gym_run_live_test.exs modified +1 -1

@@ -94,7 +94,7 @@ defmodule OpenAgentsWeb.GymRunLiveTest do

94 94
      row = view |> element("#trials-#{trial.id}") |> render()
95 95
      assert row =~ "hello-world"
96 96
      assert row =~ ~s(data-selected="true")
97
      assert has_element?(view, "#gym-transcript-no-thread")
97
      assert has_element?(view, "#gym-transcript-awaiting-thread")
98 98
    end
99 99
  end
100 100

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