From 9874587dfad58573bb1a44fe7f1afd24ad1362a6 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 4 Nov 2026 22:04:18 +0000 Subject: [PATCH] repos: PyAutoCTI release_gate true (PyAutoHands#332) Ruling R6 (cti-upkeep): lockstep nightly from phase 1, so autocti joins the release-readiness gate SHA set. Co-Authored-By: Claude Opus 5.5 --- config/repos.yaml | 10 ++++++---- tests/test_readiness.py | 3 ++- tests/test_repo_config.py | 10 ++++++---- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/config/repos.yaml b/config/repos.yaml index 85480127..356fdb87 100644 --- a/config/repos.yaml +++ b/config/repos.yaml @@ -22,10 +22,12 @@ repos: owner: PyAutoLabs - name: PyAutoCTI owner: PyAutoLabs - # Polled for health/CI, but NOT part of the release-validation gate yet: - # PyAutoCTI is mid-resurrection (not released), so it has no release - # evidence to confirm. Flip to true (or drop this key) when CTI ships. - release_gate: false + # A release-gate library since 2026-11-04 (cti-upkeep ruling R6, phase 1, + # PyAutoHands#332): CTI joined the lockstep train as its sixth library, so + # its CI/branch/clean/behind state and its rehearsal commit sha gate the + # release like the other five. Flipped BEFORE the first modern autocti + # release on purpose: no library gate compares PyPI versions, so the stale + # 2024 wheel cannot block the release that replaces it. build_workflow: - name: PyAutoHands diff --git a/tests/test_readiness.py b/tests/test_readiness.py index d697b880..a1cadb6c 100644 --- a/tests/test_readiness.py +++ b/tests/test_readiness.py @@ -9,7 +9,8 @@ from heart import readiness -LIBS = ["PyAutoNerves", "PyAutoFit", "PyAutoArray", "PyAutoGalaxy", "PyAutoLens"] +# The release-gate libraries (config/repos.yaml); PyAutoCTI joined 2026-11-04. +LIBS = ["PyAutoNerves", "PyAutoFit", "PyAutoArray", "PyAutoGalaxy", "PyAutoLens", "PyAutoCTI"] # Deterministic 40-char main HEAD sha per library; the baseline validation # report's commit_shas match these, so the release-validation gate stays GREEN. diff --git a/tests/test_repo_config.py b/tests/test_repo_config.py index ffcb8800..099a1f09 100644 --- a/tests/test_repo_config.py +++ b/tests/test_repo_config.py @@ -59,13 +59,15 @@ def test_29_repos_polled(config): assert total == 29, f"expected 29 polled repos, got {total}" -def test_cti_polled_but_not_release_gating(config): - """A resurrecting library is polled for health but excluded from the - release-validation gate until it ships (release_gate: false).""" +def test_cti_is_a_release_gate_library(config): + """PyAutoCTI joined the lockstep release train on 2026-11-04 (cti-upkeep + ruling R6, PyAutoHands#332), so it is polled AND release-gating. Until then + it carried `release_gate: false` while it was being resurrected.""" from heart import readiness assert "PyAutoCTI" in readiness.load_library_names() - assert "PyAutoCTI" not in readiness.load_release_gate_names() + assert "PyAutoCTI" in readiness.load_release_gate_names() + assert readiness.load_release_gate_names() == readiness.load_library_names() def _all_names(config):