Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(view): the Chrome health report skips updater noise [N40]

Corey Olson036cfd478050
diff --git a/test/cockpit/chrome-health.js b/test/cockpit/chrome-health.js
index 4b83e0e2..ef5c41d8 100644
--- a/test/cockpit/chrome-health.js
+++ b/test/cockpit/chrome-health.js
@@ -23,6 +23,8 @@ export function networkServicePids(profile) {
*/
export function chromeHealth(chrome, profile, atStart) {
const said = String(chrome?.stderr?.() ?? '').split('\n')
- .filter((line) => /network ?service|crash|restart/iu.test(line)).slice(-12).map((line) => line.slice(0, 300));
+ // Chrome's updater logs its crash handler on every launch; only the network service and real crashes are kept.
+ .filter((line) => !/updater|crash_reporter|crash-handler/iu.test(line) && /network ?service|crashed|restarting/iu.test(line))
+ .slice(-12).map((line) => line.slice(0, 300));
return { networkService: { atStart, now: networkServicePids(profile) }, stderr: said };
}