Skip to content

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

Draft
runningcode wants to merge 1 commit into
mainfrom
no/remove-benchmark-pr-comment-workflow
Draft

ci: Remove benchmark workflow that comments on PRs#5972
runningcode wants to merge 1 commit into
mainfrom
no/remove-benchmark-pr-comment-workflow

Conversation

@runningcode

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
make assembleBenchmarks the test job

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

Deliberately kept: the sentry-uitest-android-benchmark module and the make assembleBenchmarkTestRelease target. The module no longer runs in CI, but it still builds and can be run locally — deleting it felt like a separate call. Happy to fold that in if you'd rather it go now.

💡 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.

🔮 Next steps

Decide whether sentry-uitest-android-benchmark should also be removed, or re-wired into CI under a workflow that doesn't comment on PRs.

#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

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.

1 participant