mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 18:48:00 -05:00
* fix(ecs): look up a task definition without failing on a stored record with no ARN resolveTaskDefinitionOrThrow compared each stored definition's ARN with d.getTaskDefinitionArn().equals(ref), so a family or family:revision lookup threw a NullPointerException when the region held a definition with no ARN. The comparison is now null-safe, and EcsTaskDefinitionLegacyKeyTest covers a family lookup next to such a record. * fix(ecs): answer a missing task definition reference with ClientException A null or blank reference reached the lookup's comparisons and threw a NullPointerException, a 500, once the region held any task definition: the family fallback's family.equals(...) failed even before the null-safe ARN comparison. It is now refused up front with the same ClientException an unknown reference gets. * test(ecs): cover the family lookup in the existing no-ARN test