Files
qwen-code/.github
1e695c34ff fix(ci): retain disk samples when npm install fails (#10517)
* ci: gate heavy jobs on a disk floor and persist pressure samples

The in-repo slice of #10035: fail fast on a saturated self-hosted host
before npm ci instead of dying on ENOSPC mid-run, and keep the
disk-pressure timeline from a failed run as an artifact so the peak can
be correlated with the job and runner after cleanup reclaims the host.

* ci: single-quote the failure() condition to satisfy yamllint quoted-strings

Co-authored-by: Qwen-Coder <qwen-coder @alibabacloud.com>

* ci: keep TMPDIR routing block byte-identical across test legs

The sample-file setup landed inside the routing block that
no-ak-integration-ci pins identical across test/test_macos/test_windows,
breaking the identity assertion. Move the DISK_SAMPLES definition and
DISKCONTEXT header ahead of the routing block; the DFSAMPLE lines still
carry the routed tmpdir.

* fix(ci): validate disk floor overrides

* fix(ci): reject oversized disk floor overrides

Keep the disk-floor shell comparisons inside bash's signed integer range by rejecting numeric overrides that cannot be compared safely. Add the existing helper test coverage for the overflow boundary.\n\nCo-authored-by: Qwen-Coder <[email protected]>

* test(ci): pin the disk-floor overflow guard boundaries

Pin the three behaviours of validate_floor_override that the current
suite leaves unpinned, each verified to catch its mutant:

- INT64_MAX is a legal floor and must reach the disk comparison
  (tightening the length check to -gt 18 now goes red).
- Zero-padded overrides padded past 19 raw characters are normalized
  and accepted (removing the leading-zero strip now goes red).
- 20-digit values are rejected by the length branch, which the
  existing 19-digit case never exercises (widening to -gt 20 now
  goes red).

Co-authored-by: Qwen-Coder <[email protected]>

* refactor(ci): simplify disk floor validation and sampling

Co-authored-by: Qwen-Coder <[email protected]>

* fix(ci): preserve the TMPDIR sampler sentinel

Co-authored-by: Qwen-Coder <[email protected]>

* fix(ci): retain disk samples from dependency install

Co-authored-by: Qwen-Coder <[email protected]>

* refactor(ci): reuse the workflow parser in disk tests

Co-authored-by: Qwen-Coder <[email protected]>

* chore(ci): trigger checks after retargeting to main

Co-authored-by: Qwen-Coder <[email protected]>

* test(ci): pin disk-pressure workflow contract

Co-authored-by: Qwen-Coder <[email protected]>

* fix(ci): harden install disk sampling

Keep the install sampler non-fatal regardless of command-substitution order and satisfy the regex lint rule in its contract test.

Co-authored-by: Qwen-Coder <[email protected]>

* ci: record ci.yml growth in the size baseline

The disk-floor and disk-sampling legs added ~1 KB of real workflow
content; combined with prior main growth this pushed ci.yml 4848 bytes
past its recorded 98043, over the 4096 allowance. Bump the ratchet to
the current 102891 so the check reflects the reviewed growth.

Co-authored-by: Qwen-Coder <[email protected]>

---------

Co-authored-by: Qwen-Coder <qwen-coder @alibabacloud.com>
Co-authored-by: Qwen-Coder <[email protected]>
2026-08-31 12:29:27 +00:00
..