stubTransportFactory wires a deterministic handler through the AIBridgeTransportFactory hook so the AGPL side of the in-memory pipe can be exercised without pulling coderd/aibridged in.
| 17 | // AIBridgeTransportFactory hook so the AGPL side of the in-memory pipe can be |
| 18 | // exercised without pulling coderd/aibridged in. |
| 19 | type stubTransportFactory struct { |
| 20 | handler http.Handler |
| 21 | calls chan callRecord |
| 22 | } |
| 23 | |
| 24 | type callRecord struct { |
| 25 | providerName string |
nothing calls this directly
no outgoing calls
no test coverage detected