Repository navigation
Remove ENABLE_ALERT_DETAILS flag, enabling alert details everywhere - #3879
Conversation
Co-authored-by: Drew Davis <pulpdrew@gmail.com>
🦋 Changeset detectedLatest commit: 11e64a2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
PR Review
1 finding(s): 🔴 0 P0/P1 · 🟡 0 P2 · 🔵 1 P3 No inline comments. 1 P3 folded at the bottom. 🔵 1 P3 — no action needed before merge
Priority comes from a separate grading pass over the finished review. P3 is folded here instead of posted inline. No finding blocks merge automatically; a maintainer decides. |
🔵 Tier 2 — Low RiskSmall, isolated change with no API route or data model modifications. Why this tier:
Review process: AI review + quick human skim (target: 5–15 min). Reviewer validates AI assessment and checks for domain-specific concerns. Stats
|
E2E Test Results✅ All tests passed • 488 passed • 1 skipped • 1283s
Tests ran across 4 shards in parallel. |
Deep Review✅ No critical issues found. This is a clean, complete removal of the 🟡 P2 — recommended
🔵 P3 nitpicks (1)
Reviewers (5): correctness, testing, maintainability, project-standards, kieran-typescript. Testing gaps:
No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
Summary
Removes the NEXT_PUBLIC_ENABLE_ALERT_DETAILS / ENABLE_ALERT_DETAILS feature flag, as this feature has already been enabled in cloud deployments and can now be enabled everywhere.
Closes HDX-6244
Note
Low Risk
Feature un-gating and link/routing cleanup only; no auth, API, or data-handling changes.
Overview
Removes the
NEXT_PUBLIC_ENABLE_ALERT_DETAILSgate so/alerts/:idworks in every deployment (private, OSS, LogHouse, etc.), matching what cloud already had.The
IS_ALERT_DETAILS_ENABLEDconstant and all conditional UI are gone:AlertDetailPageno longer redirects to/alerts, alert names on the list always link to/alerts/:id, post-create “View alert” links always use the detail URL when an id exists, andAlertRowMenualways gets the source URL for its secondary link. E2E (playwright.config.ts) anddocker-compose.ymlno longer document or set the env var;hdxDebugno longer listsalertDetailsin the feature snapshot.Reviewed by Cursor Bugbot for commit 11e64a2. Bugbot is set up for automated code reviews on this repo. Configure here.