From d02a1aac83a3e37f75ed29c36a41b516dda9cec0 Mon Sep 17 00:00:00 2001 From: ttt161 Date: Fri, 6 Feb 2026 13:53:28 +0300 Subject: [PATCH 1/2] bump machinery-1.1.19 --- rebar.config | 2 +- rebar.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rebar.config b/rebar.config index 325b6b7..e2acf7c 100644 --- a/rebar.config +++ b/rebar.config @@ -31,7 +31,7 @@ {bender_proto, {git, "https://github.com/valitydev/bender-proto.git", {branch, "master"}}}, {erl_health, {git, "https://github.com/valitydev/erlang-health.git", {branch, "master"}}}, {genlib, {git, "https://github.com/valitydev/genlib.git", {tag, "v1.1.0"}}}, - {machinery, {git, "https://github.com/valitydev/machinery-erlang.git", {tag, "v1.1.10"}}}, + {machinery, {git, "https://github.com/valitydev/machinery-erlang.git", {tag, "v1.1.19"}}}, {scoper, {git, "https://github.com/valitydev/scoper.git", {tag, "v1.1.0"}}}, {snowflake, {git, "https://github.com/valitydev/snowflake.git", {branch, "master"}}}, {woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.0"}}}, diff --git a/rebar.lock b/rebar.lock index de05565..c3383f8 100644 --- a/rebar.lock +++ b/rebar.lock @@ -23,7 +23,7 @@ {<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2}, {<<"epg_connector">>, {git,"https://github.com/valitydev/epg_connector.git", - {ref,"2e86da8083908d0d35a4eed3e2168c9ba6a8d04a"}}, + {ref,"939a0d4ab3f7561a79b45381bbe13029d9263006"}}, 2}, {<<"epgsql">>, {git,"https://github.com/epgsql/epgsql.git", @@ -47,7 +47,7 @@ {<<"kafka_protocol">>,{pkg,<<"kafka_protocol">>,<<"4.1.10">>},3}, {<<"machinery">>, {git,"https://github.com/valitydev/machinery-erlang.git", - {ref,"066f6cecd5d8f011c1b3bf8e45f6ad967c0e733d"}}, + {ref,"eac35324e9adc7bfc52e7bb83148335cba01fee8"}}, 0}, {<<"metrics">>,{pkg,<<"metrics">>,<<"1.0.1">>},2}, {<<"mg_proto">>, @@ -70,7 +70,7 @@ {<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.3.1">>},2}, {<<"progressor">>, {git,"https://github.com/valitydev/progressor.git", - {ref,"d429410a0f2b42fbcc22b340cc8dc1915b13f119"}}, + {ref,"6033631d3e1eb9593acf7841d8a635146ff482e8"}}, 1}, {<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.8.1">>},0}, {<<"prometheus_cowboy">>,{pkg,<<"prometheus_cowboy">>,<<"0.1.8">>},0}, From 539100d4960ec78b3087f9fe77a3ac8afa4f3ba9 Mon Sep 17 00:00:00 2001 From: ttt161 Date: Fri, 6 Feb 2026 14:22:03 +0300 Subject: [PATCH 2/2] bump woody, fix machinery call --- apps/bender/src/bender_sequence.erl | 8 +++++++- rebar.config | 2 +- rebar.lock | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/bender/src/bender_sequence.erl b/apps/bender/src/bender_sequence.erl index d204c71..4b37094 100644 --- a/apps/bender/src/bender_sequence.erl +++ b/apps/bender/src/bender_sequence.erl @@ -112,7 +112,13 @@ start(SequenceID, Args, WoodyCtx) -> -spec call(id(), args(_), woody_context()) -> {ok, response(_)} | {error, notfound}. call(SequenceID, Msg, WoodyCtx) -> - machinery:call(?NS, SequenceID, Msg, get_backend(WoodyCtx)). + case machinery:call(?NS, SequenceID, Msg, get_backend(WoodyCtx)) of + {error, notfound} -> + timer:sleep(100), + call(SequenceID, Msg, WoodyCtx); + Result -> + Result + end. -spec get_state(id(), woody_context()) -> {ok, state()} | {error, notfound}. get_state(SequenceID, WoodyCtx) -> diff --git a/rebar.config b/rebar.config index e2acf7c..7aed081 100644 --- a/rebar.config +++ b/rebar.config @@ -34,7 +34,7 @@ {machinery, {git, "https://github.com/valitydev/machinery-erlang.git", {tag, "v1.1.19"}}}, {scoper, {git, "https://github.com/valitydev/scoper.git", {tag, "v1.1.0"}}}, {snowflake, {git, "https://github.com/valitydev/snowflake.git", {branch, "master"}}}, - {woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.0"}}}, + {woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.1"}}}, {opentelemetry_api, "1.2.1"}, {opentelemetry, "1.3.0"}, {opentelemetry_exporter, "1.3.0"} diff --git a/rebar.lock b/rebar.lock index c3383f8..20c4445 100644 --- a/rebar.lock +++ b/rebar.lock @@ -97,7 +97,7 @@ {<<"unicode_util_compat">>,{pkg,<<"unicode_util_compat">>,<<"0.7.1">>},2}, {<<"woody">>, {git,"https://github.com/valitydev/woody_erlang.git", - {ref,"cc983a9423325ba1d6a509775eb6ff7ace721539"}}, + {ref,"3de9a236b66807d5397b28aed42e2b1c85f36739"}}, 0}]}. [ {pkg_hash,[