mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 15:21:05 -05:00
* fix(sqs): omit Messages field from empty ReceiveMessage JSON response Real AWS SQS omits the Messages field entirely when a ReceiveMessage call returns no messages. With AWSConfigs.InitializeCollections=false (the modern AWS SDK default) the SDK leaves the response collection as null in that case, which several parity tests assert. Floci was emitting "Messages": [] instead, so the SDK deserialized it to a non-null empty list. This broke the StartMessageMoveTask family of tests (which drain a freshly-created queue and assert null) and ~12 other tests in the .NET conformance sweep. Refs #768. * test(pipes): handle empty AWS CLI output in stopped-pipe assertion After the SQS ReceiveMessage fix, an empty queue response is `{}` instead of `{"Messages": []}`. The AWS CLI may emit an empty string in that case, which makes `jq` fail and leaves msgs as empty, breaking the assertion. Default $out to `{}` so the .Messages // [] fallback applies cleanly.