You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root cause (corrects the #11248 concurrent_limiter triage)
orchestration/orchestrator_stubs.py provides except ImportError fallback classes for AgentManager (line 28) and WorkflowStep (line 46), but the GemmaClassificationAgent try/except (lines 14-19) only sets CLASSIFICATION_AVAILABLE = False — no fallback class. Yet GemmaClassificationAgent is re-exported in __all__ and imported by orchestrator.py:80 (from orchestration.orchestrator_stubs import ..., GemmaClassificationAgent, ...).
So in any environment where agents.gemma_classification_agent can't import, from orchestration.orchestrator_stubs import GemmaClassificationAgent raises ImportError: cannot import name 'GemmaClassificationAgent', breaking the whole orchestrator import chain.
This is the actual first blocker of tests/services/test_concurrent_limiter.py collection (which imports services.workflow_automation → manager → orchestrator) — NOT the "py3.14 asyncio.Event artifact" the earlier #11248 triage assumed (collection never reached the test logic).
Fix
Add the missing except ImportError fallback class for GemmaClassificationAgent, matching the AgentManager/WorkflowStep pattern. It is only instantiated behind a CLASSIFICATION_AVAILABLE guard (orchestrator.py:178), so a minimal placeholder is sufficient — it just needs to exist as an importable name.
Note
test_concurrent_limiter collection is still blocked further down the chain by knowledge/base.py's unguarded from llama_index.core import ... (llama_index is in no requirements file) — tracked separately.
Closed — merged to Dev_new_gui via PR #11392 (commit ab54820f7). orchestrator_stubs.py now provides the missing except ImportError fallback for GemmaClassificationAgent, matching the AgentManager/WorkflowStep pattern. Verified: the orchestrator import chain now advances past orchestrator_stubs (Backend Startup Import Smoke green); next blocker is the unguarded llama_index import in knowledge/base.py (#11391).
Activity
fix(orchestration): add missing GemmaClassificationAgent import fallb…
github-actions commentedon Jul 9, 2026
PR #11392 (merged to
Dev_new_gui) references this issue with a close keyword.If this issue is fully resolved, close it manually. If work remains, no action is needed.
mrveiss commentedon Jul 9, 2026
Closed — merged to Dev_new_gui via PR #11392 (commit
ab54820f7).orchestrator_stubs.pynow provides the missingexcept ImportErrorfallback forGemmaClassificationAgent, matching the AgentManager/WorkflowStep pattern. Verified: the orchestrator import chain now advances pastorchestrator_stubs(Backend Startup Import Smoke green); next blocker is the unguardedllama_indeximport inknowledge/base.py(#11391).