Skip to content

ci: Remove benchmark workflow that comments on PRs - #5972

Merged
runningcode merged 2 commits into
mainfrom
no/remove-benchmark-pr-comment-workflow
Aug 25, 2026
Merged

ci: Remove benchmark workflow that comments on PRs#5972
runningcode merged 2 commits into
mainfrom
no/remove-benchmark-pr-comment-workflow

Conversation

@runningcode

@runningcode runningcode commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Deletes .github/workflows/integration-tests-benchmarks.yml.

Its app-metrics job was the one posting the "Performance metrics 🚀" comment on every PR, via getsentry/action-app-sdk-overhead-metrics. Removing the whole file also drops the workflow's other job, the SauceLabs test job (nightly full benchmark + per-PR lite benchmark).

That leaves a handful of things with no remaining caller, so they go too:

Removed Only used by
sentry-android-integration-tests/test-app-plain app-metrics
sentry-android-integration-tests/test-app-sentry app-metrics
sentry-android-integration-tests/metrics-test.yml app-metrics
.sauce/sentry-uitest-android-benchmark.yml the test job
.sauce/sentry-uitest-android-benchmark-lite.yml the test job
sentry-android-integration-tests/sentry-uitest-android-benchmark the test job
make assembleBenchmarks the test job
make assembleBenchmarkTestRelease the test job

Plus the corresponding settings.gradle.kts / build.gradle.kts module entries and the README links in sentry-android-integration-tests/ and sentry-uitest-android/.

The Espresso benchmark module (sentry-uitest-android-benchmark) goes in the second commit. It produced the same noisy startup-time and app-size numbers that made the PR comment unactionable, and with the test job gone nothing invokes it — keeping it would only be maintenance cost.

Left alone: sentry-uitest-android (SauceLabs UI tests and the AGP compatibility matrix), sentry-uitest-android-critical (Maestro), and sentry-uitest-android-macrobenchmark.

💡 Motivation and Context

The PR comment wasn't actionable. Recent runs reported 0 B for both app sizes, and the startup-time diff swung between 22 ms and 143 ms across unrelated changes — wide enough that a real regression would be invisible in it.

💚 How did you test it?

./gradlew projects and ./gradlew spotlessApply apiDump both succeed; the removed modules are gone from the project list and no .api files changed. Grepped the tree for references to every deleted path — none remain.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

#skip-changelog

The `app-metrics` job in integration-tests-benchmarks.yml ran the plain
and Sentry test apps through SauceLabs on every PR and posted a
"Performance metrics" comment with startup-time and size diffs. The
numbers were not actionable: recent runs reported 0 B for both app sizes,
and the startup diff swung between 22 ms and 143 ms across unrelated
changes.

Removing the whole workflow also drops its SauceLabs `test` job, which
leaves several things with no remaining caller. Removed here as well:

- `test-app-plain` and `test-app-sentry`, built only by `app-metrics`
- `metrics-test.yml`, the app-metrics test specification
- `.sauce/sentry-uitest-android-benchmark.yml` and its `-lite` variant,
  passed to saucectl only by the `test` job
- the `make assembleBenchmarks` alias, called only by the `test` job

The `sentry-uitest-android-benchmark` module itself is kept. It no longer
runs in CI, but it still builds and can be run locally.
@sentry

sentry Bot commented Aug 14, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.53.0 (1) release

⚙️ sentry-android Build Distribution Settings

@runningcode
runningcode marked this pull request as ready for review August 25, 2026 09:47
The Espresso benchmark module was only exercised by the SauceLabs `test`
job in the workflow removed in the previous commit. Nothing runs it any
more, and the numbers it produced were the same noisy startup-time and
app-size measurements that made the PR comment unactionable, so keeping
it around only costs maintenance.

Also drops its `settings.gradle.kts` / `build.gradle.kts` entries, the
`make assembleBenchmarkTestRelease` target, and the README references.
@runningcode
runningcode enabled auto-merge (squash) August 25, 2026 09:55
@runningcode
runningcode merged commit 67c065c into main Aug 25, 2026
69 of 70 checks passed
@runningcode
runningcode deleted the no/remove-benchmark-pr-comment-workflow branch August 25, 2026 10: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.

2 participants