fix(release): separate artifact and source contracts
Some checks failed
Dependency Audit / dependency-audit (push) Failing after 15s
Security Audit / security-audit (push) Failing after 13s

This commit is contained in:
2026-07-21 13:24:37 +02:00
parent d9819c4aad
commit 99e255cf81
2 changed files with 16 additions and 40 deletions

View File

@@ -79,6 +79,18 @@ class ReleaseIntegrationTests(unittest.TestCase):
self.assertEqual([test.id() for test in filtered], [retained_id])
self.assertEqual(len(SOURCE_COUPLED_CORE_TESTS), 4)
def test_release_entrypoint_uses_artifact_checks_and_filtered_core_suite(self) -> None:
meta_root = Path(__file__).resolve().parents[1]
script = (meta_root / "tools" / "checks" / "check-release-integration.sh").read_text(encoding="utf-8")
artifact_check = script.index('"$META_ROOT/tools/checks/release_integration.py" artifacts')
core_tests = script.index('"$META_ROOT/tools/checks/release_integration.py" core-tests')
module_tests = script.index('run_step "Run cloned module backend tests"')
self.assertLess(artifact_check, core_tests)
self.assertLess(core_tests, module_tests)
self.assertNotIn('"$PYTHON" -m unittest \\\n tests.test_module_system', script)
if __name__ == "__main__":
unittest.main()