Skip to content

Disable integration tests on linux-musl-x64 - #4789

Merged
Flash0ver merged 1 commit into
mainfrom
muslx64-flaky-integration-tests
Dec 4, 2025
Merged

Flash0ver merged 1 commit into
mainfrom
muslx64-flaky-integration-tests

Conversation

@jamescrosswell

Copy link
Copy Markdown
Collaborator

Temporary workaround for #4788 just to unblock CI:

#skip-changelog

@codecov

codecov Bot commented Dec 4, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.89%. Comparing base (d2fc761) to head (7644954).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4789      +/-   ##
==========================================
+ Coverage   73.87%   73.89%   +0.01%     
==========================================
  Files         485      485              
  Lines       17682    17682              
  Branches     3494     3494              
==========================================
+ Hits        13063    13066       +3     
+ Misses       3760     3757       -3     
  Partials      859      859              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamescrosswell
jamescrosswell marked this pull request as ready for review December 4, 2025 03:15
Comment thread .github/workflows/build.yml Resolved
@Flash0ver
Flash0ver merged commit 0e30c90 into main Dec 4, 2025
@Flash0ver
Flash0ver deleted the muslx64-flaky-integration-tests branch December 4, 2025 11:22
ric-oliv added a commit that referenced this pull request Oct 27, 2026
#4789 turned them off on linux-musl-x64 while they hung there without
an error, tracked in #4788. #4743 fixed the disk space problem behind
it, and #4788 was closed in December 2025, but the guard stayed. The
leg finishes in about 9 minutes without them, and the same tests take
about 6 on linux-musl-arm64, so the leg still ends well before the
slowest check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ric-oliv added a commit that referenced this pull request Oct 27, 2026
* ci: build the app samples in their own job

The app samples only check that they compile, but their Release builds
trim, AOT-compile and package each app. In the macOS leg that's about
13.7 of the Build step's 28.3 task-minutes, and it's the whole tail of
the step once the Cocoa SDK comes from the cache. On Windows, the MAUI
sample's Android build is the last thing the Build step finishes.

The Android, iOS, Mac Catalyst, macOS and MAUI samples now build in a
separate job that starts with the .NET legs: all of them on macOS, the
Android and MAUI samples on Linux, and the MAUI sample on Windows,
which is the only build of its Windows target. The legs' solution
filters no longer include them, and generated filters list them. The
samples job's Cocoa SDK steps match the macOS leg's.

So that msbuild.exe still builds an Android and a Windows app, the
MSBuild job builds the MAUI sample after the solution filter. That took
180 to 211 seconds on three runs, and the job still ended about 10
minutes before the slowest check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: run the integration tests in their own jobs

The build legs built, ran the unit tests, and then ran the integration
tests, one step after another. On macOS the MAUI cases in cli.Tests.ps1
took 8 to 10 of the leg's 13 to 15 integration test minutes, building
three Release apps for Android, iOS and Mac Catalyst, and the Windows
legs spent 12 to 16 minutes in the integration tests.

The MAUI cases move to cli-maui.Tests.ps1, unchanged except that
SKIP_MAUI_TESTS also skips them. A new integration-test job runs next
to the legs: on macOS it runs the MAUI cases, which the macOS leg now
skips, and on linux-x64, win-x64 and win-arm64 it runs every
integration test file, which those legs now skip. Each entry builds
and packs only the packages its tests use, from two generated solution
filters: Sentry-CI-IntegrationTest-macOS.slnf, which adds the Cocoa
bindings, and Sentry-CI-IntegrationTest.slnf. It packs with --no-build
like the legs, because packing Sentry.Maui while building it on macOS
fails with NU5026.

These packages aren't the ones the macOS leg publishes, but
CI_PUBLISHING_BUILD only adds the other desktop platforms' native
libraries and sentry-cli binaries, which these tests don't use. On
release branches the macOS leg runs the MAUI cases too, against the
packages it uploads for craft, so the packages we publish are still
the ones tested. The integration-test job runs them there as well,
which keeps the jobs the same on every branch.

On three runs with the other CI changes, the win-x64, linux-x64 and
win-arm64 legs took 15.0, 11.2 and 17.9 minutes, and their integration
jobs 18.5, 12.7 and 22.1. Before, the win-arm64 leg took 31 and was the
slowest job. The new jobs passed the same 69 tests and skipped the same
35 as the legs did before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: run the integration tests on linux-musl-x64 again

#4789 turned them off on linux-musl-x64 while they hung there without
an error, tracked in #4788. #4743 fixed the disk space problem behind
it, and #4788 was closed in December 2025, but the guard stayed. The
leg finishes in about 9 minutes without them, and the same tests take
about 6 on linux-musl-arm64, so the leg still ends well before the
slowest check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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