didericis
c4ccd74f9b
refactor(gateway): macOS gateway under the Gateway service ABC
...
Extract the Apple-Container gateway data plane out of `MacosInfraService` into
`MacosGateway`, the macOS implementation of the shared `Gateway` service.
`connect_to_orchestrator(url, gateway_token)` runs the triple-homed gateway
container (egress + agent + control networks) carrying the mitmproxy CA and the
pre-minted `gateway` token; `address()` / `ca_cert_pem()` /
`provisioning_transport()` round out the contract.
The infra service now composes the gateway: `ensure_running` mints the
role-scoped `gateway` JWT (it holds the signing key; the gateway never does —
#469 ) and hands it to `gateway().connect_to_orchestrator(...)`, and
`ca_cert_pem` delegates to the service. The inlined `_ensure_gateway_container`
+ CA-read are gone. `AppleGatewayTransport` + the gateway container name/label
now live with the gateway module, breaking the old infra→provision coupling.
Splits the gateway-run + CA tests out of test_macos_infra into a dedicated
test_macos_gateway; the infra tests mock `svc.gateway`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-25 13:04:53 -04:00
..
2026-07-14 17:07:56 -04:00
2026-07-24 14:15:04 -04:00
2026-07-21 13:15:05 -04:00
2026-07-17 00:36:43 -04:00
2026-07-11 13:24:47 -04:00
2026-07-21 22:54:26 -04:00
2026-07-25 02:32:05 -04:00
2026-07-24 21:35:58 -04:00
2026-07-24 21:25:20 -04:00
2026-07-24 21:25:20 -04:00
2026-07-11 13:24:47 -04:00
2026-07-21 04:54:40 +00:00
2026-07-14 02:38:20 -04:00
2026-07-14 02:38:20 -04:00
2026-07-22 17:36:51 +00:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 14:15:04 -04:00
2026-07-24 17:25:25 -04:00
2026-07-21 14:25:38 -04:00
2026-07-20 19:13:08 +00:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-06-25 16:13:19 -04:00
2026-06-07 11:35:35 -04:00
2026-07-14 16:46:46 -04:00
2026-07-24 14:15:04 -04:00
2026-07-23 21:39:07 +00:00
2026-07-25 12:58:00 -04:00
2026-07-21 13:15:05 -04:00
2026-07-24 14:15:04 -04:00
2026-07-24 14:15:04 -04:00
2026-06-25 04:12:43 -04:00
2026-06-30 15:08:14 -04:00
2026-07-24 12:53:52 -04:00
2026-06-03 23:04:17 -04:00
2026-07-24 17:00:51 -04:00
2026-06-25 03:08:47 -04:00
2026-07-14 02:38:20 -04:00
2026-07-14 02:38:20 -04:00
2026-07-25 12:58:00 -04:00
2026-07-21 13:56:29 -04:00
2026-07-23 21:39:07 +00:00
2026-07-21 14:52:44 -04:00
2026-07-21 13:56:29 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 17:00:51 -04:00
2026-07-14 17:12:12 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 17:14:26 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 21:25:20 -04:00
2026-07-23 21:39:07 +00:00
2026-07-25 03:44:15 -04:00
2026-07-21 13:56:29 -04:00
2026-07-25 03:44:15 -04:00
2026-07-24 18:17:48 -04:00
2026-07-14 02:38:20 -04:00
2026-07-17 21:49:30 -04:00
2026-07-24 16:27:56 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 13:04:39 -04:00
2026-07-24 16:27:56 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 17:00:51 -04:00
2026-07-21 13:56:29 -04:00
2026-07-21 13:56:29 -04:00
2026-06-24 15:37:57 -04:00
2026-07-24 18:17:48 -04:00
2026-07-08 12:38:15 -04:00
2026-07-21 03:39:18 +00:00
2026-07-23 21:39:07 +00:00
2026-06-23 03:02:03 +00:00
2026-07-23 21:39:07 +00:00
2026-07-20 23:08:59 -04:00
2026-07-25 13:04:53 -04:00
2026-07-25 13:04:53 -04:00
2026-07-22 17:36:51 +00:00
2026-06-22 23:54:02 -04:00
2026-07-24 13:04:39 -04:00
2026-07-23 21:28:39 +00:00
2026-07-22 18:35:31 +00:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-26 21:19:27 -04:00
2026-07-23 21:28:39 +00:00
2026-06-22 23:54:02 -04:00
2026-07-24 13:04:39 -04:00
2026-07-24 18:17:48 -04:00
2026-07-14 02:38:20 -04:00
2026-07-24 18:17:48 -04:00
2026-07-24 14:15:04 -04:00
2026-07-14 02:38:20 -04:00
2026-07-25 12:58:00 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 18:24:20 -04:00
2026-07-24 15:26:52 -04:00
2026-07-24 14:15:04 -04:00
2026-07-24 18:24:20 -04:00
2026-07-24 18:24:20 -04:00
2026-07-11 13:24:47 -04:00
2026-07-24 18:17:48 -04:00
2026-06-01 22:24:17 -04:00
2026-07-14 17:07:56 -04:00
2026-07-21 16:55:06 +00:00
2026-07-21 13:56:29 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 17:25:25 -04:00
2026-07-24 15:03:37 -04:00
2026-07-24 17:00:51 -04:00
2026-07-24 15:09:27 -04:00
2026-07-18 14:18:39 -04:00
2026-07-09 17:21:57 +00:00