Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions config/repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/test_readiness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 6 additions & 4 deletions tests/test_repo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading