Hive Hive
Sign in

Ecto.MultipleResultsError happened in: TuistWeb.TestRunLive#mount

GitHub issue · Open

Metadata
Source
tuist/tuist #8859
Updated
Jun 11, 2026
Domains
Compute
Details

[Incident: #1338] Ecto.MultipleResultsError happened in: TuistWeb.TestRunLive#mount

Message

** (Ecto.MultipleResultsError) expected at most one result but got 2 in query:
from e0 in Tuist.CommandEvents.Event,
where: e0.test_run_id == ^"5629d497-6163-4692-98ef-d899bdf39c0b"

Backtrace (up to last 10 lines)

(ecto 3.13.5) lib/ecto/repo/queryable.ex:166: Ecto.Repo.Queryable.one/3
(tuist 0.1.0) lib/tuist/command_events.ex:359: Tuist.CommandEvents.get_command_event_by_test_run_id/1
(tuist 0.1.0) lib/tuist_web/live/test_run_live.ex:39: TuistWeb.TestRunLive.mount/3
(phoenix_live_view 1.1.18) lib/phoenix_live_view/utils.ex:358: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5
(telemetry 1.3.0) /app/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
(phoenix_live_view 1.1.18) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5
(phoenix_live_view 1.1.18) lib/phoenix_live_view/static.ex:155: Phoenix.LiveView.Static.do_render/4
(phoenix_live_view 1.1.18) lib/phoenix_live_view/controller.ex:39: Phoenix.LiveView.Controller.live_render/3

View on AppSignal: https://appsignal.com/tuist/sites/6607b64d83eb6789e61c8ba7/exceptions/incidents/1338?id=last

Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments
L
linear[bot] Dec 9, 2025