Skip to content

ci: make Android preview jobs informational, not a merge gate - #91

Merged
kolkov merged 1 commit into
mainfrom
ci/android-preview-nonblocking
Oct 15, 2026
Merged

kolkov merged 1 commit into
mainfrom
ci/android-preview-nonblocking

Conversation

@kolkov

@kolkov kolkov commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Android arm64 is a preview platform. docs/ANDROID.md: "physical-device startup validation is still required before this can be described as released Android support". Yet its CI jobs gate every merge:

  • android-cross is in CI Success's needs (added with the platform in feat: add Android arm64 Bionic support #62);
  • both Android arm64 (Go 1.25.12) and Android arm64 (Go 1.26.5) are also required status checks in branch protection.

So an Android-only failure blocks all pull requests, including ones that don't touch Android code at all (which is isolated behind android && arm64 build tags). It just happened: android-actions/setup-android@v3 requested the tools package, which Google removed from the SDK repository, so both jobs failed in "Set up Android SDK" before any goffi code ran, and that alone left #90 BLOCKED. #85 (now merged) fixes the job itself. The next outside breakage of the Android toolchain would block every PR the same way.

Change

  • ci.yml: remove android-cross from CI Success's needs and from its summary output. Add a comment on the job saying it's informational while Android is in preview, why it deliberately does not use continue-on-error (that would paint a broken Android build green), and when to put it back (after the physical-device validation docs/ANDROID.md requires).
  • docs/ANDROID.md: one paragraph on the same policy.
  • CHANGELOG.md: entry under [Unreleased] / Changed.

The jobs still run on every PR and their result stays visible. Only the gate changes.

Maintainer follow-up

Branch protection still lists both Android arm64 (Go …) checks as required. They'll be removed from the required set together with this change.

cc @besmpl: you maintain the Android platform. This doesn't change the probe or its matrix, only whether it blocks merges during the preview.

Android arm64 is a preview platform (docs/ANDROID.md: physical-device
startup validation is still pending), but android-cross was in CI
Success's needs, so an Android-only failure blocked every pull request,
including ones that do not touch Android code. The October 2026
setup-android breakage (fixed in #85) showed the cost.

Remove android-cross from CI Success's needs and its summary. The jobs
still run on every PR and their result stays visible. continue-on-error
is deliberately not used: it would paint a broken Android build green.
Document the policy and the condition for re-gating in ci.yml and
docs/ANDROID.md.
@kolkov kolkov added priority: high Important for next release type: enhancement Improve existing feature labels Oct 15, 2026
@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov kolkov added area: ci CI workflows, check scripts, branch protection platform: android Android (Bionic) - preview platform labels Oct 15, 2026
@kolkov
kolkov merged commit d913462 into main Oct 15, 2026
17 checks passed
@kolkov
kolkov deleted the ci/android-preview-nonblocking branch October 15, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, check scripts, branch protection platform: android Android (Bionic) - preview platform priority: high Important for next release type: enhancement Improve existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant