| 1 | # The web UI (webui/): the export contract the publisher and the server |
| 2 | # share. Its tests run here, in the package's unit build |
| 3 | # (nix/packages.nix). |
| 4 | { |
| 5 | packages, |
| 6 | ... |
| 7 | }: |
| 8 | { |
| 9 | # The projection over the shared fixture, which holds every disclosure |
| 10 | # rule: what reaches export.json, hidden projects' edges, the display |
| 11 | # mapping. The content digest; each of VerifyManifest's steps, in order; |
| 12 | # the manifest's grammar and its agreement with export.json; the |
| 13 | # streaming body check; bundle acceptance against real git, refusing |
| 14 | # wrong tips, prerequisites, extra refs, corrupt objects, and serving no |
| 15 | # commit main does not reach; and the receiver's state directory, with |
| 16 | # readers holding a generation through activations and recovery after a |
| 17 | # crash. go vet runs after them. |
| 18 | webui-unit = packages.webui.unit; |
| 19 | } |