Skip to content

fix(bugsnag): file Test Lab devices under their own stage - #1759

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/bugsnag-test-lab-stage
Oct 12, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/bugsnag-test-lab-stage

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Play's pre-launch reports run every uploaded build on Firebase Test Lab, and their events arrived under the track's stage. Build 4804 alerted on Internal with a NoSuchMethodError from Play Billing and an NPE in OpenCodeExchange.streamRates, both from an x86_64 "Pixel 8 Pro" with 2 GB of memory.

  • Test Lab stage: when the firebase.test.lab system setting is "true", TraceInitializer reports the TestLab stage for both the initial config and the on-send override. The events stay searchable but fall outside alerts scoped to Internal or Production.
  • Missing native libraries: FlipcashErrorCallback probes jnidispatch and bugsnag-ndk through BaseDexClassLoader.findLibrary, which resolves a path without loading anything, and adds device.nativeLibsMissing when either is absent. 4804 crashed in LibSodiumInitializer on a Pixel 6 Pro that also failed to link Bugsnag's NDK and ANR plugins. These events are tagged, not dropped, because a real user can get the same incomplete install.

A Bugsnag alert that fires on every stage still needs a filter excluding TestLab.

Play's pre-launch reports run every uploaded build on Firebase Test Lab, and
their events arrived under the track's stage. Build 4804 alerted on Internal
with a NoSuchMethodError from Play Billing and an NPE in streamRates, both from
an x86_64 "Pixel 8 Pro" with 2 GB of memory. Devices with the
firebase.test.lab setting now report the TestLab stage, which keeps the events
searchable but outside the Internal and Production alerts.

Events from an install missing its native libraries are tagged
device.nativeLibsMissing rather than dropped. 4804 also crashed at startup on a
Pixel 6 Pro that could not load libjnidispatch.so or Bugsnag's own NDK plugin,
and a real user can end up with the same incomplete install.
@bmc08gt bmc08gt self-assigned this Oct 12, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Oct 12, 2026
@bmc08gt
bmc08gt merged commit eda1bcc into code/cash Oct 12, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant