Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
9 changes: 6 additions & 3 deletions scripts/tests/release-workflow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand Down
Loading