feat(status): surface major service incidents - #6987
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview The notice polls the public status JSON every 60s (CSP Reviewed by Cursor Bugbot for commit 6fccacd. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThe PR adds a hosted-workspace sidebar notice for major and critical Sim service incidents while keeping the notice hidden when status data is unavailable.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/status-notice/status-notice.tsx | Renders the incident notice only for major or critical status data and safely remains hidden when the optional query fails. |
| apps/sim/hooks/queries/status-page.ts | Defines non-retrying status polling with cancellation, stale-time, and refresh behavior. |
| apps/sim/lib/status-page.ts | Fetches the public status summary and strictly validates its response. |
| apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx | Mounts the notice below the scrollable workflow list for hosted or preview environments. |
| apps/sim/lib/core/security/csp.ts | Allows browser connections to the Sim status origin. |
Reviews (2): Last reviewed commit: "fix(status): isolate status endpoint fai..." | Re-trigger Greptile
| <div className='flex-shrink-0 px-2 py-2'> | ||
| <StatusNotice preview={isStatusNoticePreviewEnabled} /> | ||
| </div> | ||
| ) : null} |
There was a problem hiding this comment.
Empty status spacer always reserved
Low Severity
The hosted sidebar always mounts a px-2 py-2 wrapper around StatusNotice. When the notice returns null for loading, operational, or minor status, that empty padded div still occupies vertical space above the footer on every expanded hosted session.
Reviewed by Cursor Bugbot for commit 165db31. Configure here.
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
1 issue from previous review remains unresolved.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 6fccacd. Configure here.


Summary
Type of Change
Testing
Checklist