Skip to content

ci: remove the per-PR image size-diff comment#1556

Merged
onedr0p merged 3 commits into
mainfrom
ci/remove-size-diff
Jun 29, 2026
Merged

ci: remove the per-PR image size-diff comment#1556
onedr0p merged 3 commits into
mainfrom
ci/remove-size-diff

Conversation

@onedr0p

@onedr0p onedr0p commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Why

The size-diff (introduced via #1553, building on the pre-existing comment) measured each PR build's compressed layers against :rolling and posted a comment. In practice it's low signal for this repo:

  • These are third-party-app repackages, so a size delta is almost always upstream-driven (a bigger Jackett/Sonarr binary) — not something a PR author did or can act on.
  • Most app PRs are Renovate version bumps firing several times a day, so the comment is mostly 0 B / trivial-delta noise on bot PRs.

…and it isn't free: a second type=oci bake on every amd64 PR leg, a workflow_run follow-up run per PR, a dangerous-trigger surface (with a zizmor suppression), and two bugs already (#1553 startup_failure, #1555 download-layout miss).

What

Removes only the size-diff:

  • app-builder.yaml: drop the Export OCI Image / App Size Diff / Save Size Diff / Upload Size Diff steps
  • delete the app-size-diff composite action
  • delete the size-diff-comment.yaml workflow_run workflow
  • drop its dangerous-triggers suppression from .github/zizmor.yml

What stays

zizmor clean; no remaining references to any removed piece.

The size-diff compared each PR build's compressed layers against :rolling and
posted a comment. For a third-party-app repackaging repo the delta is almost
always upstream-driven (not actionable), and most app PRs are Renovate version
bumps, so the comment was noise — at the cost of a second per-PR OCI bake, a
workflow_run follow-up run, and a dangerous-trigger surface.

Removes the Export OCI / App Size Diff / Save / Upload steps, the app-size-diff
action, the size-diff-comment.yaml workflow, and its zizmor dangerous-trigger
suppression. Fork-PR build+test (type=docker load + app-tests on PRs) is
unaffected. regctl stays in mise (used by retry-release.yaml).
onedr0p and others added 2 commits June 29, 2026 06:34
The app-tests composite action declared a required 'token' input but only
ever uses app + image (go test ./apps/$APP/...). Remove the input, its
description, and the github.token passed by app-builder so the action's
interface is honest. No behavior change; Run App Tests is PR-only and
github.token remains used by the login/release jobs.
Signed-off-by: Devin Buhl <onedr0p@users.noreply.github.com>
@onedr0p onedr0p merged commit 743a0fa into main Jun 29, 2026
4 checks passed
@onedr0p onedr0p deleted the ci/remove-size-diff branch June 29, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant