stack/packages
BilalG1 2af2a591b4
Skip analytics init on apps without persistent token store (#1336)
Owned admin apps are constructed with `tokenStore: null`, which caused
EventTracker/SessionRecorder flushes to throw from
_ensurePersistentTokenStore() after #1331 removed the silencing.

<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Improved analytics stability and privacy by restricting session
recording and event tracking to environments with required persistent
storage.
* **Tests**
* Adjusted a few end-to-end tests to skip when running against a local
emulator to reduce spurious failures.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-14 09:43:37 -07:00
..
dashboard-ui-components chore: update package versions 2026-04-13 19:29:35 -07:00
init-stack chore: update package versions 2026-04-13 19:29:35 -07:00
js chore: update package versions 2026-04-13 19:29:35 -07:00
react chore: update package versions 2026-04-13 19:29:35 -07:00
stack chore: update package versions 2026-04-13 19:29:35 -07:00
stack-cli chore: update package versions 2026-04-13 19:29:35 -07:00
stack-sc chore: update package versions 2026-04-13 19:29:35 -07:00
stack-shared chore: update package versions 2026-04-13 19:29:35 -07:00
stack-ui chore: update package versions 2026-04-13 19:29:35 -07:00
template Skip analytics init on apps without persistent token store (#1336) 2026-04-14 09:43:37 -07:00