Skip to content

ci(gitlab): non-blocking binary size report against main - #1480

Open
duncanista wants to merge 1 commit into
jordan.gonzalez/dev-binary-report/featurefrom
jordan.gonzalez/ci-binary-report/feature
Open

duncanista wants to merge 1 commit into
jordan.gonzalez/dev-binary-report/featurefrom
jordan.gonzalez/ci-binary-report/feature

Conversation

@duncanista

@duncanista duncanista commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR: A non-blocking GitLab job that compares each pipeline's binary with main's (from #1476) and prints the size change.

Why: A size regression shows up in the pipeline before it ships, instead of after a release. It only warns and never blocks.

Overview

Jira: SVLS-9976

Stacked on #1479 (jordan.gonzalez/dev-binary-report/feature).

Add the job binary report (<flavor>) after bottlecap (<flavor>), for the flavors with
keep_symbols. .gitlab/scripts/binary_report.py downloads the latest main artifact of
bottlecap symbols (<flavor>) with the job token, runs
scripts/dev/binary-report.sh --diff --no-crates, and writes a markdown table to the job log
and to .binary-report/ (report.json, report.md, metrics.txt as a GitLab metrics
report).

The job never fails on a number (allow_failure: true). A growth over
BINARY_SIZE_WARN_KIB (256) prints a WARNING line. It does not comment on the GitHub PR,
because that needs a token.

Size: 219 core lines, 219 lines in total.

Testing

  • applies on the previous PR of the stack: pass
  • gomplate v4.3.3 render of .gitlab/templates/pipeline.yaml.tpl, parsed as YAML: pass
  • python3 -m py_compile: pass
  • A local run compared a lambda-sim build of main with the published binary: +125,136 B (+1.23 %).

@duncanista
duncanista requested a review from a team as a code owner October 28, 2026 18:57
@duncanista
duncanista requested a review from lym953 October 28, 2026 18:57
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T19:00:01.485592Z af1d6a3 PR opened
🔒 Security Review ✅ Completed 2026-10-28T19:03:18.014329Z af1d6a3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

Your PR has warnings. Please review the issues below.

🚦 3 Pipeline jobs failed

Bottlecap (Rust) | Audit — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

Bottlecap (Rust) | Lockfile Scan — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

DDCI - DataDog/datadog-lambda-extension | bottlecap (arm64, alpine) — 🔄 Retry may pass, looks flaky

View more details · View in DDCI

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: af1d6a3 | Docs | View more details | Give us feedback!

@duncanista duncanista changed the title [SVLS-9976] ci(gitlab): non-blocking binary size report against main ci(gitlab): non-blocking binary size report against main Oct 28, 2026
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