Files
magpie/internal
yetone 8a4e32febe tests: the overflow memory's compacted and answered cases stay one conversation (#3453)
TestOverflowRefusedOnceIsAskedLast's "compacted" request changed the
conversation's only user message. A ruled group keeps a conversation by
its first user message (firstWords in the stick key), so that request
was another conversation, and passed with behindOverflow's size check
taken out. Nothing asked that what a member answered is forgotten.

The conversation now has turns after its first user message, and the
compacted request keeps that message and drops the rest: the same key,
a smaller body. a answers it, and the conversation grown back to the
size a once refused begins with a again.

Run on mote, -tags nogui ./internal/gateway/:
- -run TestOverflowRefusedOnceIsAskedLast: ok.
- size check taken out (size >= r.bytes always true): FAIL at
  overflow_learn_test.go:71 "compacted: ... (a 0, b 1)".
- forgetOverflow call taken out: FAIL at :81 "after a answered: ...
  (a 0, b 1)".
- -race -count=20 of this test, TestOverflowMemoryReadWhileNoted and
  TestRelayInputCapGoesToTheNextMember: ok.
2026-11-01 16:43:21 +08:00
..
…
…
…
…
…
…