From 2d1e69b0c167aad52018ba1bed30d2cb427e68d8 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 27 Aug 2026 18:50:02 +0300 Subject: [PATCH] ci: the performance-workflow contract test follows the renamed labels The test pins the literal workflow name and the release-gate label; both moved to the Russian names of #327. Issue: #327 User-Visible: no (cherry picked from commit 6a3ac52258a321471922d27c4f5ce48a38ab41d3) --- .github/workflows/release.yml | 2 +- test/performance-workflow.test.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba5e34d1..703683cc 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: run: | set -euo pipefail SHA=$(git rev-parse HEAD) - node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Full Performance" + node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Полные бенчмарки производительности" build: name: Сборка бандла и загрузка ассетов needs: gate diff --git a/test/performance-workflow.test.mjs b/test/performance-workflow.test.mjs index 5021cf39..065acd10 100644 --- a/test/performance-workflow.test.mjs +++ b/test/performance-workflow.test.mjs @@ -22,7 +22,7 @@ test('ordinary Validate keeps only the bounded candidate performance smoke', () test('full performance is isolated to stable, scheduled and manual entry points', () => { const workflow = readWorkflow('performance.yml'); for (const contract of [ - 'name: Full Performance', + 'name: Полные бенчмарки производительности', 'branches:', '- main', 'schedule:', @@ -44,5 +44,5 @@ test('full performance is isolated to stable, scheduled and manual entry points' const release = readWorkflow('release.yml'); assert.ok(release.includes('if: ${{ !github.event.release.prerelease }}')); - assert.ok(release.includes('--workflow=performance.yml --label="Full Performance"')); + assert.ok(release.includes('--workflow=performance.yml --label="Полные бенчмарки производительности"')); });