Flaky: OwnerLadderLiveTest asserts the crew name before the realm crew fact is projected #17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (fix): the owner-ladder LiveView test stops failing at random on main, so a red gates job means a real defect.
Instance: main
7687787b(kanban#14 landed), run 6943, job 28055 "gates (OTP 28.4.3 / Elixir 1.18.4)": 1 failure in mcl_kanban_web,MclKanbanWeb.OwnerLadderLiveTest"the appointment's reply names the crew, not the key it is acted on by (#40)" (apps/mcl_kanban_web/test/owner_ladder_live_test.exs:140, assert at :174): the rendered reply lackedruns the <b>RealmCrew…</b> crew. The same sha was green in PR run 6899 (job 27943); #14 does not touch mcl_kanban_web. The log also showsExqlite ... database is lockedat connect.Likely cause (read, not proven):
realm_crew_fact/2hands the fact to the projector, but the finalassert html =~ "runs the <b>#{name}</b> crew"is not wrapped ineventually/1, so a click that lands before the projection gives the key-less/unnamed reply.Done when:
eventually/1), andRefs macula-services/mcl-kanban#14 (where it surfaced).