mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
* fix(ci): clear the pinned corepack cache before every install The Linux test shards have been dying seconds into Install dependencies with MODULE_NOT_FOUND on the cached pnpm's bin/pnpm.mjs since #16328 pinned COREPACK_HOME to runner.temp (main runs 41876940141, 41889761157, 41927887452; six different self-hosted hosts). The pin assumed runner.temp is per-run, but self-hosted runners keep _work/_temp across jobs — the lint job's isolated-HOME step already documents this. corepack trusts an existing cache entry without re-verifying its files, so a partial pnpm tree left by an earlier job fails every later job on that host. Clear the pinned cache at the start of the shared install body in all three jobs that copy it, enforcing the per-run contract the pin documents. The guard keeps the reset a no-op where COREPACK_HOME is unset (test_build) or already run-unique (lint). The test step still reuses the cache install warms in the same job, and poisoned hosts self-heal on their next job without manual cleanup. Pin the reset and the install/test COREPACK_HOME match in the workflow meta-test, and bump the size baseline for the added lines. * fix(ci): scope the corepack cache reset to the shard-owned path Review found two over-deletion shapes in the nonempty guard: a runner that exports COREPACK_HOME would lose its entire shared cache in the build job, and hosted lint would lose the cache its pnpm-store step had just warmed, re-exposing the install to a registry outage. Match only the exact shard-owned path instead; the build and lint copies become unconditional no-ops and the three install bodies stay byte-identical. Add an execution test that runs the shipped guard fragment under a scrubbed environment across five cache shapes: it kills the dead-guard mutant the string pins survived, and a widened-guard mutant dies on the shared-cache survival cell. State the incident as observations with the corruption source undetermined, and correct the stale per-run rationale beside the pin.
80 lines
2.6 KiB
Plaintext
80 lines
2.6 KiB
Plaintext
# Recorded byte size of each workflow file, enforced by
|
|
# .github/scripts/check-workflow-size.sh.
|
|
#
|
|
# The absolute gate in that script is the ceiling; this file is the ratchet.
|
|
# A workflow may not grow past its recorded size by more than the allowance
|
|
# without updating the number here IN THE SAME PR — which is the point: it
|
|
# turns invisible drift into one reviewed line. qwen-autofix.yml regained
|
|
# 78 KB when its prose moved to qwen-autofix.md (#9517), then gave 25 KB of
|
|
# it back in a single feature commit two days later, with nothing objecting
|
|
# until the next PR ran out of ceiling.
|
|
#
|
|
# Growing a file is allowed — deliberately. Prefer moving prose into the
|
|
# sibling .md and long steps into .github/scripts/ first; if the growth is
|
|
# real, bump the number and say why in the PR.
|
|
2226 assign-issue-owner.yml
|
|
3555 assign-pr-owner.yml
|
|
7107 audio-capture-prebuilds.yml
|
|
9023 auto-minimize-spam.yml
|
|
9551 build-and-publish-image.yml
|
|
55276 cd-cua-driver.yml
|
|
2222 cd-mobile-mcp.yml
|
|
195906 ci.yml
|
|
4193 codeql.yml
|
|
9389 comment-attachment-guard.yml
|
|
2090 desktop-packaging-check.yml
|
|
49858 desktop-release.yml
|
|
2038 docs-page-action.yml
|
|
10005 dsw-swe-verified-release.yml
|
|
40188 e2e.yml
|
|
13135 finalize-release.yml
|
|
16647 live-host-release.yml
|
|
5950 live-host.yml
|
|
14543 managed-agent-gate.yml
|
|
57140 main-ci-failure-issue.yml
|
|
1343 mobile-shell.yml
|
|
2277 pnpm-store.yml
|
|
2489 pnpm-worktree-smoke.yml
|
|
7299 pr-force-push-reminder.yml
|
|
6495 pr-self-report-label.yml
|
|
9646 qwen-autofix-fork-bridge.yml
|
|
5942 qwen-autofix-fork-signal.yml
|
|
451750 qwen-autofix.yml
|
|
7061 qwen-ci-flaky-rerun.yml
|
|
276955 qwen-code-pr-review.yml
|
|
107075 qwen-fleet-shepherd.yml
|
|
22680 qwen-issue-followup-bot.yml
|
|
5760 qwen-pr-safety-precheck.yml
|
|
3243 qwen-review-runner-schedule.yml
|
|
27648 qwen-triage-finalize.yml
|
|
375110 qwen-triage.yml
|
|
15726 release-chrome-extension.yml
|
|
26801 release-managed-agent-reference.yml
|
|
13464 release-managed-runtime.yml
|
|
11950 release-sdk-java.yml
|
|
22345 release-sdk-python.yml
|
|
31270 release-sdk.yml
|
|
17941 release-vscode-companion.yml
|
|
45270 release.yml
|
|
44285 repo-hygiene.yml
|
|
1079 scorecard-monthly.yml
|
|
9751 sdk-java-contract-open-prs.yml
|
|
9555 sdk-java-flyway-open-prs.yml
|
|
155888 sdk-java.yml
|
|
3886 sdk-python.yml
|
|
5595 security-checks.yml
|
|
6777 serve-ab-publish.yml
|
|
20096 serve-ab.yml
|
|
2641 stale.yml
|
|
11328 sync-desktop-to-oss.yml
|
|
10018 sync-live-host-to-oss.yml
|
|
11206 sync-release-to-oss.yml
|
|
32064 tui-parity.yml
|
|
7187 update-ecs-runner-qwen.yml
|
|
6206 verify-landlock-helper.yml
|
|
5575 verify-maven-repo.yml
|
|
2307 web-shell-visuals-cleanup.yml
|
|
20047 web-shell-visuals-publish.yml
|
|
17127 web-shell-visuals.yml
|
|
5155 windows-runner-smoke.yml
|