diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a13ee2fa9a80..39ed9230d00a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -512,8 +512,14 @@ jobs: runs-on: '${{ (github.repository == ''QwenLM/qwen-code'' && vars.MAINTAINER_ECS_RUNNER_DISABLED != ''true'') && fromJSON(''["self-hosted", "linux", "x64", "ecs-qwen-hk4-host"]'') || fromJSON(''["ubuntu-latest"]'') }}' # Set by how busy the reserved host is, not by the suite: the same third # ran 6.7 min quiet and 36 contended, and 45 killed shards at the boundary - # with every suite green (run 33713579913). Retunable without a PR. - timeout-minutes: "${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '45') }}" + # with every suite green (run 33713579913). Retunable without a PR. The + # default still has to clear the slowest honest shard, not the healthy + # one: in that run a passing shard's test step took 41m32s of the ~42m + # the 45-minute cap left it, and attempt 3 was cancelled with both shards + # still live at that cap. --retry=2 re-runs every failed test on top; + # #10868 sized the CI unit lane's step cap for the same arithmetic. 90 + # clears the measured worst case plus its retries. + timeout-minutes: "${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '90') }}" needs: - 'prepare' - 'quality_build' diff --git a/scripts/tests/release-workflow.test.js b/scripts/tests/release-workflow.test.js index 703abe5d9b09..03f54bc46be2 100644 --- a/scripts/tests/release-workflow.test.js +++ b/scripts/tests/release-workflow.test.js @@ -630,7 +630,7 @@ describe('release workflow', () => { // moves; the variable is the same runtime knob QWEN_CI_VITEST_MAX_WORKERS // and QWEN_RELEASE_VITEST_RETRY already use. expect(workflow).toContain( - `timeout-minutes: "\${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '45') }}"`, + `timeout-minutes: "\${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '90') }}"`, ); // fromJSON, not the bare variable: timeout-minutes takes a number, and an // unset variable has to fall back rather than render an empty string. @@ -1437,9 +1437,12 @@ describe('release workflow', () => { quality_build: 45, quality_typecheck: 30, // The one bound an operator can retune without a PR; its default is - // pinned by its own test above. + // pinned by its own test above. Run 33713579913: a passing shard's + // test step took 41m32s of the ~42m a 45-minute cap left it, and + // attempt 3 was cancelled with both shards still live. 90 clears + // that plus --retry=2's re-runs. workspace_tests: - "${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '45') }}", + "${{ fromJSON(vars.QWEN_RELEASE_WORKSPACE_TIMEOUT_MINUTES || '90') }}", quality_scripts: 30, quality: 5, integration_none: 120,