Skip to content

Set Audience SDK build size baselines and limits#808

Merged
nattb8 merged 1 commit into
mainfrom
feat/audience-build-budget
Jun 30, 2026
Merged

Set Audience SDK build size baselines and limits#808
nattb8 merged 1 commit into
mainfrom
feat/audience-build-budget

Conversation

@nattb8

@nattb8 nattb8 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Sets build size baselines and limits in .github/audience-build-budget.json and restructures the PR size comment to focus on SDK footprint rather than total app size.

The comment now shows SDK Size (build minus empty app) and Change (delta vs baseline), so reviewers see exactly what the SDK itself weighs and whether a PR grew or shrunk it.

@nattb8 nattb8 requested review from a team as code owners June 30, 2026 02:27
@nattb8 nattb8 force-pushed the feat/audience-build-budget branch from 094069c to d2a75a3 Compare June 30, 2026 02:32
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Audience SDK — Build Size

Platform SDK Size Change
Android 0.36 / 20.00 MB +0.00 MB
Windows 0.16 / 20.00 MB +0.00 MB
iOS 8.52 / 20.00 MB +0.00 MB
macOS 0.90 / 20.00 MB +0.00 MB

SDK Size = build minus empty app. Change = vs baseline. Fails if any platform exceeds its absolute size limit.

@nattb8 nattb8 force-pushed the feat/audience-build-budget branch 2 times, most recently from e60a90f to 5492800 Compare June 30, 2026 04:06
emptyAppBytes: measured with SDK stripped (CI run on feat/audience-empty-app-baseline-measure).
baselineBytes: measured with SDK present (CI run on feat/audience-android-size-drop-mono).
maxBytes: emptyAppBytes + 20 MB per platform.

Build size comment now shows a "SDK adds" column alongside vs-baseline delta.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nattb8 nattb8 force-pushed the feat/audience-build-budget branch from 5492800 to 01189cf Compare June 30, 2026 04:43
@nattb8 nattb8 merged commit a1f8527 into main Jun 30, 2026
81 of 87 checks passed
@nattb8 nattb8 deleted the feat/audience-build-budget branch June 30, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants