mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
Some checks need images of several gigabytes or long runs: an EMR Serverless run on a custom image pushed to Floci's ECR copies the whole 3.5 GB base image into the registry on every run, and Floci running in a container with an EMR cluster beside it needs the Floci image built first. Every *Test class lands in one of the five CI shards, already close to their time limit, so these have had no place to run. The Nightly checks workflow runs the classes named *NightlyIntegrationTest with -Dfloci.nightly=true: once a day on main, on demand, and on a pull request that adds or changes one, so a check is seen to pass before it merges. Each such class skips without the property, which keeps the shards' cost at a skip. It frees the runner's unused toolchains for the images, prefetches them through prefetch-images.sh, and uploads the reports. GitHub-hosted runners only. A nightly check keys its images in prefetch-images.sh on its own name, and ci.yml hands the prefetch its shard's classes without the nightly ones, so a shard never pulls an image for a check that skips there. AGENTS.md names the convention.