mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
fix(infra): mypy 2.3 compat; _ReleaseContext.prod_branch; deny bare uv sync; telegram compose flag
Renames the smoke-replay loop variable mypy 2.3's stricter narrowing rejects (the uv.lock bump made this the promotion blocker), renames _ReleaseContext.default_branch to prod_branch to match what it holds since the env ladder, extends the Makefile-gated guard to bare uv sync on both runtimes (shared-cache poisoning is the race the guard exists for), and lists ROBOCO_TELEGRAM_ENABLED in both compose files (byte-identical).
This commit is contained in:
@@ -350,8 +350,8 @@ def _assert_spec_introspection(record: dict[str, Any]) -> None:
|
||||
f"the spec. Fix commit: {record['fix_commit']}"
|
||||
)
|
||||
all_assigned_verbs: set[str] = set()
|
||||
for r in spec.Role:
|
||||
all_assigned_verbs.update(spec.intents_for_role(r))
|
||||
for any_role in spec.Role:
|
||||
all_assigned_verbs.update(spec.intents_for_role(any_role))
|
||||
for verb_name in spec._INTENT_VERBS:
|
||||
assert verb_name in all_assigned_verbs, (
|
||||
f"bug {bug_id} regressed: verb {verb_name!r} is declared in "
|
||||
|
||||
Reference in New Issue
Block a user