Repository navigation
feat(app): SLO list page behind NEXT_PUBLIC_ENABLE_SLOS - #3801
alex-fedotyev wants to merge 1 commit into
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Duplicate code analysis1 new clone introduced by this PR.
If one of these duplicates a helper that already exists, import it instead jscpd compared this branch against |
E2E Test Results✅ All tests passed • 475 passed • 1 skipped • 1122s
Tests ran across 4 shards in parallel. |
Adds an SLOs page to the nav (beta, cloud only) when NEXT_PUBLIC_ENABLE_SLOS is true; with the flag off, the route goes to Search. The page lists the team's SLOs worst first, with the state, SLI, error budget left, burn rate and target each SLO stores, and polls them every minute. A summary counts the SLOs in each state, and a count filters the list to that state. An SLO without a stored status yet shows as pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5fc6b10 to
1144db1
Compare
🟡 Tier 3 — StandardIntroduces new logic, modifies core functionality, or touches areas with non-trivial risk. Why this tier:
Review process: Full human review — logic, architecture, edge cases. Stats
|
PR Review
6 finding(s): 🔴 0 P0/P1 · 🟡 4 P2 · 🔵 2 P3 None could be anchored to changed lines; they are listed below. 2 P3 folded at the bottom. Findings outside the changed lines
🔵 2 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. |
Deep Review✅ No critical issues found. This is an app-only, feature-flagged ( 🟡 P2 — recommended
🔵 P3 nitpicks (3)
Reviewers (10): correctness, adversarial, testing, maintainability, project-standards, kieran-typescript, frontend-races, agent-native, learnings-researcher, previous-comments. 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
Adds an SLOs page to the nav (beta, cloud only) when
NEXT_PUBLIC_ENABLE_SLOS is true; with the flag off, the route goes to
Search. The page lists the team's SLOs worst first, with the state, SLI,
error budget left, burn rate and target each SLO stores, and polls them
every minute. A summary counts the SLOs in each state, and a count filters
the list to that state. An SLO without a stored status yet shows as
pending.
Stack
Part 14 of 27 PRs in a GitHub stack (stack #3815). The header says this PR merges into the branch below it, but the stack's base is
main: merging a PR lands it and every PR below it onmain, one squashed commit each. Each diff is only its own change, and CI runs as if each PR targetsmain.Parts 1 to 6 are shared code, 7 to 13 the API and its MCP tools, and 14 to 27 the app. Everything ships behind
ENABLE_SLOS(API) andNEXT_PUBLIC_ENABLE_SLOS(app), both off by default.Screenshots or video
How to reproduce
Starting point:
yarn devon this branch (the pages need the API)..env.developmentturns onENABLE_SLOSandNEXT_PUBLIC_ENABLE_SLOS(parts 7 and 14). Use a trace or log source with data; the demo server works.On
main: there are no SLO pages.On this branch:
Test plan
How to test on Vercel preview
N/A: SLOs need the API, and the preview runs in local mode, where they are off.
References
[no-changeset: allow] The changeset for this piece is in part 27.
[no-story: allow] The new SLO components are page-level and fed by queries and form state, so this feature has no Storybook stories.
[as-cast: allow] The cast check matches the word "as" in comments and strings here; the diff has no
ascasts.