release 1.10.9: stats policy not false first-error (www.stats-01)
This commit is contained in:
parent
b9953fd3fe
commit
7105c3eccd
4 changed files with 9 additions and 4 deletions
|
|
@ -369,13 +369,16 @@ def extract_errors(lines: list[str]) -> list[str]:
|
|||
errs.append(body)
|
||||
elif "ERROR" in ln.upper() and ln.strip() and not is_run_timeout_text(ln):
|
||||
errs.append(ln.strip())
|
||||
if re.search(r"\bERROR\b", ln, re.I) and "--- ERRORS" not in ln:
|
||||
# Only real check badges (not INFO text mentioning thresholds like "… ERROR (0=disable)")
|
||||
if re.search(r"┌\s*ERROR\b|\[\s*ERROR\b", ln, re.I) and "--- ERRORS" not in ln:
|
||||
if is_run_timeout_text(ln):
|
||||
if "run.timeout-01" in ln.lower() or "RUN_TIMEOUT exceeded" in ln:
|
||||
timeout_detail = re.sub(r"\s+", " ", strip_ansi(ln)).strip()
|
||||
continue
|
||||
if is_summary_error_line(ln):
|
||||
continue
|
||||
if classify(ln) not in ("error", "blocker"):
|
||||
continue
|
||||
body = re.sub(r"^.*\bERROR\b\s*\]?\s*", "", ln, flags=re.I).strip(" ·")
|
||||
if body and body not in errs and "failed — see" not in body.lower():
|
||||
if re.search(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue