Skip to content

ci: add App Size check job#1042

Merged
pblazej merged 1 commit into
mainfrom
blaze/app-size-ci
Jun 16, 2026
Merged

ci: add App Size check job#1042
pblazej merged 1 commit into
mainfrom
blaze/app-size-ci

Conversation

@pblazej

@pblazej pblazej commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Adds an App Size CI job that archives an empty vs LiveKit-integrated iOS app on every PR and reports the SDK's app-size impact to the job summary (per-library breakdown + a baseline budget gate that warns within tolerance and fails when exceeded).

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

⚠️ This PR does not contain any files in the .changes directory.

Adds an `app-size` job to ci.yaml that archives an empty iOS app and a
LiveKit "hello world" app (SwiftUI, unsigned, arm64 device slice, via
xcodegen) on every PR and reports the SDK's size impact to the job summary:

- uncompressed `.app` delta (benchmark) + compressed IPA delta (info)
- frameworks-vs-compiled-Swift breakdown, per-library via the linker map
- budget gate (SIZE_BASELINE_MB +/- SIZE_TOLERANCE_PCT): within baseline,
  within tolerance (::warning::), or over (::error::, fails the job)

Self-contained under .github/size-check: a swift-sh script (ArgumentParser
+ Files + ShellOut) run via `swiftly run +xcode swift-sh`, plus project.yml
and two minimal apps targeting iOS 26. The xcodegen-generated Info.plist
and xcodeproj are gitignored.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pblazej pblazej force-pushed the blaze/app-size-ci branch from 085a4e5 to 28e2485 Compare June 16, 2026 10:37

@hiroshihorie hiroshihorie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Nice

@pblazej pblazej merged commit 8d62119 into main Jun 16, 2026
52 of 58 checks passed
@pblazej pblazej deleted the blaze/app-size-ci branch June 16, 2026 13:02
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.

2 participants