Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix azure function bugs (#4998)

Andrey Lushnikovfcbfbe6fa172
diff --git a/utils/flakiness-dashboard/processing/dashboard_raw.js b/utils/flakiness-dashboard/processing/dashboard_raw.js
index ed892db198..8c20599873 100644
--- a/utils/flakiness-dashboard/processing/dashboard_raw.js
+++ b/utils/flakiness-dashboard/processing/dashboard_raw.js
@@ -28,7 +28,6 @@ async function processDashboardRaw(context, report) {
SHA: ${report.metadata.commitSHA}
URL: ${report.metadata.runURL}
timestamp: ${report.metadata.commitTimestamp}
- added specs: ${addedSpecs}
===== complete in ${Date.now() - timestamp}ms =====
`);
}
diff --git a/utils/flakiness-dashboard/processing/index.js b/utils/flakiness-dashboard/processing/index.js
index 63a346b443..cb5bd161e7 100644
--- a/utils/flakiness-dashboard/processing/index.js
+++ b/utils/flakiness-dashboard/processing/index.js
@@ -27,10 +27,9 @@ module.exports = async function(context) {
const data = await gunzipAsync(context.bindings.newBlob);
const report = JSON.parse(data.toString('utf8'));
- // Upload report to both dashboards.
- await Promise.all([
- processDashboardV1(context, report),
- processDashboardV2(context, report),
- processDashboardRaw(context, report),
- ]);
+ // Process dashboards one-by-one to limit max heap utilization.
+ await processDashboardRaw(context, report);
+ await processDashboardV1(context, report);
+ // Disable V2 dashboard in favor of raw data.
+ // await processDashboardV2(context, report);
}