Address review: prefs seeding honors the redirect, age sweep re-probes under the lock

This commit is contained in:
J. Nick Koston
2026-09-03 18:47:38 +02:00
parent bca4c9dbba
commit 900dd63883
4 changed files with 21 additions and 7 deletions
+3 -3
View File
@@ -2141,11 +2141,11 @@ def test_no_orphan_integration_fixtures() -> None:
helpers.get_fixture_to_test_files.cache_clear()
mapping = helpers.get_fixture_to_test_files()
fixtures_dir = (Path(__file__).parent.parent / "integration" / "fixtures").resolve()
fixtures = list(fixtures_dir.glob("*.yaml"))
assert fixtures, f"no fixtures found under {fixtures_dir}"
# cache_init is covered via INTEGRATION_TESTS_TRIGGER_FILES instead
orphans = [
f.stem
for f in fixtures_dir.glob("*.yaml")
if f.stem != "cache_init" and f.stem not in mapping
f.stem for f in fixtures if f.stem != "cache_init" and f.stem not in mapping
]
assert not orphans, f"fixtures invisible to CI test selection: {orphans}"