| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
setdefault kept a real shell export working, so an owner machine exporting ENGRAPHIS_EXTRACTOR=llm_structured leaked a live LLM extractor into every ingest-path test. Under tests/conftest.py's DNS stub the extraction call hangs instead of failing fast, deterministically timing out test_session_close_linearizes_before_delayed_memory_write[ingest]. Force the variable to "none" like ENGRAPHIS_UPDATE_CHECK; tests that exercise extraction already opt back in explicitly via monkeypatch.setenv.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Single cherry-picked commit (originally 7503e2e on a local branch): the root conftest.py offline gate now forces ENGRAPHIS_EXTRACTOR=none instead of using setdefault.
Why: setdefault deferred to any exported shell variable, so an owner machine exporting e.g. ENGRAPHIS_EXTRACTOR=llm_structured leaked a live LLM extractor into every ingest-path test. Under tests/conftest.py's DNS stub, extraction calls hang rather than fail fast — deterministically timing out test_session_close_linearizes_before_delayed_memory_write[ingest]. Tests that exercise extraction already opt back in explicitly via monkeypatch.setenv, so nothing legitimate is lost.
Verification