Skip to content

ci: add image-size budget workflow + show image size in aidc status --global - #19

Open
ai-anant wants to merge 1 commit into
cyfinoid:mainfrom
ai-anant:ci/image-size-guard
Open

ci: add image-size budget workflow + show image size in aidc status --global#19
ai-anant wants to merge 1 commit into
cyfinoid:mainfrom
ai-anant:ci/image-size-guard

Conversation

@ai-anant

@ai-anant ai-anant commented Aug 2, 2026

Copy link
Copy Markdown

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

Verification

  • Workflow YAML parses
  • bash -n, shellcheck -x, bash-3.2 compat — clean
  • tests/resolve-oauth-token.test.sh — 7/7 pass
  • aidc status --global smoke test (no aidc containers on this host) — clean output

Closes #12

…-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image size: add CI size-budget guard + show image size in aidc status --global

1 participant