Commit Graph
28 Commits
Author SHA1 Message Date
Joseph Magly 8fee1f4241 ci(policy): derive owned duration budgets from the slowest of all hosted samples
Grok review r1 for #685: the concept_pack budget (65 s) came from one sample
of a heap-sensitive test and was already exceeded (83.89 s). Owned budgets
are re-derived from the slowest of all five hosted release samples
(45678651612 both lanes; 45696135376 py3.11 head, py3.12 head and base):
concept_pack 105 s and recipe_application v2 35 s, the rest unchanged.
smaller_change low_variance and failing_collateral are owned at 20 s. The
CONTRIBUTING owned-tests section covers all 24 and states the rule.
2026-11-25 16:20:47 -05:00
Joseph Magly 51fa9e2213 ci(policy): rebaseline release duration budgets, speed up slow tests, enforce per-test budgets on PRs
Rebaselines the release suite and marker duration budgets to the slowest
measured hosted release time + 25% (run 45678651612; suite 3910 s on py3.11
and 5340 s on py3.12; cpu 2010, integration 700, unmarked 2460) and owns every
test whose time + 25% exceeds 15 s under #679 with a 90-day review (follow-up
#684). Speeds up test_smaller_change rank1 (geometry environments built lazily)
and the recipe-search fake edit step (a light helper module). The PR core gate
now enforces per-test budgets on each shard's JUnit with a new
--testcase-budgets-only mode; suite and marker totals stay release-only.

Refs #679
2026-11-25 15:33:27 -05:00
Joseph MaglyandClaude Opus 5.5 64c2751216 ci: run the Nix test flake in CI and document it for contributors
Make the committed Nix test environment usable by others and by CI.

- .github/workflows/nix-parity.yml installs Nix from the official
  release installer, pinned by version and SHA-256 (recorded in
  ci/digests.txt; the installer verifies the tarball hashes it embeds),
  checks the flake outputs and runs a parity smoke set on Python 3.12
  and 3.13. Release-gate tests run only on 3.12, the release
  interpreter. It triggers on changes to the flake, lock, pyproject,
  .envrc or the workflow, and on dispatch; it is not a required check.
- .envrc (`use flake`) loads the 3.12 shell for direnv users.
- tests/test_nix_parity_policy.py keeps the flake's uv pin, CI extras,
  non-editable install and marker filter in step with ci.yml, and the
  workflow's action and installer pins in step with ci/digests.txt.
- A nix-test-environment contract surface maps the flake, lock, .envrc,
  workflow and doc to that test.
- docs/NIX_TEST_ENVIRONMENT.md gains direnv and CI sections;
  CONTRIBUTING and README point to the flake, and CONTRIBUTING's
  supported-interpreter line now matches pyproject (3.11+, CI and
  release on 3.11 and 3.12).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 18:09:50 -05: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 d37d97af35 ci(release): measured Gloo durations and four release Gloo shards (#305)
The placeholder 80 s export_gloo weight and 2026-10-07 durations
under-weighted shard 0, which ran out of its ten-minute job on a slow
runner. Record per-file sums from the py3.12 release shards (the slowest
Python) and split the release lane into four shards: the largest is now
238 s of measured work instead of ~360 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:48:50 -04:00
Joseph MaglyandClaude Opus 5.5 7e54051714 docs(ci): state how release duration budgets treat the parallel Gloo shards
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:12:34 -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 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 Magly 8e998fc842 docs: define PR acceptance and release process 2026-08-23 13:45:56 -04:00
Joseph Magly 06e80af7b6 feat: add Jetson contributor validation path 2026-08-21 20:12:35 -04:00
Joseph Magly 4848fea62c ci: preserve signed canonical integrations 2026-08-20 23:17:45 -04:00
Joseph Magly 38efd3dc0a ci: adopt tiered contributor validation 2026-08-20 23:11:24 -04:00
Joseph Magly 0f6be47948 docs: align contributor standards with BT6 gates 2026-08-16 17:36:34 -04:00
Joseph Magly 753c53d07f Enforce Gate 3 test quality budgets 2026-08-15 04:33:15 -04:00
Joseph Magly 37d008d462 test: establish Gate 1 quality baseline (#90)
Establishes the mandatory testing, coverage, repeatability, mutation, packaging, supply-chain, and AIWG workspace baseline before feature integration.
2026-08-15 01:07:47 -04:00
Joseph Magly 7a2a49b435 test: constrain risk overlays to measured coverage 2026-08-14 21:19:38 -04:00
Joseph Magly 53b37108af test: require exhaustive contract ownership 2026-08-14 21:19:38 -04:00
Joseph Magly 9746c21b63 test: enforce Wave A quality lock 2026-08-14 19:47:46 -04:00
Joseph Magly c1a1275291 ci: add conditional environment test gates 2026-08-14 14:29:14 -04:00
Joseph Magly 951700a285 test: add quality-depth gates and mature CPU coverage 2026-08-14 14:08:23 -04:00
Joseph Magly b80c1a1694 test: enforce research integrity contracts 2026-08-14 13:38:14 -04:00
Joseph Magly 8bbb5f2926 test: add offline integration baseline 2026-08-14 13:15:32 -04:00
Joseph Magly 6add02edd0 test: enforce model and CLI boundary contracts 2026-08-14 12:51:09 -04:00
Joseph Magly 548092d5ca ci: establish green validation baseline (#59) 2026-08-14 09:55:49 -04:00
pliny 66ea4a6f86 Add files via upload 2026-03-05 00:50:44 -08:00
pliny 0f6114fe87 Add files via upload 2026-03-04 12:38:18 -08:00