release 1.15.8: kill SyntaxWarning box-drawing noise in mon HTML JS
This commit is contained in:
parent
b72a4f21cb
commit
5bb5757f12
3 changed files with 12 additions and 4 deletions
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
1.15.7
|
||||
1.15.8
|
||||
|
|
|
|||
|
|
@ -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.15.8** | 2026-07-19 | **Bugfix:** mon HTML filter JS — drop literal box-drawing / `\-` regex that caused Python SyntaxWarning (and weird glyphs in suite logs); use Unicode code-point loop instead. |
|
||||
| **v1.15.7** | 2026-07-19 | **Bugfix:** mon HTML — do not paint «perf/ladder summary» as SUMMARY header (restore 2 INFO lines); drop converter SyntaxWarning/noise from public log; «wrote» on stderr; host-agent PYTHONWARNINGS for convert. |
|
||||
| **v1.15.6** | 2026-07-19 | **Bugfix:** aptdeploy ERROR jump list is self-contained — systemd httpd failures include before/after state, Result/SubState, failed units, and journal snippets (no more vague «see systemd lines»); ldd/--version errors embed concrete missing libs / exit output. |
|
||||
| **v1.15.5** | 2026-07-19 | **Bugfix:** devtesting CHF ladder — `ssh` was draining ladder stdin (only rung 1/23 ran → progress 45/98 then snap 52/52); use `ssh -n` + `mapfile`; incomplete ladder is WARN not false complete. |
|
||||
|
|
|
|||
|
|
@ -1617,9 +1617,16 @@ STICKY_JS = """
|
|||
return true;
|
||||
}
|
||||
var t = (el.textContent || "").replace(/\u00a0/g, " ").trim();
|
||||
// box-drawing / pure chrome only (JS char class; escapes doubled for Python).
|
||||
if (/^[╔╗╚╝║═│┌┐└┘\\s-]+$/.test(t)) return true;
|
||||
return false;
|
||||
// Pure box-drawing / whitespace chrome (no literal box glyphs in source —
|
||||
// those used to appear as "weird chars" in Python SyntaxWarning output).
|
||||
if (!t.length) return true;
|
||||
for (var bi = 0; bi < t.length; bi++) {
|
||||
var bc = t.charCodeAt(bi);
|
||||
if (bc === 32 || bc === 9 || bc === 10 || bc === 13 || bc === 0x2d) continue; // sp/tab/nl/cr/-
|
||||
if (bc >= 0x2500 && bc <= 0x257f) continue; // box drawing
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
var keep = new Array(lines.length);
|
||||
var i, j, k, n, idx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue