Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
 
root / READMEs / README-watchers.md
Author[]Andy Green <andy@warmcat.com> 2026-04-07 04:08 UTC
Committer[]Andy Green <andy@warmcat.com> 2026-04-09 09:09 UTC
Treefbc5a8ccfbc501b8351ebf1c5fb630dcb2752553   Raw Patch
 
js: inactive builders: remove task steps
js: inactive builders: remove task steps
diff --git a/assets/sai.js b/assets/sai.js index e68bda9..6f2675b 100644 --- a/assets/sai.js +++ b/assets/sai.js @@ -1989,6 +1989,15 @@ function ws_open_sai() children: [] }; } + + if (!b.online) { + /* Builder became inactive, remove associated task steps */ + for (const short_name in spreadsheet_data_cache) { + if (b.name.startsWith(short_name)) { + delete spreadsheet_data_cache[short_name]; + } + } + } }); const container = document.getElementById("sai_builders"); @@ -2112,8 +2121,10 @@ function ws_open_sai() document.getElementById("sai_sticky").innerHTML = s; for (n = jso.overview.length - 1; n >= 0; n--) { - document.getElementById("esr-" + jso.overview[n].e.uuid).innerHTML = - sai_event_summary_render(jso.overview[n], now_ut, 1); + var esr_el = document.getElementById("esr-" + jso.overview[n].e.uuid); + if (esr_el) + esr_el.innerHTML = + sai_event_summary_render(jso.overview[n], now_ut, 1); update_summary_and_progress(jso.overview[n].e.uuid); }
Page fetched 0s ago, creation time: 9ms (vhost etag hits: 0%, cache hits: 0%)