Skip to content

Comments

chore(ci): Refine analytics task filtering and improve release debugging#4624

Merged
jamesarich merged 1 commit intomainfrom
fix/releasebuilds
Feb 22, 2026
Merged

chore(ci): Refine analytics task filtering and improve release debugging#4624
jamesarich merged 1 commit intomainfrom
fix/releasebuilds

Conversation

@jamesarich
Copy link
Collaborator

This commit refines the logic for disabling analytics-related tasks for F-Droid builds and adds debugging steps to the release workflow.

The AnalyticsConventionPlugin.kt has been updated to use more specific task name filters. Previously, any task containing "fdroid" was disabled. Now, the logic specifically targets tasks containing "GoogleServices", "Crashlytics", "datadog", or "uploadMapping" in conjunction with "fdroid". This improves build configuration performance by avoiding overly broad task filtering.

Additionally, the release.yml GitHub Actions workflow has been enhanced. It now includes a step to list the contents of the app/build/outputs/ directory for both the "internal" and "fdroid_build" jobs. This will provide better visibility into the generated build artifacts for easier debugging of the release process.

This commit refines the logic for disabling analytics-related tasks for F-Droid builds and adds debugging steps to the release workflow.

The `AnalyticsConventionPlugin.kt` has been updated to use more specific task name filters. Previously, any task containing "fdroid" was disabled. Now, the logic specifically targets tasks containing "GoogleServices", "Crashlytics", "datadog", or "uploadMapping" in conjunction with "fdroid". This improves build configuration performance by avoiding overly broad task filtering.

Additionally, the `release.yml` GitHub Actions workflow has been enhanced. It now includes a step to list the contents of the `app/build/outputs/` directory for both the "internal" and "fdroid_build" jobs. This will provide better visibility into the generated build artifacts for easier debugging of the release process.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions bot added the bugfix PR tag label Feb 22, 2026
@jamesarich jamesarich merged commit 8b2a9d5 into main Feb 22, 2026
6 of 7 checks passed
@jamesarich jamesarich deleted the fix/releasebuilds branch February 22, 2026 13:57
@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.03%. Comparing base (93775a9) to head (472e8dc).
⚠️ Report is 9 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##            main    #4624       +/-   ##
==========================================
+ Coverage   3.40%   17.03%   +13.62%     
==========================================
  Files        212       81      -131     
  Lines       6630     3921     -2709     
  Branches     921      711      -210     
==========================================
+ Hits         226      668      +442     
+ Misses      6333     3128     -3205     
- Partials      71      125       +54     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant