release 1.10.1: ignore converter wrote-errors lines in sticky count
This commit is contained in:
parent
321df897ef
commit
ecb0cf8b4a
3 changed files with 11 additions and 1 deletions
|
|
@ -196,6 +196,9 @@ def classify(line: str) -> str:
|
|||
return "meta"
|
||||
if "numbered checks" in line.lower() or "totals:" in line.lower():
|
||||
return "meta"
|
||||
# host-agent tees converter "wrote … (errors=N …)" into the same log
|
||||
if line.lstrip().lower().startswith("wrote ") and "errors=" in line.lower():
|
||||
return "meta"
|
||||
if "BLOCKER" in u or "┌ BLOCKER" in u:
|
||||
return "blocker"
|
||||
if "ERROR" in u or "┌ ERROR" in u:
|
||||
|
|
@ -313,6 +316,12 @@ def is_summary_error_line(ln: str) -> bool:
|
|||
return True
|
||||
if "totals:" in low:
|
||||
return True
|
||||
# console_to_html "wrote … (errors=N warnings=M level=…)" is teed into the
|
||||
# host-agent log; "errors=" uppercases to "ERRORS=" and must not count as ERROR.
|
||||
if low.lstrip().startswith("wrote ") and "errors=" in low:
|
||||
return True
|
||||
if "level=red" in low and "wrote " in low:
|
||||
return True
|
||||
# header-ish RUN_TIMEOUT= without error badge
|
||||
if is_run_timeout_text(ln) and "ERROR" not in ln.upper() and "run.timeout" not in low:
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue