refactor: move check_freshness logic to freshness

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 14:57:45 +01:00
1 parent 5fa802a3c5
commit 8a2ef047ab
26 files changed
+2171 -1987

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ SIBLING_IMPORTS: dict[str, frozenset[str]] = {
"unattended": frozenset({"devtools"}),
# The installer event schema is checked against the one the build writes.
"schemas": frozenset({"installer_build"}),
# Each layer is asked through the code that writes it: the scrapers, the
# native export, the data directory refresh, the installer pins, the
# site's source trees and profile_sync's report.
"freshness": frozenset({"scraper", "exporter", "packs", "installer_build", "sitegen", "profiling"}),
}
# Top-level files that stay whole at their path although packages import them: