You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cms): use CORE_SYNC_ENABLED for env detection and persist sync stats (#632)
* fix(cms): use CORE_SYNC_ENABLED for production detection and fix alert UI
NODE_ENV is not reliably set to "production" on Railway. Switch to
CORE_SYNC_ENABLED which is the explicit production flag already used
by the cron system. Remove closeLabel from dev-mode alerts to hide
the non-functional X button and add padding underneath.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* fix(cms): use CORE_SYNC_ENABLED for env detection, persist sync stats, fix alert UI
- Switch production detection from NODE_ENV to CORE_SYNC_ENABLED which
is the explicit production flag already used by the cron system
- Add created/updated/deleted/errors columns to core_sync_states table
so row counts persist across server restarts
- Auto-migrate existing tables to add the new stats columns
- Remove closeLabel from dev-mode alerts to hide non-functional X button
and add padding underneath
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
0 commit comments