developer(ET): auto-commit from developer run_id=363
This commit is contained in:
@@ -241,6 +241,9 @@ def test_first_call_sends_message_and_stores_id(monkeypatch):
|
||||
|
||||
|
||||
def test_second_call_edits_existing_message(monkeypatch):
|
||||
# ORCH-067: the default flipped to bump; this case asserts the edit-mode
|
||||
# contract, so pin edit mode explicitly.
|
||||
monkeypatch.setattr(N._get_settings(), "tracker_mode", "edit", raising=False)
|
||||
tid = _mk_task(stage="development")
|
||||
_mk_run(tid, "analyst", "2026-06-04 09:00:00", "2026-06-04 09:10:00",
|
||||
in_tok=10, out_tok=5, cost=0.1)
|
||||
@@ -602,9 +605,15 @@ def test_render_stage_labels_are_russian():
|
||||
for ru in ("Анализ", "Архитектура", "Разработка", "Код ревью",
|
||||
"Тестирование", "Внедрение"):
|
||||
assert ru in text, f"missing russian label {ru!r}"
|
||||
# ORCH-067: the new '📍 <Plane-status>' line intentionally carries the ENGLISH
|
||||
# ORCH-066 Plane status name (e.g. 'Awaiting Deploy'); the russian-only rule
|
||||
# (BR-11) applies to the STAGE label lines, so exclude the status line here.
|
||||
stage_lines = "\n".join(
|
||||
ln for ln in text.splitlines() if not ln.startswith("\U0001f4cd")
|
||||
)
|
||||
for en in ("Analysis", "Architecture", "Development", "Review",
|
||||
"Testing", "Deploy"):
|
||||
assert en not in text, f"english label leaked: {en!r}"
|
||||
assert en not in stage_lines, f"english label leaked: {en!r}"
|
||||
|
||||
|
||||
def test_render_done_says_vnedreno_not_deployed():
|
||||
|
||||
Reference in New Issue
Block a user