Repository navigation
fix: Android fails to resolve native sources from the Pub cache on Windows (#177) - #183
Merged
efraespada merged 12 commits intoOct 29, 2026
Conversation
vypbot
self-requested a review
October 29, 2026 09:31
1 task done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #183 +/- ##
========================================
Coverage 77.36% 77.36%
========================================
Files 14 14
Lines 1109 1109
========================================
Hits 858 858
Misses 251 251
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Copilot approval · Human review neededStatus: A protected workflow, policy, or trust-boundary file changed. Technical evidenceRevision: |
1 task done
…lator prerequisites
efraespada
marked this pull request as ready for review
October 29, 2026 11:59
Contributor
Bugbot: review complete
|
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android Gradle now resolves the exact
zstandard_nativepackage selected by the consuming app or workspace and passes its source path to CMake. This fixes Pub-cache builds on Windows while preserving explicit overrides and repository-local builds.What changed
.dart_tool/package_config.json, including workspace configurations and relative or absolute file URIs.ZSTD_ROOToverrides and validate the selected source; invalid configured dependencies fail with a diagnostic instead of falling back to another cached package.Validation
android/native_sources.gradleand reports zero warnings.Review notes
The Windows job verifies source discovery and compilation. Complete Flutter and JNI execution remains in the Linux Android matrix. Windows software-emulator trials did not achieve a stable boot; that infrastructure needs separate validation before adding mandatory runtime checks.
The new workflow uses the existing Windows X64 runner group, only same-repository code,
contents: read, and checkout without persisted credentials. Its Python/Android tools use reviewed archive checksums; SDK, Gradle state and fixtures are job-local. Action references use version tags. Copilot installation files, policy and release workflows are unchanged.Closes #177