With Gloo sharded, the release lane measures what no release run had
checked since v0.1.3: mature-CPU line coverage is 91.79% (floor 94%; branch
84.66% still passes), and the suite takes 990-1042 s against a 350 s
budget, with five tests over the 15 s limit.
Per the maintainer decision tracked in #304:
- move mature_cpu_statement to 91.5 behind a threshold exception that
expires 2026-11-14;
- raise suite and marker duration budgets to measured values plus ~20% and
own the eight tests at or above 14 s until the same date;
- make threshold exceptions expire for real: the validator ignored the
expires date, so a lapsed exception would have kept a lowered floor.
Python 3.12 also exceeded thirty minutes because it reran the exact base
suite inline. Run that suite in a parallel release-base-core job and only
combine its coverage in Tests py3.12. The combiner now includes
subprocess coverage siblings of the core data file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The release Tests lane no longer fits its ten-minute job: hosted runs now
take about 9.6 min for core tests plus 13.2 min for Gloo tests, and Python
3.12 also reruns the exact base suite. A dispatched run reached 43% before
the timeout cancelled it.
Run Gloo tests in release-gloo-tests shards (three per Python version, plus
base shards for the 3.12 exact-base comparison), each bounded at ten
minutes. The Tests job excludes Gloo, requires the collected Gloo test count
to equal the executed count across shards, combines shard coverage before
the unchanged floors, and moves to a thirty-minute bound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Excluding the qwen-hybrid extra would have dropped causal-conv1d,
flash-linear-attention and fla-core from the release license inventory
without any failure. Instead, install causal-conv1d without CUDA kernels via
its own CAUSAL_CONV1D_SKIP_CUDA_BUILD switch in the operator-UI gate and the
supply-chain job.
The full inventory then needs two permissive SPDX expressions (MIT-0 for
cffi, Apache-2.0 OR BSD-3-Clause for cryptography, both via the mcp extra)
and a strict mechanism for packages whose metadata carries verbatim license
text: a text override binds one package version and the SHA-256 of the
exact text to an already allowed expression, and fails when unused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scheduled Conditional tests have failed since late August on two hosted
gates, which also blocks release certification:
- model-download-runtime: the operator-only Qwen3.8-27B BF16 regression
lived in the gate file and always skips on hosted runners; the gate
runner rejects any skip. Move it to tests/conditional/test_qwen38_runtime.py,
outside every hosted gate.
- operator-ui: `uv sync --all-extras` now pulls the qwen-hybrid extra,
whose causal-conv1d sdist builds only against a CUDA toolkit. Exclude
qwen-hybrid there and in the tag-only supply-chain job, which runs the
same sync and would fail the next release.
Policy tests pin both invariants.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since #272 the "PR core tests" job runs every selected non-Gloo test in
one runner under a 10-minute timeout, and broad selections now exceed it.
Shard it like the Gloo tests: pr-select emits core_shards from a single
CORE_SHARD_COUNT constant and writes selected-core-N.txt once with
scripts/shard_pr_tests.py --kind core, balanced by per-file durations
measured from CI JUnit (ci/core-test-durations.json; unlisted files use
default_seconds). pr-core-tests becomes a matrix whose empty shards record
exit code 5, and check_pr_partitions.py requires the exact core-N and
gloo-N artifact set before "Pull request core" combines coverage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
coverage combine only warns on an unreadable input and still combines
the rest, so validate each accepted partition database (readable,
coverage schema, at least one measured file) and fail on any combine
warning. The policy test now pins one positive shard-count constant
rather than its current value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the in-job concurrent pytest processes with separate jobs, each
with its own runner and 10-minute budget. PR test selection runs once
and publishes the selected list and deterministic duration-balanced
Gloo shard lists (shard count is one constant). PR core tests and the
PR gloo tests matrix upload candidate-bound status, JUnit, logs and
coverage data. The required Pull request core job needs all three,
runs always(), fails closed unless every upstream job succeeded and
every partition that ran supplied coverage, combines accepted data in
an isolated directory, and runs the unchanged changed-line floor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
coverage.py auto-combines sibling .coverage.* files when reporting, so
an empty partition's leftover data could re-enter the report. Combine
into a fresh directory that holds only the combined database.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A partition that exits 0 must contribute its coverage data; only an
empty partition (exit 5) may be absent from the combine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two real CI runs (37676597269 attempts 1 and 2) showed that two
concurrent Gloo shards oversubscribe the 4-vCPU hosted runner: each
shard took about as long as the whole single Gloo partition did (4m20s
to 4m36s), the core partition slowed from about 50s to 1m40s, and one
cold-start readiness bound failed. Test-step wall time did not improve
(4m38s to 4m40s versus 4m32s to 5m57s). Restore the two-process design.
This reverts commits 8681ef7 and 7f8a2d7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Detect the gloo marker by AST so tests that merely mention it in strings
(policy fixtures) do not take a Gloo-sized weight and unbalance the
shards. The duration-inventory policy test shares the same detector.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Split the selected test files into two Gloo shards by deterministic
longest-first assignment over a committed duration table measured from
CI JUnit. Every selected file lands in exactly one shard, so unlisted
Gloo files still run. pr-core now runs three concurrent pytest
processes with the same exit-code, empty-side, artifact and coverage
combine rules; an empty shard never invokes pytest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mark the multi-process Gloo test files with a new gloo marker. pr-core
keeps the same risk-map selection but runs the gloo and non-gloo parts
in two concurrent pytest processes with separate coverage data, JUnit
files, logs and temp roots. Each exit status is collected per PID; an
empty side (exit 5) is allowed unless both are empty. Coverage is
combined before the unchanged changed-line check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exact setuptools/wheel pins block platform-specific backend patches and
make isolated pip installs fail on Android/Termux Python. Keep a setuptools
lower bound only, drop the unused wheel backend pin, keep requirements.txt
aligned with core package deps, and install the Spaces extra in Docker
instead of pulling bitsandbytes by default.
Android/Termux is still not a supported runtime; the new platform note
documents host wheels, ANDROID_API_LEVEL, and --no-build-isolation so
pip does not isolate a second setuptools or compile manylinux-only
extensions.