build(fase1): add dev orchestration + solver + async deps, scaffold spikes
This commit is contained in:
parent
ffd3ad4dd7
commit
ffbfe00317
7 changed files with 177 additions and 3 deletions
3
tests/spikes/__init__.py
Normal file
3
tests/spikes/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
"""Throwaway Fase 1 de-risk spike tests — dev-only, never shipped in the wheel;
|
||||
safe to delete after findings are recorded.
|
||||
"""
|
||||
29
tests/spikes/test_imports.py
Normal file
29
tests/spikes/test_imports.py
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
"""Step 1 import smoke: the throwaway spikes package resolves, and the dev-only
|
||||
orchestration + solver + async dependencies are importable.
|
||||
|
||||
Pattern: tests/test_smoke.py (plain functions, no fixtures).
|
||||
"""
|
||||
|
||||
|
||||
def test_spikes_package_imports() -> None:
|
||||
import spikes # noqa: F401 (repo-root on pythonpath; no collision with installed dists)
|
||||
|
||||
|
||||
def test_orchestration_builders_import() -> None:
|
||||
# The GA orchestration builders live in the separate `agent-framework-orchestrations`
|
||||
# package (NOT top-level agent_framework, NOT core) — confirmed by introspection + PyPI.
|
||||
from agent_framework.orchestrations import ( # noqa: F401
|
||||
ConcurrentBuilder,
|
||||
GroupChatBuilder,
|
||||
MagenticBuilder,
|
||||
StandardMagenticManager,
|
||||
TerminationCondition,
|
||||
)
|
||||
|
||||
|
||||
def test_solver_imports() -> None:
|
||||
import pulp # noqa: F401 (Spike C — bundles a CBC binary in its wheel)
|
||||
|
||||
|
||||
def test_async_runner_imports() -> None:
|
||||
import pytest_asyncio # noqa: F401 (MAF orchestrations are async)
|
||||
Loading…
Add table
Add a link
Reference in a new issue