mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 06:47:41 -05:00
Five review points, no behaviour change. The service diff is the 1150 comment. CORRECTING THE PREVIOUS COMMIT MESSAGE, which cannot be amended without a force-push. It said a control-plane-only test "passes against the wrong- endpoint design too, which is how that design got through four rounds". False about this file: Order(2) compares the two REPORTED ports and requires them to differ, and the withdrawn design reported 6379 for both, so it fails there before anything connects. The general point stands, but not as stated. An assertion about a SINGLE reported value cannot see a wrong-endpoint design, because "the API says 6379" is satisfied whatever 6379 serves. An assertion about a RELATIONSHIP between reported values often can. That is the distinction, not control plane against data plane. Both javadocs said the wrong thing and both are rewritten. @BeforeAll gated the whole class on Docker, and only Order(6) needs it: a group reaches available with no daemon reachable. On a Docker-less runner the entire regression test for this fix would have vanished, silently and green, including the control-plane assertion that catches the original bug. The assumption now sits in Order(6) alone. Order(6) claimed more than it proved. Writing "first" and "second" through the two endpoints and reading each back passes under a consistent relabelling, where each endpoint reaches a distinct cache that is not its own. Each group now carries its own AuthToken and each proxy validates the token of the group it was started for, so an endpoint reaching the other group's proxy is refused its own group's token. The test AUTHs with its own token and requires the other group's to be refused, which is what makes the method name true. Order(2) stays: the two catch different things and neither subsumes the other. Those refusal assertions check the proxy's actual error text, not the helper's prefix, because a connection returning nothing would also fail to start with "+OK" and must not read as a pass. The docs section stated two rules as the service's that are false for Memcached: CreateCacheCluster routes that engine to a path Port is not passed to, so a pinned port is ignored and the 1150 check never runs. Scoped to redis/valkey, with Memcached's behaviour stated. Third time on this work that a Redis-path rule was written as though it covered the service. The 1150 bound is no longer called AWS's own, in docs or javadoc. It is the bound RdsService applies to the same argument; nothing here establishes ElastiCache's real limit. It is strictly more permissive than the check it replaced, so the risk is accepting a port AWS would refuse, never refusing one AWS accepts. The upper arm was untested and now is. ElastiCache surface: 215 tests, 0 failures, 0 skipped. Refs: floci-j55a