diff --git a/.github/scripts/image-header-timeout-screenshot.mjs b/.github/scripts/image-header-timeout-screenshot.mjs index 669ed5cd8193..b18b351383d4 100644 --- a/.github/scripts/image-header-timeout-screenshot.mjs +++ b/.github/scripts/image-header-timeout-screenshot.mjs @@ -1,7 +1,7 @@ // CI only: actual SettingsView and controls, synthetic API, no production login. import { execFileSync } from 'node:child_process' import { createRequire } from 'node:module' -import { mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs' +import { mkdirSync, readFileSync, rmSync, symlinkSync, writeFileSync } from 'node:fs' import { join, resolve } from 'node:path' import { pathToFileURL } from 'node:url' @@ -14,12 +14,12 @@ const { build, preview } = await import(pathToFileURL(join(root, 'node_modules/v const vue = (await import(pathToFileURL(require.resolve('@vitejs/plugin-vue')).href)).default const tailwindcss = require('tailwindcss') const autoprefixer = require('autoprefixer') -const tailwindConfig = (await import(pathToFileURL(join(root, 'tailwind.config.js')).href)).default const { chromium } = await import(pathToFileURL(join(process.env.PLAYWRIGHT_ROOT, 'index.mjs')).href) const suffix = `.ci-image-header-${process.pid}` const files = [] const create = (path, text) => { writeFileSync(path, text, { flag: 'wx' }); files.push(path); return path } const previewDirectory = join(output, 'preview-build') +const baselineDirectory = join(output, suffix + '-baseline') const testSource = readFileSync(join(root, 'src/views/admin/__tests__/SettingsView.spec.ts'), 'utf8') const fixtureStart = testSource.indexOf('const baseSettingsResponse = {') const fixtureEnd = testSource.indexOf('\n};', fixtureStart) + 3 @@ -28,14 +28,25 @@ const baseFixture = testSource.slice(fixtureStart, fixtureEnd).replaceAll('sub3. const errors = [] let browser, server try { - const baseline = create(join(root, 'src/views/admin', suffix + '-before.vue'), - execFileSync('git', ['show', `${process.env.SOURCE_BASE}:frontend/src/views/admin/SettingsView.vue`], { encoding: 'utf8' })) - const shell = create(join(root, suffix + '-layout.js'), `import {h} from 'vue';export default {setup(_,ctx){return()=>h('main',{class:'p-4 bg-gray-50 dark:bg-dark-900'},ctx.slots.default?.())}}`) - const html = create(join(root, suffix + '.html'), `
`) - create(join(root, suffix + '.js'), ` + // Preserve the full revision: frontend imports also read docs/legal via ?raw. + mkdirSync(baselineDirectory) + const archive = join(baselineDirectory, 'source.tar') + execFileSync('git', ['archive', '--format=tar', `--output=${archive}`, process.env.SOURCE_BASE]) + execFileSync('tar', ['-xf', archive, '-C', baselineDirectory]) + const baselineRoot = join(baselineDirectory, 'frontend') + for (const dependency of ['package.json', 'pnpm-lock.yaml']) { + if (!readFileSync(join(baselineRoot, dependency)).equals(readFileSync(join(root, dependency)))) throw Error('Baseline dependency mismatch: ' + dependency) + } + symlinkSync(join(root, 'node_modules'), join(baselineRoot, 'node_modules'), 'dir') + for (const mode of ['before', 'after']) { + const sourceRoot = mode === 'before' ? baselineRoot : root + const tailwindConfig = (await import(pathToFileURL(join(sourceRoot, 'tailwind.config.js')).href)).default + const shell = create(join(sourceRoot, suffix + '-layout.js'), `import {h} from 'vue';export default {setup(_,ctx){return()=>h('main',{class:'p-4 bg-gray-50 dark:bg-dark-900'},ctx.slots.default?.())}}`) + const html = create(join(sourceRoot, suffix + '.html'), `
`) + create(join(sourceRoot, suffix + '.js'), ` import {createApp,h} from 'vue';import {createPinia} from 'pinia';import {createRouter,createWebHistory,RouterView} from 'vue-router'; import {createI18n} from 'vue-i18n';import {apiClient} from '/src/api/client.ts';import {useAuthStore} from '/src/stores/auth.ts'; - import Before from '/src/views/admin/${suffix}-before.vue';import After from '/src/views/admin/SettingsView.vue'; + import View from '/src/views/admin/SettingsView.vue'; import zh from '/src/i18n/locales/zh/index.ts';import '/src/style.css'; ${baseFixture} const initial={enabled:true,seconds:60,image_group_ids:[7],image_seconds:180}; @@ -57,19 +68,19 @@ try { else if(path.includes('/settings')||path.includes('rectifier')||path.includes('beta-policy'))data={enabled:false,seconds:20,interval_minutes:60,debounce_minutes:1,window_minutes:60,rules:[]}; return{data:{code:0,message:'success',data},status:200,statusText:'OK',headers:{},config:request}; }; - const mode=new URLSearchParams(location.search).get('mode'); - const pinia=createPinia(),router=createRouter({history:createWebHistory(),routes:[{path:'/:pathMatch(.*)*',component:mode==='before'?Before:After}]}); + const pinia=createPinia(),router=createRouter({history:createWebHistory(),routes:[{path:'/:pathMatch(.*)*',component:View}]}); const app=createApp(RouterView);app.use(pinia);useAuthStore().user={id:41,role:'admin',status:'active',email:'admin@example.invalid'}; app.use(router).use(createI18n({legacy:false,locale:'zh-CN',messages:{'zh-CN':zh}})).mount('#app'); `) - await build({ - root, configFile: false, cacheDir: join(output, 'vite-cache'), - resolve: { alias: [{ find: '@/components/layout/AppLayout.vue', replacement: shell }, { find: '@', replacement: join(root, 'src') }] }, - plugins: [vue()], - css: { postcss: { plugins: [tailwindcss({ ...tailwindConfig, content: [html, join(root, 'src/**/*.{vue,js,ts}')] }), autoprefixer()] } }, - build: { outDir: previewDirectory, emptyOutDir: true, minify: false, rollupOptions: { input: html } }, - }) - server = await preview({ root, configFile: false, build: { outDir: previewDirectory }, preview: { host: '127.0.0.1', port: 4198, strictPort: true } }) + await build({ + root: sourceRoot, base: './', configFile: false, cacheDir: join(output, 'vite-cache', mode), + resolve: { alias: [{ find: '@/components/layout/AppLayout.vue', replacement: shell }, { find: '@', replacement: join(sourceRoot, 'src') }] }, + plugins: [vue()], + css: { postcss: { plugins: [tailwindcss({ ...tailwindConfig, content: [html, join(sourceRoot, 'src/**/*.{vue,js,ts}')] }), autoprefixer()] } }, + build: { outDir: join(previewDirectory, mode), emptyOutDir: true, minify: false, rollupOptions: { input: html } }, + }) + } + server = await preview({ root, base: '/', configFile: false, build: { outDir: previewDirectory }, preview: { host: '127.0.0.1', port: 4198, strictPort: true } }) browser = await chromium.launch({ headless: true }) const page = await browser.newPage({ viewport: { width: 1280, height: 950 }, locale: 'zh-CN', timezoneId: 'UTC' }) page.on('pageerror', error => errors.push(error.message)) @@ -79,12 +90,12 @@ try { errors.push('Blocked external origin: ' + url.origin) return route.abort() }) - const url = `http://127.0.0.1:4198/${suffix}.html?tab=gateway` + const url = mode => `http://127.0.0.1:4198/${mode}/${suffix}.html?tab=gateway&mode=${mode}` const card = () => page.locator('.card').filter({ has: page.locator('#settings-section-openai-response-header-timeout') }) - await page.goto(url + '&mode=before') + await page.goto(url('before')) await page.locator('[data-testid="openai-header-timeout-seconds"]').waitFor() await card().screenshot({ path: join(output, 'before.png'), animations: 'disabled' }) - await page.goto(url + '&mode=after') + await page.goto(url('after')) await page.locator('[data-testid="openai-image-header-timeout-seconds"]').waitFor() await card().screenshot({ path: join(output, 'after.png'), animations: 'disabled' }) await card().locator('input[type="checkbox"][value="8"]').check() @@ -120,4 +131,5 @@ try { for (const file of files) rmSync(file, { force: true }) rmSync(join(output, 'vite-cache'), { recursive: true, force: true }) rmSync(previewDirectory, { recursive: true, force: true }) + rmSync(baselineDirectory, { recursive: true, force: true }) } diff --git a/.github/workflows/account-alert-data-ux.yml b/.github/workflows/account-alert-data-ux.yml index cf604090e81f..d510ae1a8686 100644 --- a/.github/workflows/account-alert-data-ux.yml +++ b/.github/workflows/account-alert-data-ux.yml @@ -14,7 +14,7 @@ permissions: contents: read jobs: acceptance: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/account-connection-timing.yml b/.github/workflows/account-connection-timing.yml index ae94b084222d..80f1e5a83a89 100644 --- a/.github/workflows/account-connection-timing.yml +++ b/.github/workflows/account-connection-timing.yml @@ -85,7 +85,7 @@ jobs: frontend: needs: backend if: github.head_ref == 'feat/account-connection-timing' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 env: EXPECTED_HEAD: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/account-ops-selector.yml b/.github/workflows/account-ops-selector.yml index f7691170761f..0d0ffc248c59 100644 --- a/.github/workflows/account-ops-selector.yml +++ b/.github/workflows/account-ops-selector.yml @@ -20,7 +20,7 @@ concurrency: cancel-in-progress: true jobs: acceptance: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/account-ops-team.yml b/.github/workflows/account-ops-team.yml index 234541e0a080..42e9723a3df4 100644 --- a/.github/workflows/account-ops-team.yml +++ b/.github/workflows/account-ops-team.yml @@ -32,7 +32,7 @@ jobs: - run: go test -tags=integration ./internal/repository -run '^TestAccountOpsProviderSnapshot' -count=1 -v -timeout=10m working-directory: backend frontend: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 25 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/admin-usage-platform-filter.yml b/.github/workflows/admin-usage-platform-filter.yml index 5a63cb342749..20e1fabf824d 100644 --- a/.github/workflows/admin-usage-platform-filter.yml +++ b/.github/workflows/admin-usage-platform-filter.yml @@ -69,7 +69,7 @@ jobs: ${{ runner.temp }}/platform-sql.log ${{ runner.temp }}/platform-unit.log browser: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/api-key-model-policy-ui.yml b/.github/workflows/api-key-model-policy-ui.yml index 1b912d83f703..2778a147743c 100644 --- a/.github/workflows/api-key-model-policy-ui.yml +++ b/.github/workflows/api-key-model-policy-ui.yml @@ -17,7 +17,7 @@ permissions: jobs: policy-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/balance-forecast.yml b/.github/workflows/balance-forecast.yml index bde1b5884e29..fffdc7b5c1df 100644 --- a/.github/workflows/balance-forecast.yml +++ b/.github/workflows/balance-forecast.yml @@ -29,7 +29,7 @@ jobs: working-directory: backend run: go test -race -tags=unit ./internal/service ./internal/handler/admin ./cmd/server -run 'TestBalanceForecastRetired|TestProvideCleanup|TestResolveBalanceThreshold|TestNotificationEmail' -count=1 -v -timeout=10m ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 @@ -48,7 +48,8 @@ jobs: - run: pnpm --dir frontend exec vitest run src/views/admin/__tests__/SettingsView.spec.ts - name: Prepare baseline and isolated browser env: - SOURCE_BASE: ${{ github.event.pull_request.base.sha }} + # Parent of the forecast-removal commit; the PR base already lacks the control. + SOURCE_BASE: 4c660794b89279dcbf699275091340eb2c87959a run: | git worktree add --detach "$RUNNER_TEMP/forecast-before" "$SOURCE_BASE" pnpm --dir "$RUNNER_TEMP/forecast-before/frontend" install --frozen-lockfile @@ -56,7 +57,7 @@ jobs: "$RUNNER_TEMP/forecast-browser/node_modules/.bin/playwright" install --with-deps chromium - name: Render actual settings page before and after removal env: - SOURCE_BASE: ${{ github.event.pull_request.base.sha }} + SOURCE_BASE: 4c660794b89279dcbf699275091340eb2c87959a BASELINE_ROOT: ${{ runner.temp }}/forecast-before/frontend PLAYWRIGHT_ROOT: ${{ runner.temp }}/forecast-browser/node_modules/playwright SCREENSHOT_DIR: ${{ runner.temp }}/forecast-ui diff --git a/.github/workflows/bps-diagnostics-auth.yml b/.github/workflows/bps-diagnostics-auth.yml index 8bfe2d36b3a9..51f0cf6727ba 100644 --- a/.github/workflows/bps-diagnostics-auth.yml +++ b/.github/workflows/bps-diagnostics-auth.yml @@ -33,7 +33,7 @@ jobs: - working-directory: backend run: go test -race -tags=unit ./internal/service ./internal/handler/admin ./internal/server/middleware -run 'Test(ExcelBPSToolArgumentsDiagnostic|ConnectionAuthorizationStatus|OpenAIConnectionManagement|OpenAIConnectionHandlerAccountType|OpenAIAuthConnection|Audit)' -count=1 -v -timeout=10m authorization-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/bps-search.yml b/.github/workflows/bps-search.yml index d154be177e5e..4aa56e0ede6e 100644 --- a/.github/workflows/bps-search.yml +++ b/.github/workflows/bps-search.yml @@ -119,7 +119,7 @@ jobs: path: ${{ runner.temp }}/issue871-evidence/ retention-days: 30 search-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/channel-operations.yml b/.github/workflows/channel-operations.yml index bf77b51d8661..3bd0fbe59db7 100644 --- a/.github/workflows/channel-operations.yml +++ b/.github/workflows/channel-operations.yml @@ -57,7 +57,7 @@ jobs: working-directory: backend run: go test -tags=integration ./internal/repository -run '^TestChannelOperations' -count=1 -v frontend-workflow: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/encrypted-history-409.yml b/.github/workflows/encrypted-history-409.yml index 41d1c73c609b..48b8beeebf89 100644 --- a/.github/workflows/encrypted-history-409.yml +++ b/.github/workflows/encrypted-history-409.yml @@ -101,7 +101,7 @@ jobs: ${{ runner.temp }}/omit-history-red.log ${{ runner.temp }}/omit-history-red-compat.txt screenshots: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/http2-stream-reset.yml b/.github/workflows/http2-stream-reset.yml index 019fc6a22922..1aa77d731220 100644 --- a/.github/workflows/http2-stream-reset.yml +++ b/.github/workflows/http2-stream-reset.yml @@ -403,7 +403,7 @@ jobs: user-surface: if: github.head_ref == 'fix/http2-stream-error-clarity' || github.ref_name == 'fix/http2-stream-error-clarity' || github.head_ref == 'fix/http2-reset-review-followup-20261114' || github.ref_name == 'fix/http2-reset-review-followup-20261114' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/image-header-timeout.yml b/.github/workflows/image-header-timeout.yml index c18a233d574b..af5b3898254b 100644 --- a/.github/workflows/image-header-timeout.yml +++ b/.github/workflows/image-header-timeout.yml @@ -39,7 +39,7 @@ jobs: name: image-header-backend-${{ github.event.pull_request.head.sha || github.sha }} path: ${{ runner.temp }}/image-header-tests.log ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/issue603-observability.yml b/.github/workflows/issue603-observability.yml index 96fc5c0e33d3..55f23bf68375 100644 --- a/.github/workflows/issue603-observability.yml +++ b/.github/workflows/issue603-observability.yml @@ -191,7 +191,7 @@ jobs: retention-days: 14 ui: if: github.head_ref == 'feat/issue603-latency-observability' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 env: BASELINE: ec007920de042797299fc7cf2c034ad24c136462 diff --git a/.github/workflows/issue733-priority-filters.yml b/.github/workflows/issue733-priority-filters.yml index 6b6aada29447..7131d97047a5 100644 --- a/.github/workflows/issue733-priority-filters.yml +++ b/.github/workflows/issue733-priority-filters.yml @@ -205,7 +205,7 @@ jobs: - run: pnpm --dir frontend run build browser: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/issue733-priority-ui.yml b/.github/workflows/issue733-priority-ui.yml index 64bc1d3d8d0a..c535740f35c3 100644 --- a/.github/workflows/issue733-priority-ui.yml +++ b/.github/workflows/issue733-priority-ui.yml @@ -65,7 +65,7 @@ jobs: - run: pnpm --dir frontend install --frozen-lockfile - run: pnpm --dir frontend run build browser: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/issue825-video-pricing.yml b/.github/workflows/issue825-video-pricing.yml index 2a9de6b2a57f..a86be0e2d9ff 100644 --- a/.github/workflows/issue825-video-pricing.yml +++ b/.github/workflows/issue825-video-pricing.yml @@ -72,7 +72,7 @@ jobs: if-no-files-found: error rendered: if: github.head_ref == 'fix/issue825-video-pricing-unit' || github.ref_name == 'fix/issue825-video-pricing-unit' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/keys-usage-layout.yml b/.github/workflows/keys-usage-layout.yml index e8c06b3708ae..a2527a9bb372 100644 --- a/.github/workflows/keys-usage-layout.yml +++ b/.github/workflows/keys-usage-layout.yml @@ -25,7 +25,7 @@ concurrency: jobs: browser: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/mature-channel-community-ops.yml b/.github/workflows/mature-channel-community-ops.yml index 34b20364ef8d..216545e0b03c 100644 --- a/.github/workflows/mature-channel-community-ops.yml +++ b/.github/workflows/mature-channel-community-ops.yml @@ -149,7 +149,7 @@ jobs: before-ui: if: github.sha == '59d409b49df3dd90815a054cb6dffdd405c06c3e' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 @@ -354,7 +354,7 @@ jobs: account-before: if: github.sha == 'a51c3e8d8e61c897a3a2aad9dd1cdc7d9b114c56' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 @@ -647,7 +647,7 @@ jobs: key: mature-go-${{ runner.os }}-${{ hashFiles('backend/go.sum') }}-${{ github.job }}-${{ github.sha }} after-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/mistral-budget.yml b/.github/workflows/mistral-budget.yml index 6dd8f332a269..f77b334f1994 100644 --- a/.github/workflows/mistral-budget.yml +++ b/.github/workflows/mistral-budget.yml @@ -24,7 +24,7 @@ jobs: - working-directory: backend run: go test -race -tags=unit ./internal/service -run '^(TestMistral|TestCNProviderBalanceCheckRunOnceProbesMistral|TestHandleUpstreamError_Mistral)' -count=1 -v -timeout=10m ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/mobile-groups-search.yml b/.github/workflows/mobile-groups-search.yml index 18b2597dfbd8..24e1592e0631 100644 --- a/.github/workflows/mobile-groups-search.yml +++ b/.github/workflows/mobile-groups-search.yml @@ -21,7 +21,7 @@ concurrency: jobs: browser: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 defaults: run: diff --git a/.github/workflows/moderation-upstream-scope.yml b/.github/workflows/moderation-upstream-scope.yml index 4972109608f5..5b60d125fb5e 100644 --- a/.github/workflows/moderation-upstream-scope.yml +++ b/.github/workflows/moderation-upstream-scope.yml @@ -43,7 +43,7 @@ jobs: name: moderation-scope-red-${{ github.sha }} path: ${{ runner.temp }}/moderation-scope ui-evidence: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/oauth-degradation-actions.yml b/.github/workflows/oauth-degradation-actions.yml index cb43c7730178..62f6a1c53589 100644 --- a/.github/workflows/oauth-degradation-actions.yml +++ b/.github/workflows/oauth-degradation-actions.yml @@ -2,6 +2,10 @@ name: OAuth degradation actions on: push: branches: [production, feat/oauth-degradation-actions-20261109, ci/oauth-workflow-mirror-recovery-20261111] + pull_request: + branches: [production] + paths: + - '.github/workflows/oauth-degradation-actions.yml' permissions: contents: read jobs: @@ -256,7 +260,7 @@ jobs: name: oauth-degradation-integration-race-${{ github.run_id }}-${{ github.run_attempt }} path: evidence/ ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 25 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/oauth-fallback-scope.yml b/.github/workflows/oauth-fallback-scope.yml index f502f386f3ab..5997942a1a51 100644 --- a/.github/workflows/oauth-fallback-scope.yml +++ b/.github/workflows/oauth-fallback-scope.yml @@ -7,7 +7,7 @@ permissions: contents: read jobs: screenshots: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/oauth-initial-ws-screenshots.yml b/.github/workflows/oauth-initial-ws-screenshots.yml index 9ed7ce36ec49..da6024c330ed 100644 --- a/.github/workflows/oauth-initial-ws-screenshots.yml +++ b/.github/workflows/oauth-initial-ws-screenshots.yml @@ -14,7 +14,7 @@ concurrency: jobs: screenshots: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/pr598-repair-regression.yml b/.github/workflows/pr598-repair-regression.yml index 8be474ebcb61..20759c9c3c01 100644 --- a/.github/workflows/pr598-repair-regression.yml +++ b/.github/workflows/pr598-repair-regression.yml @@ -291,7 +291,7 @@ jobs: if-no-files-found: error actual-ui-screenshot: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/pr610-queue-timing.yml b/.github/workflows/pr610-queue-timing.yml index d0ce94d64d1f..c7cde8ee6c78 100644 --- a/.github/workflows/pr610-queue-timing.yml +++ b/.github/workflows/pr610-queue-timing.yml @@ -125,7 +125,7 @@ jobs: ui: if: github.head_ref == 'fix/queue-wait-ttft' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 25 env: SOURCE_HEAD: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/profit-operations.yml b/.github/workflows/profit-operations.yml index 792c80c9d12e..0e342400c9bd 100644 --- a/.github/workflows/profit-operations.yml +++ b/.github/workflows/profit-operations.yml @@ -54,7 +54,7 @@ jobs: - run: go test -tags=integration ./internal/repository -run '^TestProfitOperations' -count=1 -v working-directory: backend frontend: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/quality-jev-judge.yml b/.github/workflows/quality-jev-judge.yml index 604581c8007b..6b4b81b55d6d 100644 --- a/.github/workflows/quality-jev-judge.yml +++ b/.github/workflows/quality-jev-judge.yml @@ -79,7 +79,7 @@ jobs: name: quality-jev-logs-${{ github.event.pull_request.head.sha || github.sha }}-${{ github.event_name }} path: ${{ runner.temp }}/quality-jev-* offline-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 12 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/quality-ownership-ui.yml b/.github/workflows/quality-ownership-ui.yml index 9746fdab8bb2..4551ad9aa850 100644 --- a/.github/workflows/quality-ownership-ui.yml +++ b/.github/workflows/quality-ownership-ui.yml @@ -11,7 +11,7 @@ permissions: contents: read jobs: screenshot: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 12 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/quality-template-complete.yml b/.github/workflows/quality-template-complete.yml index 4258da2d263b..41b2e7db1e16 100644 --- a/.github/workflows/quality-template-complete.yml +++ b/.github/workflows/quality-template-complete.yml @@ -14,7 +14,7 @@ permissions: contents: read jobs: roundtrip: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 35 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/qwen-cache-regression.yml b/.github/workflows/qwen-cache-regression.yml index 74409540f3fd..4dac243b3ac6 100644 --- a/.github/workflows/qwen-cache-regression.yml +++ b/.github/workflows/qwen-cache-regression.yml @@ -32,7 +32,7 @@ jobs: - working-directory: backend run: go test -tags=unit ./internal/service -run 'Test(Qwen|StrictSessionAffinity)' -count=1 -v actual-component: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/qwen-platform.yml b/.github/workflows/qwen-platform.yml index c2c62b2ab935..e2b94316f076 100644 --- a/.github/workflows/qwen-platform.yml +++ b/.github/workflows/qwen-platform.yml @@ -7,7 +7,7 @@ permissions: contents: read jobs: screenshots: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/smart-ops-sidebar-evidence.yml b/.github/workflows/smart-ops-sidebar-evidence.yml index cfbdc61f2b98..3132bc601465 100644 --- a/.github/workflows/smart-ops-sidebar-evidence.yml +++ b/.github/workflows/smart-ops-sidebar-evidence.yml @@ -14,7 +14,7 @@ permissions: contents: read jobs: rendered-before-after: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/smart-ops-sidebar-preview.yml b/.github/workflows/smart-ops-sidebar-preview.yml index a2262f7ed8c7..6480adf6b59c 100644 --- a/.github/workflows/smart-ops-sidebar-preview.yml +++ b/.github/workflows/smart-ops-sidebar-preview.yml @@ -12,7 +12,7 @@ permissions: contents: read jobs: screenshots: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/token-guard-v2-scheduler.yml b/.github/workflows/token-guard-v2-scheduler.yml index 6c6de036df22..a166b2df10a0 100644 --- a/.github/workflows/token-guard-v2-scheduler.yml +++ b/.github/workflows/token-guard-v2-scheduler.yml @@ -51,7 +51,7 @@ jobs: browser: name: Actual credential operations UI / synthetic APIs - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/twofa-import-parallel.yml b/.github/workflows/twofa-import-parallel.yml index 3b9542712915..e8794318dbcd 100644 --- a/.github/workflows/twofa-import-parallel.yml +++ b/.github/workflows/twofa-import-parallel.yml @@ -250,7 +250,7 @@ jobs: retention-days: 30 rendered-before-after: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/upstream-account-types-evidence.yml b/.github/workflows/upstream-account-types-evidence.yml index 92c7af21e1e1..898cc164cbf7 100644 --- a/.github/workflows/upstream-account-types-evidence.yml +++ b/.github/workflows/upstream-account-types-evidence.yml @@ -12,7 +12,7 @@ permissions: contents: read jobs: rendered-before-after: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/upstream-channel-entities-regression.yml b/.github/workflows/upstream-channel-entities-regression.yml index cfbdcaaaf842..7740c963fa89 100644 --- a/.github/workflows/upstream-channel-entities-regression.yml +++ b/.github/workflows/upstream-channel-entities-regression.yml @@ -139,7 +139,7 @@ jobs: ${{ runner.temp }}/entity-*.log ${{ runner.temp }}/entity-cohort-provenance.json frontend: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 25 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/upstream-channel-operations.yml b/.github/workflows/upstream-channel-operations.yml index f8d2b4d4cee2..69b81f6432cf 100644 --- a/.github/workflows/upstream-channel-operations.yml +++ b/.github/workflows/upstream-channel-operations.yml @@ -73,7 +73,7 @@ jobs: - run: go test -tags=integration ./internal/repository -run '^TestUpstreamOperations' -count=1 -v working-directory: backend frontend: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/upstream-v0221-ui.yml b/.github/workflows/upstream-v0221-ui.yml index 2269d464c1b8..d047510fb8ae 100644 --- a/.github/workflows/upstream-v0221-ui.yml +++ b/.github/workflows/upstream-v0221-ui.yml @@ -12,7 +12,7 @@ env: jobs: rendered: if: github.head_ref == 'cherry/upstream-v0.2.21' || github.ref_name == 'cherry/upstream-v0.2.21' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/vip-credit-email-ui.yml b/.github/workflows/vip-credit-email-ui.yml index c6591b8d21e6..19e8e369c8e5 100644 --- a/.github/workflows/vip-credit-email-ui.yml +++ b/.github/workflows/vip-credit-email-ui.yml @@ -14,7 +14,7 @@ permissions: contents: read jobs: ui-and-build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/vip-credit-history.yml b/.github/workflows/vip-credit-history.yml index 000b2ab9a7e7..a44eea0b0c2a 100644 --- a/.github/workflows/vip-credit-history.yml +++ b/.github/workflows/vip-credit-history.yml @@ -11,7 +11,7 @@ permissions: contents: read jobs: history-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/vip-credit-production-ui.yml b/.github/workflows/vip-credit-production-ui.yml index dc0d404706a7..ead95627d737 100644 --- a/.github/workflows/vip-credit-production-ui.yml +++ b/.github/workflows/vip-credit-production-ui.yml @@ -12,7 +12,7 @@ permissions: contents: read jobs: production-ui: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v6