test(security): automate lifecycle and login budget measurements

This commit is contained in:
2026-11-20 19:19:20 +03:00
parent f2ea9d65a8
commit d6957b2f79
11 changed files with 1020 additions and 301 deletions
+5
View File
@@ -21,6 +21,8 @@ os.environ.setdefault("no_proxy", "localhost,127.0.0.1")
from scripts.stand import BASE, ROOT, actor, auth, command, compose, ready
PREFIX = """import io,json,hashlib,time,urllib.request
from src.operator_runtime import prepare_key
prepare_key()
from uuid import UUID,uuid4
from psycopg.types.json import Jsonb
from src.pipeline import database,broker,envelope,STREAM,GROUP
@@ -32,6 +34,9 @@ db,store,queue=database(),ObjectStore(),broker()
def inside(code):
from scripts.operator_task import prepare
prepare()
cid = compose("ps", "-q", "controller").split()[0]
return json.loads(
command(