A batch run skips the nodes waiting on a failed one and ends error; a run whose nodes cannot load fails with the load error before anything executes; cancelling a run stops its pipeline without announcing a pause of the live flow; batch_issues refuses a delay node's interval; the client accepts an engine URL with or without /api/v1; RedisState's compare-and-swap records the names it writes

This commit is contained in:
2026-11-04 21:38:21 +01:00
parent eb17528ce6
commit d028bf326a
11 changed files with 221 additions and 32 deletions
+13
View File
@@ -33,6 +33,19 @@ def a_client(handler, monkeypatch, **kwargs):
return Client(url="http://engine", token="t", http=http, **kwargs)
@pytest.mark.parametrize(
"url",
[
"http://e:8000",
"http://e:8000/",
"http://e:8000/api/v1",
"http://e:8000/api/v1/",
],
)
def test_an_engine_url_may_carry_the_api_path(url):
assert Client(url=url, token="t").url == "http://e:8000"
def test_idempotent_get_is_tried_again(monkeypatch):
calls = []