Files
floci/src
Davor Santic 5c45c146c7 fix(ecs): round-trip command and entryPoint on container definitions (#2446)
RegisterTaskDefinition already parsed containerDefinitions[].command and
.entryPoint, and EcsContainerManager honoured both when launching the
container — but containerDefinitionNode never rendered them, so
DescribeTaskDefinition silently omitted both keys.

The practical consequence is data loss on the describe -> register
round trip that tooling relies on to cut a new revision: the overrides
disappear from the JSON and the new revision falls back to the image's
default entrypoint. The container still starts, so nothing surfaces until
whatever the entrypoint was meant to do turns out not to have happened.

Serialize both sparsely, matching the surrounding portMappings /
mountPoints style, so definitions that set neither stay byte-identical.

Tests: a parse+serialize unit test in the EcsJsonHandlerVolumesTest style
(round trip plus an absent-stays-absent guard), and an end-to-end
register -> describe case in EcsIntegrationTest.

Refs #2445
2026-08-24 09:25:47 -04:00
..