Charis
27e6259a39
chore(studio): remove legacy status banner and incidentIoStatusPage flag ( #51852 )
...
## Summary
The incident.io status page is now the only status banner for everyone,
so the legacy status banner path is removed:
- Removed the `incidentIoStatusPage` ConfigCat flag. The incident.io
path is unconditional.
- Deleted the legacy status banner code (`StatusPageBanner` and its
utils/visibility hook) and its tests.
- Deleted the legacy API endpoints `/api/incident-banner`,
`/api/incident-status`, and `/api/status-override` (pages, app, and
routes variants), along with their data hooks, query keys, and lib
helpers.
- Removed `STATUSPAGE_*` env vars from the Turbo config and the
`INCIDENT_BANNER_DISMISSED_IDS` local storage key from
`packages/common`.
- Updated the AI tools and SQL generation endpoint that read the flag.
`NEXT_PUBLIC_ONGOING_INCIDENT` / the `ongoingIncident` override is kept.
The `incident_status_cache` table and its migration are intentionally
untouched. Studio no longer reads it, and dropping it is a separate
cleanup.
## Testing
- Studio typecheck passes.
- Related vitest suites pass (414 tests).
2026-10-16 14:18:32 -04:00
..
2026-04-03 09:15:57 +02:00
2026-04-03 09:15:57 +02:00
2026-09-11 12:17:49 +08:00
2026-08-31 10:55:23 +08:00
2026-09-25 12:20:23 -05:00
2026-08-06 16:06:38 +07:00
2026-08-13 09:48:13 +02:00
2026-09-21 16:38:37 +02:00
2026-09-21 16:38:37 +02:00
2026-09-11 12:17:49 +08:00
2026-09-29 17:51:14 +00:00
2026-09-14 19:16:41 +00:00
2026-04-03 09:15:57 +02:00
2026-10-03 20:34:14 +00:00
2026-10-06 14:24:50 +02:00
2026-09-29 13:54:13 -07:00
2026-04-03 09:15:57 +02:00
2026-08-13 09:48:13 +02:00
2026-10-06 21:34:36 +08:00
2026-08-25 07:43:45 -06:00
2026-07-24 16:43:00 +08:00
2026-06-16 00:07:16 +08:00
2026-09-11 12:17:49 +08:00
2026-06-17 19:15:54 +08:00
2026-06-16 00:07:16 +08:00
2026-06-16 00:07:16 +08:00
2026-09-23 14:38:40 +08:00
2026-07-09 17:09:03 +08:00
2026-08-25 07:43:45 -06:00
2026-06-16 00:07:16 +08:00
2026-07-09 17:09:03 +08:00
2026-04-03 09:15:57 +02:00
2026-07-31 16:18:25 +08:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-06-16 00:07:16 +08:00
2026-07-24 08:07:08 +02:00
2026-10-05 16:20:50 +08:00
2026-09-30 10:34:26 +00:00
2026-07-09 17:09:03 +08:00
2026-04-03 09:15:57 +02:00
2026-08-27 08:52:52 +00:00
2026-10-09 16:28:49 +08:00
2026-09-11 12:17:49 +08:00
2026-05-18 09:47:59 +02:00
2026-09-11 12:17:49 +08:00
2026-09-14 13:34:24 +00:00
2026-06-09 12:18:52 +02:00
2026-10-16 16:22:13 +02:00
2026-06-23 11:16:58 -04:00
2026-07-09 17:09:03 +08:00
2026-08-31 10:55:23 +08:00
2026-09-21 16:38:37 +02:00
2026-09-15 12:50:56 +02:00
2026-09-11 12:17:49 +08:00
2026-10-13 17:25:50 +02:00
2026-09-15 11:16:47 +02:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-04-03 09:15:57 +02:00
2026-10-15 11:31:46 +02:00
2026-10-08 07:38:53 +00:00
2026-09-15 12:50:56 +02:00
2026-06-23 21:14:27 +00:00
2026-06-16 00:07:16 +08:00
2026-10-16 14:18:32 -04:00
2026-09-11 12:17:49 +08:00
2026-10-15 20:17:56 +03:00
2026-10-06 21:34:36 +08:00
2026-07-31 15:26:37 -04:00
2026-10-12 11:28:12 +08:00
2026-10-13 11:06:49 +08:00
2026-08-14 15:09:29 +07:00
2026-09-14 19:16:41 +00:00
2026-09-28 15:17:24 +08:00
2026-09-21 09:23:02 +02:00
2026-09-18 11:32:48 +08:00
2026-09-24 10:30:25 +02:00
2026-09-15 12:50:56 +02:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-10-15 12:22:16 +03:00
2026-09-21 16:38:37 +02:00
2026-08-27 17:07:58 +02:00
2026-10-13 17:14:30 +02:00
2026-09-15 12:50:56 +02:00
2026-09-23 09:44:04 +02:00
2026-09-21 16:38:37 +02:00
2026-10-15 10:03:47 +02:00
2026-10-06 21:34:36 +08:00
2026-10-14 19:24:36 +00:00
2026-08-25 07:43:45 -06:00
2026-05-27 15:19:54 +08:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-09-15 21:46:45 +10:00
2026-10-05 16:20:50 +08:00
2026-07-09 17:09:03 +08:00
2026-09-17 14:17:00 +10:00
2026-08-27 17:07:58 +02:00
2026-01-22 11:17:49 -05:00
2026-10-07 16:15:57 +02:00
2026-10-07 16:15:57 +02:00
2026-03-16 11:22:30 +01:00
2026-04-03 09:15:57 +02:00
2026-10-07 16:15:57 +02:00
2026-09-10 16:45:54 +08:00
2026-06-12 11:16:12 -06:00
2026-06-16 08:02:04 -06:00
2026-07-24 08:07:08 +02:00
2026-10-06 21:34:36 +08:00