Skip to content

Bug 1997631 - Add telemetry for database loads and migrations to Nimbust SDK [ci full]#7245

Merged
freshstrangemusic merged 1 commit intomainfrom
freshstrangemusic/push-rtpnswuxotyn
Feb 27, 2026
Merged

Bug 1997631 - Add telemetry for database loads and migrations to Nimbust SDK [ci full]#7245
freshstrangemusic merged 1 commit intomainfrom
freshstrangemusic/push-rtpnswuxotyn

Conversation

@freshstrangemusic
Copy link
Member

@freshstrangemusic freshstrangemusic commented Feb 25, 2026

There are now two new events, nimbus_events.database_load, which is emitted every time we attempt to load the database (i.e., once per session), and nimbus_events.database_migration, which is emitted every time we attempt a database migration. These events should give us insight into how often we are experiencing database corruption leading to enrollment state being dropped.

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch 2 times, most recently from 349a45a to 19d4b71 Compare February 25, 2026 21:05
@freshstrangemusic
Copy link
Member Author

We can't merge this until I write a PR for iOS.

Copy link
Contributor

@relud relud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some clarifying questions, the rest lgtm

@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch from 19d4b71 to 5f97664 Compare February 26, 2026 15:52
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch 2 times, most recently from a2c9e5f to b63c68a Compare February 26, 2026 17:16
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch 2 times, most recently from 851f66a to 6f64c58 Compare February 27, 2026 17:36
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch from 6f64c58 to 704a5a2 Compare February 27, 2026 17:39
@freshstrangemusic freshstrangemusic changed the title Bug 1997631 - Add telemetry for database loads and migrations to Nimbust SDK Bug 1997631 - Add telemetry for database loads and migrations to Nimbust SDK [ci full] Feb 27, 2026
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch 2 times, most recently from 44d423d to 4800f62 Compare February 27, 2026 19:15
…us SDK

There are now two new events, `nimbus_events.database_load`, which is
emitted every time we attempt to load the database (i.e., once per
session), and `nimbus_events.database_migration`, which is emitted every
time we attempt a database migration. These events should give us
insight into how often we are experiencing database corruption leading
to enrollment state being dropped.
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-rtpnswuxotyn branch from 4800f62 to bad08ab Compare February 27, 2026 20:55
@freshstrangemusic freshstrangemusic added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit 38c924c Feb 27, 2026
58 checks passed
@freshstrangemusic freshstrangemusic deleted the freshstrangemusic/push-rtpnswuxotyn branch February 27, 2026 22:14
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.

2 participants