Files
magpie/internal
yetone 64ae6e206b gateway: /responses/compact is held to a key's MaxConcurrency and refused a read-only key (#7281)
6e6da86c8 added POST /v1/responses/compact and /responses/compact
without judging them in the two every-route guards, so the full gateway
suite went red on TestKeySlotEveryRoute and TestReadOnlyKeyEveryRoute.
Both routes ask a model through serve's tries as /responses does, so
they are keySlotLazy in keySlotRoutes and in readOnlyRefused (the guard
already refused them; only the test list was missing them).

Run on mote at this tree:
- go test ./internal/gateway -count=1 -timeout 45m at 6e6da86c8: FAIL,
  with TestKeySlotEveryRoute and TestReadOnlyKeyEveryRoute (the two
  fixed here) and TestOpenCodeGoOwnFreeModelGetsNothingOfOpenCodes,
  which is red 3 of 3 on origin/main c2924c36d alone (#7117). Its log
  also has the recovered doneHold "close of closed channel" panic
  (#6505, #6690).
- -run 'TestKeySlotEveryRoute|TestReadOnlyKeyEveryRoute|
  TestResponsesCompact|TestBrowserKey' -count=1: ok.
- gofmt -l internal/gateway: clean.
Not run: the full gateway suite again at this head.
2026-11-20 11:40:19 +08:00
..
…
…
…
…
…
…
…
…