@camunda/e2e-test-suite 0.0.872 → 0.0.873
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -258,6 +258,10 @@ async function createClusterViaApi(page, clusterName, region = 'GCP') {
|
|
|
258
258
|
`HTTP ${createResponse.status()} - ${await createResponse.text()}`);
|
|
259
259
|
}
|
|
260
260
|
const result = await createResponse.json();
|
|
261
|
+
// Log the raw create response and the resolved cluster UUID so a nightly run
|
|
262
|
+
// can be mapped to its GKE namespace (`<clusterId>-zeebe`) when triaging
|
|
263
|
+
// cluster-side failures from GCP logs.
|
|
264
|
+
console.log(`Cluster creation response (org ${orgId}): ${JSON.stringify(result)}`);
|
|
261
265
|
const clusterId = result.clusterId ??
|
|
262
266
|
result.uuid ??
|
|
263
267
|
result.data?.cluster?.uuid ??
|
|
@@ -265,6 +269,7 @@ async function createClusterViaApi(page, clusterName, region = 'GCP') {
|
|
|
265
269
|
if (!clusterId) {
|
|
266
270
|
throw new Error(`Cluster creation response missing UUID: ${JSON.stringify(result)}`);
|
|
267
271
|
}
|
|
272
|
+
console.log(`Created cluster via API: clusterId=${clusterId} namespace=${clusterId}-zeebe orgId=${orgId} name="${clusterName}"`);
|
|
268
273
|
return clusterId;
|
|
269
274
|
}
|
|
270
275
|
exports.createClusterViaApi = createClusterViaApi;
|