Skip to content

fix: restore Aura emulator discovery and control - #565

Closed
daniele21 wants to merge 4 commits into
devfrom
fix/aura-emulator-e2e-receiver-threading
Closed

daniele21 wants to merge 4 commits into
devfrom
fix/aura-emulator-e2e-receiver-threading

Conversation

@daniele21

@daniele21 daniele21 commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Outcome

Restore truthful Aura↔Harnex emulator control for the independently signed two-APK lane.

Two independent fixture defects were exposed by Aura W10:

  • the emulator-only shell bridge handled Room-backed control-plane commands synchronously from BroadcastReceiver.onReceive(), causing Cannot access database on the main thread;
  • the phone-test manifest did not declare Aura release/debug packages in <queries>, so Android package visibility hid Aura from Harnex startup discovery and the Aura schema/category assignments were never seeded.

Repair

  • run the shell-only DUMP bridge command after goAsync() on a short-lived background thread and fail closed on handler exceptions;
  • declare com.staituned.aura and com.staituned.aura.debug as package-visibility queries alongside RedactGuard;
  • add a unit regression proving observed Aura package aliases seed both Aura use-case specs as PENDING with package-bound signer identities.

Boundary / invariants

  • Production Binder/runtime/control-plane semantics are unchanged.
  • The shell bridge remains emulator-only, android.permission.DUMP protected and absent from production variants.
  • Aura remains independently signed and starts PENDING; explicit authorization is still required before live Binder trust.
  • Package and signer matching remain exact; the manifest query only makes the installed package observable to Harnex.
  • No cloud fallback or content logging is introduced.

Validation

Candidate: fae66fc0c495f184944c3ffc905eeb0dbc595f2c, base dev@d60c0ff9560d6eed225e4fd6e02e746f18625935.

Repository health is green. Selector-owned remote preflight /preflight auto is running at integration/strong because the Android manifest/package boundary changed. The discriminating acceptance gate remains Aura API 36 two-APK execution against this exact Harnex candidate with Aura's hardened AndroidJUnitRunner parsing.

Copy link
Copy Markdown
Owner Author

/preflight auto

Copy link
Copy Markdown
Owner Author

/preflight auto

@daniele21 daniele21 changed the title fix: keep Aura emulator shell controls off Room main thread fix: restore Aura emulator discovery and control Sep 10, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #567, which reapplies the same 3-file regression repair on the current dev release-candidate baseline. Keeping this stale-base PR out of the release path.

@daniele21 daniele21 closed this Sep 10, 2026
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.

1 participant