Skip to content

Keep release-target native packaging from breaking the APK workflow's Robolectric tests #737

Closed

Description

@lumenpearson

The first actual 5a signed/native workflow failed before uploading an APK.

Observed run: https://github.com/lumenpearson/lessons/actions/runs/43209912625
Source: bc836f8; exact expected_commit, build_type=release, native_check=true. app:testReleaseUnitTest completed711 cases/159 failures; BUILD FAILED after13m32s. Ordinary exact-master CI43208336108 and source-matched production passed. No signed artifact, installation or native call occurred.

A single unchanged-source local TermLabelTest reproduction with nativeCheck=true failed4/4 in41.02s before app assertions. Full XML reports Unable to resolve activity androidx.activity.ComponentActivity. The release AndroidTest target changes Robolectric's manifest while Compose's host activity comes from debugImplementation(ui-test-manifest).

Correction: keep the complete ordinary JVM test invocation without nativeCheck, then apply the property only to release/test APK packaging in a second invocation. Ordinary APKs retain their existing combined task graph. No test removal, production test activity, production keep rule, signing/source relaxation or extra CI job.

The actual committed Build shell is executed with a recording Gradle stub: new7 cases held ordinary/native arguments, missing signing and failure short-circuit. Original shell RED2/5pass; corrected shell GREEN7; complete test_ci_required.py24passed9.65s. Ruff and mypy242 passed. Full fresh Android/server gates, independent delta review, dev/master delivery and actual signed/native proof remain pending.

Part of open #273/M11 and its remaining5a gate. Project6 fields/readback remain unavailable; no scope upgrade/browser/other-session workaround or board completion claim.

Activity

  1. added a commit that references this issue on Nov 12, 2026
    cb3364c
  2. moved this from Now to In progress in lessonson Nov 12, 2026
  3. moved this from In progress to Done in lessonson Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions