Files
magpie/internal
yetone e2e8ea253b gateway tests: a flipped byte in the kept-body test is one that changes the body
TestKeptBodyIsOnlyItsCallers flipped the byte at the middle of a dcz body
and expected a 400. Which byte that is depends on the package's .go files
newAgentChat reads as the conversation, and with plugin_credits_last_test.go
added the middle byte fell on bits zstd doesn't read: the body decoded to the
same request, matched its digest and was rightly passed on (200, reached 2,
3 of 3 on mote; 0 of 3 on origin/main 9bf5848c1 without the new file). The
case now takes the first byte from the middle on whose flip changes what it
decodes to.

Run: go test -count=3 -run TestKeptBodyIsOnlyItsCallers ./internal/gateway
on mote, ok.

At the stack's head (tree 5e30adbc6) on mote: GOOS=linux go vet -tags
nogui ./... and GOOS=windows go vet ./... ok; go test -timeout 45m
./internal/gateway ./internal/provider ./internal/plugin ./internal/routes:
provider, plugin, routes ok; gateway red only on
TestOpenCodeGoOwnFreeModelGetsNothingOfOpenCodes, red on origin/main
9bf5848c1 too (#7117).
2026-11-19 17:26:38 +08:00
..
…
…
…
…
…
…
…
…