Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,4 @@ To add a new compose file:

---

See `COMPOSE_BRAINSTORM.md` for future compose variants and design ideas.
See `docs/compose-brainstorm.md` for future compose variants and design ideas.
File renamed without changes.
2 changes: 1 addition & 1 deletion netengine/workers/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# netengine/workers/ - Background worker tasks
"""Background worker tasks."""
29 changes: 0 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,32 +85,3 @@ markers = [
"integration: Integration tests (requires Docker)",
"slow: Slow tests",
]

[tool.flake8]
max-line-length = 100
extend-ignore = ["E203", "W503"]
exclude = [
"tests",
"netengine/phases",
"netengine/utils",
"netengine/api",
"netengine/cli",
"netengine/core/pgmq_client.py",
"netengine/core/supabase_client.py",
"netengine/handlers/substrate.py",
"netengine/handlers/dns.py",
"netengine/handlers/pki_handler.py",
"netengine/handlers/phase_pki.py",
"netengine/handlers/oidc_handler.py",
"netengine/handlers/gateway_handler.py",
"netengine/handlers/docker_handler.py",
"netengine/handlers/and_handler.py",
"netengine/handlers/domain_registry_handler.py",
"netengine/handlers/mail_handler.py",
"netengine/handlers/minio_handler.py",
"netengine/handlers/app_handler.py",
"netengine/handlers/whois_server.py",
"netengine/handlers/world_registry_handler.py",
"netengine/logging/middleware.py",
"netengine/logging/sinks.py",
]
7 changes: 7 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ def dev_sandbox_spec() -> NetEngineSpec:
return load_spec(examples_dir / "dev-sandbox.yaml")


@pytest.fixture
def m3_spec() -> NetEngineSpec:
"""Full valid spec for M3 orchestrator tests."""
examples_dir = _get_examples_dir()
return load_spec(examples_dir / "minimal.yaml")


# ─────────────────────────────────────────────
# Runtime State Fixtures
# ─────────────────────────────────────────────
Expand Down
10 changes: 0 additions & 10 deletions tests/integration/test_m3_bootstrap.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
"""Integration tests for M3 bootstrap (Phases 3-4: PKI + Platform Identity)."""

from pathlib import Path
from unittest.mock import AsyncMock, patch

import pytest

from netengine.core.orchestrator import Orchestrator
from netengine.handlers.phase_pki import PKIPhaseHandler
from netengine.phases.phase_platform_identity import PlatformIdentityPhaseHandler
from netengine.spec.loader import load_spec

_EXAMPLES = Path(__file__).parent.parent.parent / "examples"


@pytest.fixture
def m3_spec():
"""Full valid spec for M3 orchestrator tests."""
return load_spec(_EXAMPLES / "minimal.yaml")


class TestPKIPhaseHandlerContract:
Expand Down
10 changes: 0 additions & 10 deletions tests/integration/test_orchestrator_m3.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
"""Tests for Orchestrator with M3 phases."""

from pathlib import Path
from unittest.mock import AsyncMock, patch

import pytest

from netengine.core.orchestrator import Orchestrator
from netengine.handlers.phase_pki import PKIPhaseHandler
from netengine.phases.phase_platform_identity import PlatformIdentityPhaseHandler
from netengine.spec.loader import load_spec

_EXAMPLES = Path(__file__).parent.parent.parent / "examples"


async def _set_substrate_output(context):
Expand All @@ -25,12 +21,6 @@ async def _set_pki_output(context):
context.runtime_state.pki_bootstrapped = True


@pytest.fixture
def m3_spec():
"""Full valid spec for M3 orchestrator tests."""
return load_spec(_EXAMPLES / "minimal.yaml")


class TestOrchestratorPhaseExecution:
"""Tests for Orchestrator.execute_phases() behavior."""

Expand Down
Loading