09393b354b
Completes the de-sidecar cleanup: no live code, test, current doc, script, or nix file mentions or is named "sidecar" any more. Only the dated PRD/research docs keep the term as historical record (agreed on the #385 thread). - Rename `sidecar_init.py`→`gateway_init.py` was done earlier; this pass sweeps the remaining descriptive uses: the egress / git-gate / supervise components are the gateway's *daemons*, the shared container is the *gateway*, the old per-bottle container was the *companion container*. - Rename `tests/integration/test_sidecar_bundle_image.py`→`test_gateway_image.py` and its class; update `docs/ci.md` + `tests/README.md` for the renamed/ removed integration tests. - `SIDECAR_PORTS` shell var in `scripts/firecracker-netpool.sh`→`GATEWAY_PORTS`. Full unit suite green (bar the pre-existing `/bin/sleep`-missing env errors in test_gateway_init); docker integration — gateway singleton, broker, real two-bottle multitenant isolation, and the gateway-image build — all pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBMWTEtQdJ4W5UrWuLHCck
28 lines
945 B
Python
28 lines
945 B
Python
"""Host-side egress route-apply for the macos-container backend.
|
|
|
|
The per-bottle companion container this used to signal (`container kill
|
|
--signal HUP <container>`) was removed in the companion-container removal (#385),
|
|
along with the disabled macOS launch path. Fails closed until the macOS
|
|
backend grows the consolidated gateway.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from ..egress_apply import EgressApplicator, EgressApplyError
|
|
|
|
|
|
class MacOSContainerEgressApplicator(EgressApplicator):
|
|
def _signal_bundle_reload(self, slug: str) -> None:
|
|
del slug
|
|
raise EgressApplyError(
|
|
"live egress route-apply was removed with the per-bottle "
|
|
"companion container (#385); the macos-container backend is "
|
|
"disabled until it uses the consolidated gateway."
|
|
)
|
|
|
|
|
|
applicator = MacOSContainerEgressApplicator()
|
|
|
|
|
|
__all__ = ["MacOSContainerEgressApplicator", "EgressApplyError", "applicator"]
|