Skip to content

feat: add topic pub/sub dashboard view#417

Merged
pratyush618 merged 1 commit into
masterfrom
feat/pubsub-dashboard
Jul 12, 2026
Merged

feat: add topic pub/sub dashboard view#417
pratyush618 merged 1 commit into
masterfrom
feat/pubsub-dashboard

Conversation

@pratyush618

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a Topics view to the dashboard for pub/sub observability
  • Topics list: subscription count, total backlog, dead-letter depth per topic
  • Topic detail: per-subscription task, queue, active/paused and durable/ephemeral badges, pending/running/dead counts, and oldest-pending age
  • Pause, resume, and unsubscribe actions on each subscription

Changes

  • Server: handlers/topics.py (GET /api/topics aggregation, GET /api/topics/:topic detail, pause/resume/unsubscribe routes; adds the DELETE 2-capture route table), backed by queue.topic_stats()
  • SPA: features/topics/ feature folder (api, hooks with the shared refresh interval, tables) plus list and detail routes and a Topics nav entry
  • Read-only path plus actions; polling via the existing refresh-interval convention

Test plan

  • Server: aggregation math, detail filtering, unknown-topic empty, pause/resume, unsubscribe
  • SPA: typecheck, lint, tests, build all green

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bdb7c7c5-070b-4dc6-a190-9f8adede8b02

📥 Commits

Reviewing files that changed from the base of the PR and between 446d140 and 51086ef.

📒 Files selected for processing (16)
  • dashboard/src/components/layout/nav-config.ts
  • dashboard/src/features/topics/api.ts
  • dashboard/src/features/topics/components/index.ts
  • dashboard/src/features/topics/components/subscriptions-table.tsx
  • dashboard/src/features/topics/components/topics-table.tsx
  • dashboard/src/features/topics/derived.test.ts
  • dashboard/src/features/topics/derived.ts
  • dashboard/src/features/topics/hooks.ts
  • dashboard/src/features/topics/index.ts
  • dashboard/src/lib/api-types.ts
  • dashboard/src/routes/topics.tsx
  • dashboard/src/routes/topics_.$topic.tsx
  • sdks/python/taskito/dashboard/handlers/topics.py
  • sdks/python/taskito/dashboard/routes.py
  • sdks/python/taskito/dashboard/server.py
  • sdks/python/tests/dashboard/test_topics_api.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/pubsub-dashboard

Comment @coderabbitai help to get the list of available commands.

List topics with subscription count, backlog, and DLQ depth; drill into a
topic for per-subscription backlog, running, dead, and oldest-pending age,
with pause/resume/unsubscribe actions. Backed by topic_stats().
@pratyush618
pratyush618 force-pushed the feat/pubsub-dashboard branch from 741fb2f to 51086ef Compare July 12, 2026 10:59
@pratyush618
pratyush618 merged commit 4aca74b into master Jul 12, 2026
27 checks passed
@pratyush618
pratyush618 deleted the feat/pubsub-dashboard branch July 12, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant