Repository navigation
feat(gateway-image): smoke the broker-free Compass boot (RIG-2862) - #2233
rigel-mintaka wants to merge 1 commit into
Conversation
The smoke runs a TLS fake Compass Server on host loopback and boots the gateway with the pasta map-host-loopback network, a service token and the CA. Co-authored-by: Matt Wilkinson <matt@rigel.build>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Compass engineering docs preview: https://compass-gateway-rig-2862-gat.compass-eng-docs.pages.dev Deployed from Changed pages: |
|
Review at head Open: 0 high, 0 medium. The full podman smoke is pending the F3 fork pin (see "Draft until"). |
Summary
Preparation for task I1 in the boot wiring record (compass #2213). The gateway-image smoke now targets the broker-free Compass boot.
127.0.0.1. Its cert comes fromcompass-gen-certwith SANshost.containers.internaland127.0.0.1. It answersGatewayAuth/VerifyAgentTokenwith the same Connect wire the fork verifier uses.--network pasta:--map-host-loopback,169.254.1.2, the service token mounted:ro,Z, the CA mounted:ro,z, andCOMPASS_SERVER_URLset to the fake server'shost.containers.internaladdress./healthz, a valid token gets the/v1/modelslist, a bad token gets 401, and the container exits 143 on stop.no-server-env: the container exits non-zero before bind.wrong-token: the door rejects the service token, so the valid-token check fails.core.ts: removesCOMPASS_GATEWAY_TOKEN_FILEfrom the secret-name allowlist and addsfakeCompassDoorResponse, with unit tests.release.yml:compass-gen-cert;publish-gateway-imagetoubuntu-26.04.--map-host-loopbackneeds passt from 2024-08-21 or later, and 24.04's passt predates it.Draft until
The full smoke needs a fork image with the Compass boot (fork #153). This PR stays draft until #2213 freezes and the
fork-pin.jsonbump lands on top of it.Tests
tools/gateway-image:bun testpasses 79 of 79;tscand biome are clean.actionlintreportsubuntu-26.04as an unknown label, because its label list predates 26.04. Its other errors also occur on main.Ledger-impact: none. The record changes in #2213.