Admission gate for a rename: RenameGate in flow/rename.py, installed by main.AdmissionGate inside CORS, turns mutating API requests away with 503 renaming and Retry-After while closed and drains those admitted without a limit, abortable; affected flows' hooks get 503 or socket close 1013, reads, sign-in, assistant, workers, artifacts and rename routes pass; the run cache misses while the gate is closed; trigger_node lets EngineHeld through instead of reporting a node failure
This commit is contained in:
@@ -95,6 +95,8 @@ def test_a_run_cache_finds_what_an_earlier_run_recorded(tmp_path):
|
||||
assert cache.lookup(collected) is None
|
||||
assert cache.lookup("never-seen") is None
|
||||
assert cache.lookup("") is None
|
||||
# A rename may have moved some of a row's names and not yet the others.
|
||||
assert RunCache(store, renaming=lambda: True).lookup(plain) is None
|
||||
|
||||
|
||||
def test_what_may_be_stored_as_a_cache_entry():
|
||||
|
||||
Reference in New Issue
Block a user