Skip to content

Native crash-handler test coverage - #222

Merged
melekr merged 20 commits into
apk/native_startup_anr_fixfrom
apk/native_startup_test_coverage
Aug 13, 2026
Merged

Native crash-handler test coverage#222
melekr merged 20 commits into
apk/native_startup_anr_fixfrom
apk/native_startup_test_coverage

Conversation

@melekr

@melekr melekr commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Expand native crash-handler test coverage.

Adds regression coverage and operational improvements for the native integration changes in #218.
The crash-handler path-resolution algorithm remains unchanged.

Changes

  • Added result-returning tryEnableNativeIntegration(...) overloads while preserving the existing void APIs.
  • Added clean-process tests for failed setup and guarded dump calls.
  • Added dedicated-process nonfatal, fatal/recovery, and disable/re-enable lifecycle tests.
  • Added bounded GUID and exact-message report queries with duplicate detection.
  • Added API 21/22 and 16 KB runtime compatibility lanes.
  • Added Play-style split-install resolution and child-handler loading coverage.
  • Added stable native diagnostic codes that omit exception messages, arguments, and resolved paths.
  • Added an example-app-only startup trace harness with a generated high-entry-count fixture.
  • Added safe checks and tests.

Compatibility

  • No public API removals. Existing void enableNativeIntegration(...) methods retain their signatures.
  • Result-returning methods are additive.

ref: BT-7460

@melekr melekr self-assigned this Aug 12, 2026
@melekr
melekr changed the base branch from master to apk/native_startup_anr_fix August 12, 2026 22:44
@melekr melekr changed the title Apk/native startup test coverage Native crash-handler test coverage Aug 12, 2026
@melekr
melekr marked this pull request as ready for review August 13, 2026 19:28
@melekr
melekr merged commit f0d7fa5 into apk/native_startup_anr_fix Aug 13, 2026
11 checks passed
@melekr
melekr deleted the apk/native_startup_test_coverage branch August 13, 2026 19:33
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