Repository navigation
Description
Parent: #8147
Summary
Add a settings UI for the inbound queues: per-queue counts, dead letters, and redrive, on top of the inbound.stats, inbound.dead and inbound.redrive RPCs.
Problem
#8136 added the RPCs and the InboundDeferred / InboundDeadLettered / InboundEventDropped events, but nothing in the app shows them. A dead-lettered event is invisible unless someone calls the RPC by hand.
Solution
- A settings panel (shadcn primitives from
app/src/components/ui/) listing each queue's ready / delayed / leased / dead counts. - A dead-letter list with reason and a redrive button.
- A toast on
InboundDeadLettered. - Strings through
useT()with translations for every locale.
Acceptance criteria
- Stats — the panel shows live counts from
inbound.stats. - Dead letters — listed with reason; redrive moves one back and the count updates.
- Disabled state — with the component off, the panel says so instead of erroring.
- E2E — a mocked desktop E2E spec under
app/test/e2e/specs/. - Diff coverage ≥ 80% — the implementing PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by
.github/workflows/ci-fast.yml).
Related
Part of #8147. Builds on #8136 (inbound domain, tinyeventqueues v0.1.2) and tinyhumansai/tinyeventqueues#6.
Audit findings (2026-10-20)
- No code in
app/srccallsinbound.*yet. - Where it goes: a new panel under
app/src/components/settings/panels/. Its neighbours there areComposioTriagePanel.tsx(161 LOC, embedded inComposioPanel.tsx:49),EventLogPanel.tsxandDeveloperOptionsPanel.tsx. It also needs a route insettingsRouteElements.tsx(next toevent-log, ~L187) and an entry insettingsRouteRegistry.ts(~L503-505). - What it can show today:
inbound.statsreturns queue depths and five totals only. Per-reason, per-source and per-lane counts come from [inbound-queues] stats: outcome counts by reason, source and lane; record lost context senamakel/tinyeventqueues#5.
Agent brief
Depends on: senamakel/tinyeventqueues#5 · Blocks: none · Parallel with: #8152, senamakel#515
Research first
- How
EventLogPanel.tsxsubscribes to core events; reuse it for the liveInboundDeadLetteredtoast.
Files to consider
- Read:
app/src/components/settings/panels/EventLogPanel.tsx,ComposioTriagePanel.tsx,app/src/components/settings/settingsRouteElements.tsx:180-195,settingsRouteRegistry.ts:495-510,crates/openhuman-core/src/inbound/schemas.rs - Change: a new
InboundQueuesPanel.tsx(shadcn primitives fromapp/src/components/ui/), the route and registry, the locale files, thevendor/tinyeventqueuesgitlink for the [inbound-queues] stats: outcome counts by reason, source and lane; record lost context senamakel/tinyeventqueues#5 release - Tests:
InboundQueuesPanel.test.tsx, a spec underapp/test/e2e/specs/
Workflow: implementing-an-epic step.
Subagents: tdd-implementer (Sonnet), then code-reviewer.
Gates: pnpm typecheck · pnpm lint · pnpm test -- InboundQueuesPanel · pnpm i18n:check · pnpm i18n:english:check
Activity
M3gA-Mind commentedon Nov 16, 2026
Re-checked on current main: not started. The core already has the
inbound.stats,inbound.deadandinbound.redriveRPCs and publishesInboundDeadLettered, but nothing in the app calls them or listens for the event. The RPC side is ready for this panel. Keeping it open as part of #8147.