The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e): strict acceptance note names the owners it was run with
Tekniumaa71979a9aaf
diff --git a/tests/ci/test_pending_fixes_strict.py b/tests/ci/test_pending_fixes_strict.pyindex b063e68b550..003d5ce7ab1 100644--- a/tests/ci/test_pending_fixes_strict.py+++ b/tests/ci/test_pending_fixes_strict.py@@ -58,6 +58,8 @@ def _run(tmp_path: Path, strict: str | None) -> dict[str, str]:[sys.executable, "-m", "pytest", str(cell), "-rA", "-q", "-p", "no:cacheprovider","-p", "no:randomly", "-o", "addopts=", "--rootdir", str(tmp_path)],cwd=tmp_path, env=env, capture_output=True, text=True, timeout=120)+ if strict and strict not in ("0",):+ assert "known gap is not excused" not in proc.stdout or f"HERMES_E2E_STRICT_ACCEPTANCE={strict.strip()}:" in proc.stdoutoutcomes = {}for line in proc.stdout.splitlines():for verdict in ("PASSED", "FAILED", "XFAIL"):diff --git a/tests/e2e/core/_pending_fixes.py b/tests/e2e/core/_pending_fixes.pyindex 9b2e5d25be6..80afc414c1f 100644--- a/tests/e2e/core/_pending_fixes.py+++ b/tests/e2e/core/_pending_fixes.py@@ -49,7 +49,8 @@ def known_failure(pattern: str, reason: str,if not re.search(pattern, str(exc)):raiseif strict_acceptance(reason):- exc.add_note(f"{STRICT_ACCEPTANCE_ENV}=1: the known gap is not excused here ({reason})")+ exc.add_note(f"{STRICT_ACCEPTANCE_ENV}={os.environ.get(STRICT_ACCEPTANCE_ENV, '').strip()}: "+ f"the known gap is not excused in this acceptance run ({reason})")raisepytest.xfail(f"{reason} [observed: {str(exc).splitlines()[0][:240]}]")