test: skip live aux feasibility probe in worker-isolation regressions

Same hermetic-CI trap the concurrent-fork suite already guards against:
without credentials the one-time feasibility probe aborts compression
before the stubbed engine starts, so the F3/F4 blocked-state assertions
went vacuous-false in CI while passing on credentialed dev machines.
This commit is contained in:
Teknium 2026-08-01 15:28:19 -07:00
parent 038c1ad872
commit fe2fc57240
1 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,13 @@ def _build_agent_with_db(db: SessionDB, session_id: str, **compressor_kwargs):
compressor._last_compression_made_progress = True
compressor._last_summary_fallback_used = False
agent.context_compressor = compressor
# The compressor is a stub — the one-time compression-model feasibility
# probe would resolve a REAL auxiliary provider (credential pools, live
# token exchange) before the engine runs. In hermetic CI there are no
# credentials, so the probe aborts compression before the stub engine
# ever starts and every blocked-state assertion goes vacuous. These
# tests exercise isolation/fencing, never aux-model feasibility.
agent._compression_feasibility_checked = True
return agent