From 8ad9b8a35c1fd1ca4fad759e02d320dd5471840e Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 19 May 2026 08:56:36 -0300 Subject: [PATCH] ci(typhon): preserve run counter scrape buffer --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3e6c740..3e84da3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -336,7 +336,10 @@ function labelString(labels) { function fetchCounter(targetStatus) { try { - const metrics = execSync(`curl -fsS ${gateway}/metrics`, { encoding: 'utf8' }); + const metrics = execSync(`curl -fsS ${gateway}/metrics`, { + encoding: 'utf8', + maxBuffer: 16 * 1024 * 1024 + }); for (const line of metrics.split(String.fromCharCode(10))) { if ( line.startsWith('platform_quality_gate_runs_total{') &&