fix(cv-import): bound source retention and guard worker recovery

This commit is contained in:
cesnimda
2026-10-26 14:41:53 +01:00
parent e8f76a9dea
commit 9e1726c61d
14 changed files with 115 additions and 9 deletions
+7
View File
@@ -924,3 +924,10 @@ def test_endpoints_stay_open_when_no_token_is_configured(monkeypatch):
response = client.post("/summarize", json={"text": "Platform engineering role."})
assert response.status_code == 503
def test_parser_home_is_private_work_directory_not_host_model_cache(monkeypatch):
module = load_app_module(monkeypatch)
environment = module._parser_environment("private-parser-work")
assert environment.get("HOME") == "private-parser-work"
assert environment.get("USERPROFILE") == "private-parser-work"