feat: Add source scoping to dashboard filters#2331
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 384bfe0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 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 |
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
E2E Test Results✅ All tests passed • 189 passed • 3 skipped • 1194s
Tests ran across 4 shards in parallel. |
Deep ReviewScope: PR #2331 — 23 files, ~1200 net lines. Adds Intent: Source-scope dashboard filters so a filter (e.g. ✅ No critical issues found. P0/P1 bar (data loss, auth bypass, guaranteed-crash regression on the happy path) not met. The PR's core mechanic is well-covered by unit and e2e tests for the auto-resolve happy path, and the round-trip on the external API is asserted. Findings below are recommended fixes and nits — none should block merge once the author triages. 🟡 P2 -- recommended
🔵 P3 nitpicks (6)
Pre-existing (not introduced by this PR, surface only)
Reviewers (10): correctness, testing, maintainability, project-standards, agent-native, api-contract, adversarial, kieran-typescript, julik-frontend-races, learnings-researcher. Testing gaps:
|
1244112 to
1712c1d
Compare
1712c1d to
523c74f
Compare
Summary
This PR allows dashboard filters to be scoped to particular sources. All tiles on the dashboard that use one of the selected sources will inherit the filter value. The existing behavior (apply filter to all tiles, regardless of source) remains the default.
This is useful for multi-source dashboards where a filter (eg. SpanName) is compatible with some sources (eg. Traces) and not others (eg. Logs).
This PR includes
Screenshots or video
How to test on Vercel preview
This can mostly be tested in the preview environment
Locally, you can test the MCP updates and external dashboards updates.
References