fix(services): register modules in sys.modules so repo-cloned services can self-import and remove old benchmark that should have been deleted

This commit is contained in:
imSp4rky
2026-07-14 13:46:29 -06:00
parent b8ec9e2498
commit c6ecdb605c
3 changed files with 16 additions and 98 deletions
+1
View File
@@ -111,6 +111,7 @@ def import_module_by_path(path: Path) -> ModuleType:
spec = importlib.util.spec_from_file_location(name, path)
module = importlib.util.module_from_spec(spec)
sys.modules[name] = module
spec.loader.exec_module(module)
return module