stack/apps
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
..
backend Upgrade to Next.js 16.2 2026-04-14 02:30:24 -07:00
dashboard Fix lint 2026-04-14 09:19:18 -07:00
dev-launchpad chore: update package versions 2026-04-13 19:29:35 -07:00
e2e Skip analytics init on apps without persistent token store (#1336) 2026-04-14 09:43:37 -07:00
hosted-components chore: update package versions 2026-04-13 19:29:35 -07:00
mock-oauth-server chore: update package versions 2026-04-13 19:29:35 -07:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00