release 1.10.2: sticky ERROR word-boundary (no false wrote-errors)
This commit is contained in:
parent
ecb0cf8b4a
commit
1226d2a8f7
3 changed files with 6 additions and 4 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
1.10.1
|
||||
1.10.2
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ Git tags: `vMAJOR.FEATURE.FIX` (e.g. `v1.8.0`). File `VERSION` omits the `v` pre
|
|||
|
||||
| Tag | Date (UTC) | Notes |
|
||||
|-----|------------|--------|
|
||||
| **v1.10.2** | 2026-07-19 | **Bugfix:** sticky ERROR count — classify with word-boundary `\bERROR\b` (not substring); avoids false red from git “wrote-errors” commit lines and similar. |
|
||||
| **v1.10.1** | 2026-07-19 | **Bugfix:** HTML converter must not treat teed `wrote … (errors=N)` lines as ERROR (false sticky red after clean host-agent runs). |
|
||||
| **v1.10.0** | 2026-07-19 | **Feature:** aptdeploy **container overview board** — inventory + per-pod matrix (state, merchant, httpd, ldd, OK/ERROR) in log and HTML sticky/top (`#container-overview`). |
|
||||
| **v1.9.4** | 2026-07-19 | **Fix:** restore **taler-monitoring-aptdeploy(+_err)** as first-class GOA mon page (catalog + monpages path allow + surface docs). Mail/mattermost stay folded into surface. |
|
||||
|
|
|
|||
|
|
@ -201,11 +201,12 @@ def classify(line: str) -> str:
|
|||
return "meta"
|
||||
if "BLOCKER" in u or "┌ BLOCKER" in u:
|
||||
return "blocker"
|
||||
if "ERROR" in u or "┌ ERROR" in u:
|
||||
# word-boundary: avoid "wrote-errors", "ERRORS=", commit subjects, etc.
|
||||
if re.search(r"┌\s*ERROR\b|\[\s*ERROR\b|\bERROR\b", u) and not is_summary_error_line(line):
|
||||
return "error"
|
||||
if "WARN" in u or "┌ WARN" in u:
|
||||
if re.search(r"┌\s*WARN\b|\[\s*WARN\b|\bWARN\b", u):
|
||||
return "warn"
|
||||
if "INFO" in u or "┌ INFO" in u:
|
||||
if re.search(r"┌\s*INFO\b|\[\s*INFO\b|\bINFO\b", u):
|
||||
return "info"
|
||||
if " OK" in u or "[OK" in u or "┌ OK" in u or u.strip().startswith("OK"):
|
||||
return "ok"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue