feat(tracker): report a scene module under the engine it runs in

Binaries from a module snapshot carry host_family (from module_of); the
roadmap lists a module type's presence by that engine family.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Patryk Gensch
2026-10-28 21:00:23 +01:00
co-authored by Claude Opus 5.5
parent 4e65268a1e
commit 7d85a69274
3 changed files with 10 additions and 6 deletions
+3
View File
@@ -417,6 +417,9 @@ def build_tracker(snapshots: list[Snapshot], emulator: dict, reviews: list[dict]
"engine": snap.binary.get("engine"), "identity": "binary" if sha else "snapshot_only",
"library": snap.binary.get("library", snap.binary.get("name", "?").split("__")[-1]),
"family": binary_family(snap.binary),
# A scene module runs inside the engine it imports.
"host_family": binary_family({"library": snap.binary["module_of"]})
if snap.binary.get("module_of") else None,
"sources": snap.binary.get("sources", []), "games": snap.binary.get("games", []),
"coverage": snap.raw.get("coverage", snap.raw.get("extraction", {}).get("scope",
snap.binary.get("extraction", {}).get("coverage"))),