From 0fb3d3a50fbd05269fe2883bf336b731c710957e Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 2 Jul 2024 15:43:50 +0700 Subject: [PATCH] Allow from testing to testing on retry --- lib/polar/streams/version/transitions.ex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/polar/streams/version/transitions.ex b/lib/polar/streams/version/transitions.ex index 2b79322..b592e8a 100644 --- a/lib/polar/streams/version/transitions.ex +++ b/lib/polar/streams/version/transitions.ex @@ -10,6 +10,12 @@ defmodule Polar.Streams.Version.Transitions do fn changes -> transit(changes) end ) + Version + |> transition( + [from: "testing", to: "testing", via: "test"], + fn changes -> transit(changes) end + ) + Version |> transition( [from: "inactive", to: "testing", via: "test"],