1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-13 01:48:30 +00:00
No description
Find a file
Cursor Agent 68d12457ba
build: budget-aware layer packing (default auto, max 127 layers)
The new default 'auto' strategy keeps one layer per wheel while the total image
layer count (base + deps + app) fits a budget (default 127), and otherwise
bin-packs wheels into the budget by hashing each distribution's normalized name
to a stable bucket. A wheel's bucket depends only on its name, so adding,
removing, or version-bumping one dependency changes only that bucket's layer —
every other layer keeps its digest and is reused.

- MaxLayers / MaxWheelLayers options; base layer count + app layer reserved
- group layers built in parallel and content-addressed in the cache
- tests: packing, stable bucketing, budget from max-layers (base/app reserved),
  clamp when base exceeds cap, and the reuse guarantees (add dep / version bump
  change <= 1 layer), reproducibility

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 23:47:57 +00:00
.github/workflows ci: run the built image on macOS too (Intel runner + Docker via Colima) 2026-06-10 21:53:37 +00:00
cf-worker
cf-worker-container
cf-worker-go
container-vm
driftlessaf
gitea
iap
image-workflow
litestream
pymage build: budget-aware layer packing (default auto, max 127 layers) 2026-06-10 23:47:57 +00:00
.devcontainer.json
.gitignore
LICENSE