bug(mtr): can't enqueue MTR job #1106

Closed
opened 2026-03-28 04:31:44 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #3039
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/3039
Original created: 2026-03-14T19:34:24Z


Describe the bug

web-ng 19:33:40.132 [error] GenServer #PID<0.24032.0> terminating                                                                                                                              web-ng ** (Ash.Error.Unknown)                                                                                                                                                                  web-ng Bread Crumbs:                                                                                                                                                                           web-ng   > Exception raised in bulk update: ServiceRadar.Edge.AgentCommand.mark_sent                                                                                                           web-ng   > Exception raised in: ServiceRadar.Edge.AgentCommand.mark_sent                                                                                                                       web-ng                                                                                                                                                                                         web-ng Unknown Error                                                                                                                                                                           web-ng                                                                                                                                                                                         web-ng * ** (KeyError) key :field not found                                                                                                                                                    web-ng   (ash_state_machine 0.2.12) anonymous fn/2 in AshStateMachine.Errors.NoMatchingTransition.__struct__/1                                                                                 web-ng   (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3                                                                                                                 web-ng   (elixir 1.19.4) lib/kernel.ex:2549: Kernel.struct!/2                                                                                                                                  web-ng   (ash_state_machine 0.2.12) lib/errors/no_matching_event.ex:3: AshStateMachine.Errors.NoMatchingTransition.exception/1                                                                 web-ng   (ash_postgres 2.6.26) lib/data_layer.ex:2519: AshPostgres.DataLayer.handle_raised_error/4                                                                                             web-ng   (ash 3.11.1) lib/ash/actions/update/bulk.ex:628: Ash.Actions.Update.Bulk.do_atomic_update/5                                                                                           web-ng   (ash 3.11.1) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6                                                                                                        web-ng   (ash 3.11.1) lib/ash/actions/update/update.ex:174: Ash.Actions.Update.run/4                                                                                                           web-ng     (ash_state_machine 0.2.12) anonymous fn/2 in AshStateMachine.Errors.NoMatchingTransition.__struct__/1                                                                               web-ng     (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3                                                                                                               web-ng     (elixir 1.19.4) lib/kernel.ex:2549: Kernel.struct!/2                                                                                                                                web-ng     (ash_state_machine 0.2.12) lib/errors/no_matching_event.ex:3: AshStateMachine.Errors.NoMatchingTransition.exception/1                                                               web-ng     (ash_postgres 2.6.26) lib/data_layer.ex:2519: AshPostgres.DataLayer.handle_raised_error/4                                                                                           web-ng     (ash 3.11.1) lib/ash/actions/update/bulk.ex:628: Ash.Actions.Update.Bulk.do_atomic_update/5                                                                                         web-ng     (ash 3.11.1) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6
web-ng     (ash 3.11.1) lib/ash/actions/update/update.ex:174: Ash.Actions.Update.run/4
web-ng Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.DeviceLive.Show, "lv:phx-GJzMH0gAFV5QIlaC"}
web-ng Last message: %Phoenix.Socket.Message{topic: "lv:phx-GJzMH0gAFV5QIlaC", event: "event", payload: %{"event" => "run_mtr", "type" => "click", "value" => %{"value" => ""}}, ref: "17", joi
n_ref: "11"}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #3039 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/3039 Original created: 2026-03-14T19:34:24Z --- **Describe the bug** ``` web-ng 19:33:40.132 [error] GenServer #PID<0.24032.0> terminating web-ng ** (Ash.Error.Unknown) web-ng Bread Crumbs: web-ng > Exception raised in bulk update: ServiceRadar.Edge.AgentCommand.mark_sent web-ng > Exception raised in: ServiceRadar.Edge.AgentCommand.mark_sent web-ng web-ng Unknown Error web-ng web-ng * ** (KeyError) key :field not found web-ng (ash_state_machine 0.2.12) anonymous fn/2 in AshStateMachine.Errors.NoMatchingTransition.__struct__/1 web-ng (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 web-ng (elixir 1.19.4) lib/kernel.ex:2549: Kernel.struct!/2 web-ng (ash_state_machine 0.2.12) lib/errors/no_matching_event.ex:3: AshStateMachine.Errors.NoMatchingTransition.exception/1 web-ng (ash_postgres 2.6.26) lib/data_layer.ex:2519: AshPostgres.DataLayer.handle_raised_error/4 web-ng (ash 3.11.1) lib/ash/actions/update/bulk.ex:628: Ash.Actions.Update.Bulk.do_atomic_update/5 web-ng (ash 3.11.1) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6 web-ng (ash 3.11.1) lib/ash/actions/update/update.ex:174: Ash.Actions.Update.run/4 web-ng (ash_state_machine 0.2.12) anonymous fn/2 in AshStateMachine.Errors.NoMatchingTransition.__struct__/1 web-ng (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 web-ng (elixir 1.19.4) lib/kernel.ex:2549: Kernel.struct!/2 web-ng (ash_state_machine 0.2.12) lib/errors/no_matching_event.ex:3: AshStateMachine.Errors.NoMatchingTransition.exception/1 web-ng (ash_postgres 2.6.26) lib/data_layer.ex:2519: AshPostgres.DataLayer.handle_raised_error/4 web-ng (ash 3.11.1) lib/ash/actions/update/bulk.ex:628: Ash.Actions.Update.Bulk.do_atomic_update/5 web-ng (ash 3.11.1) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6 web-ng (ash 3.11.1) lib/ash/actions/update/update.ex:174: Ash.Actions.Update.run/4 web-ng Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.DeviceLive.Show, "lv:phx-GJzMH0gAFV5QIlaC"} web-ng Last message: %Phoenix.Socket.Message{topic: "lv:phx-GJzMH0gAFV5QIlaC", event: "event", payload: %{"event" => "run_mtr", "type" => "click", "value" => %{"value" => ""}}, ref: "17", joi n_ref: "11"} ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/3039#issuecomment-4145495304
Original created: 2026-03-27T21:43:35Z


closing, cant repro

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/3039#issuecomment-4145495304 Original created: 2026-03-27T21:43:35Z --- closing, cant repro
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#1106
No description provided.