Commit Graph
33 Commits
Author SHA1 Message Date
Joseph Magly d2f6676882 build: prepare Python 3.11 and pinned Gradio security backport 2026-10-29 11:14:50 -04:00
Joseph Magly 97e0df2f32 ci: partition release core tests and bind complete evidence 2026-10-29 02:30:11 -04:00
Joseph Magly 09dd81845f ci: provide coverage headroom with six complete core partitions 2026-10-21 11:01:47 -04:00
Joseph Magly 5e56e76b14 ci: distribute expanded integration across four bounded shards 2026-10-20 18:17:24 -04:00
Joseph Magly 002e6e56e1 feat: complete local readiness across UI, MCP and memory admission
Integrate bounded admission, UI ownership and controls, opt-in durable MCP execution, rank-local TP2 groundwork, regression hardening and operator guides. Physical larger-memory and two-host qualification remain separate.
2026-10-20 17:58:20 -04:00
Joseph MaglyandClaude Opus 5.5 44a629297d fix: address review findings for #133
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 13:30:06 -04:00
Joseph MaglyandClaude Opus 5.5 d5a5c12a28 ci(release): time-box coverage and duration exceptions and parallelize the base suite
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>
2026-10-14 14:05:03 -04:00
Joseph MaglyandClaude Opus 5.5 97dd5c5871 ci(release): run Gloo tests in sharded release jobs
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>
2026-10-14 12:55:18 -04:00
Joseph MaglyandClaude Opus 5.5 1e3ffb7fc6 ci(supply-chain): keep qwen-hybrid installed and license-checked on hosted runners
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>
2026-10-14 11:51:06 -04:00
Joseph MaglyandClaude Opus 5.5 d0f14f77d9 fix(ci): restore the hosted model and operator-UI conditional gates
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>
2026-10-14 11:39:27 -04:00
Joseph MaglyandClaude Opus 5.5 636fd5c19a ci: shard PR core tests across a duration-balanced matrix
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>
2026-10-08 17:41:18 -04:00
Joseph MaglyandClaude Opus 5.5 a90a734f42 ci: reject unreadable partition coverage and keep the shard count editable
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>
2026-10-07 16:50:47 -04:00
Joseph MaglyandClaude Opus 5.5 18857ca331 ci: split pr-core into selection, core, and Gloo jobs
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>
2026-10-07 16:35:24 -04:00
Joseph MaglyandClaude Opus 5.5 d0d7a57d05 ci: keep the combined pr-core coverage database isolated
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>
2026-10-07 16:14:06 -04:00
Joseph MaglyandClaude Opus 5.5 a41cea91c1 ci: require coverage from every pr-core partition that ran tests
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>
2026-10-07 16:02:33 -04:00
Joseph MaglyandClaude Opus 5.5 ba95833170 Revert three-process Gloo sharding in pr-core
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>
2026-10-07 15:54:57 -04:00
Joseph MaglyandClaude Opus 5.5 7f8a2d7fd0 ci: weight only real gloo marker usage when sharding
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>
2026-10-07 15:43:00 -04:00
Joseph MaglyandClaude Opus 5.5 8681ef718b ci: shard pr-core Gloo tests across two duration-balanced processes
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>
2026-10-07 15:39:58 -04:00
Joseph MaglyandClaude Opus 5.5 23533b7fe2 test(ci): pin distinct pytest temp roots for the pr-core partitions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 14:56:26 -04:00
Joseph MaglyandClaude Opus 5.5 ae1f8761e9 ci: run Gloo tests concurrently with the rest of pr-core
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>
2026-10-07 14:47:05 -04:00
Brian 73601bb13d packaging: stop exact-pinning build backends
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.
2026-09-20 06:25:34 -07:00
Joseph Magly beb4707401 ci: release tested source snapshots only 2026-08-22 11:28:30 -04:00
Joseph Magly 7b7109feb5 ci: bind release evidence to artifact hashes 2026-08-22 10:59:08 -04:00
Joseph Magly 06e80af7b6 feat: add Jetson contributor validation path 2026-08-21 20:12:35 -04:00
Joseph Magly 38efd3dc0a ci: adopt tiered contributor validation 2026-08-20 23:11:24 -04:00
Joseph Magly cb4aec4532 fix: bind CI evidence to pull request head 2026-08-16 18:22:19 -04:00
Joseph Magly 3574800094 ci: enforce Ruff across all scripts 2026-08-16 03:49:09 -04:00
Joseph Magly 2d803e6a1c ci: verify checkpoint portability on Windows 2026-08-16 00:28:15 -04:00
Joseph Magly 753c53d07f Enforce Gate 3 test quality budgets 2026-08-15 04:33:15 -04:00
Joseph Magly e2da92af52 ci: enforce documented Gate 2 coverage floors 2026-08-15 02:31:55 -04:00
Joseph Magly 9746c21b63 test: enforce Wave A quality lock 2026-08-14 19:47:46 -04:00
Joseph Magly e7b658c0c8 ci: add reproducible supply-chain gates 2026-08-14 12:27:15 -04:00
Joseph Magly eec8a615f7 ci: verify installed distributions 2026-08-14 11:57:33 -04:00