Skip to content

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Nov 4, 2025

Disable parallel net9.0-android35.0 vs. net10.0-android36.0 builds to prevent Maven download cache conflicts:

Fixes: #4689

@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (version6@a739982). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             version6    #4692   +/-   ##
===========================================
  Coverage            ?   73.19%           
===========================================
  Files               ?      480           
  Lines               ?    17421           
  Branches            ?     3437           
===========================================
  Hits                ?    12751           
  Misses              ?     3820           
  Partials            ?      850           

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

@jpnurmi
Copy link
Collaborator Author

jpnurmi commented Nov 4, 2025

P.S. A clean, unparallelized build of Sentry.Bindings.Android doesn't take long:

C:\Users\jpnurmi\Projects\sentry\sentry-dotnet>git clean -xdf
Removing src/Sentry.Bindings.Android/bin/
Removing src/Sentry.Bindings.Android/obj/

C:\Users\jpnurmi\Projects\sentry\sentry-dotnet>rmdir /s /q "%LOCALAPPDATA%\dotnet-android\MavenCacheDirectory"

C:\Users\jpnurmi\Projects\sentry\sentry-dotnet>dotnet build -c Release src\Sentry.Bindings.Android\Sentry.Bindings.Android.csproj | more
  Determining projects to restore...
  Downloading from "https://repo1.maven.org/maven2/io/sentry/sentry-android-ndk/8.24.0/sentry-android-ndk-8.24.0.pom" to "C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\obj\sdks\Sentry\Android\8.24.0\sentry-android-ndk-8.24.0.pom" (2 086 bytes).
  Downloading from "https://repo1.maven.org/maven2/io/sentry/sentry-android-ndk/8.24.0/sentry-android-ndk-8.24.0.pom" to "C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\obj\sdks\net10.0-android36.0\Sentry\Android\8.24.0\sentry-android-ndk-8.24.0.pom" (2 086 bytes).
  Downloading from "https://repo1.maven.org/maven2/io/sentry/sentry-android-ndk/8.24.0/sentry-android-ndk-8.24.0.pom" to "C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\obj\sdks\net9.0-android35.0\Sentry\Android\8.24.0\sentry-android-ndk-8.24.0.pom" (2 086 bytes).
  Restored C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\Sentry.Bindings.Android.csproj (in 190 ms).
C:\Program Files\dotnet\sdk\10.0.100-rc.2.25502.107\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(351,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\Sentry.Bindings.Android.csproj::TargetFramework=net10.0-android36.0]
  Sentry.Bindings.Android -> C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\bin\Release\net10.0-android36.0\Sentry.Bindings.Android.dll
  Sentry.Bindings.Android -> C:\Users\jpnurmi\Projects\sentry\sentry-dotnet\src\Sentry.Bindings.Android\bin\Release\net9.0-android35.0\Sentry.Bindings.Android.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:15.32

@jamescrosswell
Copy link
Collaborator

Nice - I'm OK with that.

Any reason not to promote this from draft?

@jpnurmi jpnurmi marked this pull request as ready for review November 4, 2025 21:24
@jpnurmi
Copy link
Collaborator Author

jpnurmi commented Nov 4, 2025

Oops, I forgot. I had planned to re-run the win-x64 more just to be sure, but at least it succeeded 4 times in a row so far.

Copy link
Collaborator

@jamescrosswell jamescrosswell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jamescrosswell jamescrosswell merged commit d95347e into version6 Nov 5, 2025
88 checks passed
@jamescrosswell jamescrosswell deleted the build/maven-artifact branch November 5, 2025 01:17
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.

Frequent XA4236: Cannot download Maven artifact errors in CI

3 participants