ci: add image-size budget workflow + show image size in aidc status --global - #19
Open
ai-anant wants to merge 1 commit into
Open
ci: add image-size budget workflow + show image size in aidc status --global#19ai-anant wants to merge 1 commit into
ai-anant wants to merge 1 commit into
Conversation
…-global - New .github/workflows/image-size.yml builds the Dockerfile template with a representative go,node,python toolchain set, posts the measured size as a PR comment, and soft-warns above a 6GB ceiling (informational until the size-reduction PRs land and the budget is tightened). - aidc status --global now prints the image size per project (one docker image ls --no-trunc joined against container image IDs, no per-container forks). Refs cyfinoid#12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The aidc image has grown to ~4 GB with no guardrail — nothing would catch a +500 MB regression in a future PR. This PR adds both a CI size budget and visibility in the existing status output.
Changes
.github/workflows/image-size.yml(new)go,node,pythontoolchain set.actions/github-script).lib/aidc.sh—aidc status --globalimageline showing the on-disk image size, fetched in one batch (docker image ls --no-trunc) and joined against container image IDs — no extra docker fork per container.Verification
bash -n,shellcheck -x, bash-3.2 compat — cleantests/resolve-oauth-token.test.sh— 7/7 passaidc status --globalsmoke test (no aidc containers on this host) — clean outputCloses #12