mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 23:59:27 -05:00
* chore(ecs): read the task metadata stats from inside a container No compatibility test reached Docker's stats API, so the native image could lose the docker-java stats models without any test failing. * chore(compat): reach the Docker commands no native test used Recording the Docker API calls of the Java suite against the native image showed commands no test reached. Cover the ones a CI run can reach: - ECS Exec resizes the terminal of an interactive session - a Lambda function with 33 MB of unzipped code is served from a code volume, which lists the volumes - Timestream for InfluxDB reboots an instance * chore(ci): run container-backed EC2 against the native image The native suites run EC2 in mock mode, so no native test reached the Docker calls only container-backed EC2 makes: building the security group helper image, committing an instance as an AMI and removing that image, and the VPC networks. A new job starts the native image with container-backed EC2, once with security group enforcement and once without, since an enforced instance lives in its helper's network rather than on a VPC network. It ends by killing and restarting Floci, which must remove the VPC network the tests leave behind. * chore(compat): trust Floci's test certificate in the ECS Exec session client The native CI job runs Floci with TLS, which makes the ExecuteCommand stream URL wss:// on Floci's test CA. * chore(ci): launch arm64 EC2 guests in the container-backed EC2 job The job runs on an arm64 runner, and the x86_64 AMI starts its guest as linux/amd64. The VPC network instances never reached running there. Maven also logs its test counts now, so a skipped phase shows in the job log. * chore(compat): say why the new tests' cleanup failures are ignored * chore(ci): stop waiting for Floci once it reports unhealthy in the EC2 job The wait kept polling for the full minute after an unhealthy status, unlike the existing wait step in the same workflow.