Repository navigation
Conversation
Design for a redesigned estate Dashboard: an attention-first panel grid, estate throughput and backlog over a chosen range from one bounded cached per-caller read, per-system facts from the digest, and the most severe health cause first. ADR-0242 (proposed) supersedes ADR-0238 decisions 1 and 4. Includes a static mockup rendered from the real tokens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The cause shown for a Kafka or RabbitMQ cluster could be a degraded note when a critical one existed, because the checks appended notes in the order they ran. Notes are now ordered critical first, then degraded, then what could not be read, for Kafka, RabbitMQ and Artemis, so the first cause on the Clusters page and the Dashboard is the one that matters most. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 1 minute buckets A metric chart now draws every bucket of its window, so a stretch with no samples at all shows as a break in the line instead of the line running straight across it. The 15 minute range asks for 1 minute buckets, the sample floor, so its reads are no longer reported as adjusted. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ters it is given Co-Authored-By: Claude Opus 5.5 <[email protected]>
…re formatters Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ns can offer the same windows Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Dashboard changes only the text of what is already on screen when it refreshes. A finding that appears is no longer animated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ers they do not report Kafka and RabbitMQ do not report messages added, acknowledged or expired (and Kafka does not report messages in flight), but Rahdar stored those as 0, so the throughput sparklines drew a flat zero line as if traffic were nil. A metric a system's drivers do not declare is no longer stored, and the chart for it says "Not reported" instead of drawing a false zero. Old zero rows age out with retention. BREAKING CHANGE: recreate the database when upgrading. The cluster kind table gains a metrics column, edited in the baseline changeset until the first stable release, so an existing database does not migrate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The retention, minimum-step and point-cap rule moves to MetricWindow so the estate's charts can use the same rule as a cluster's metrics. No behaviour change for the metrics API. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…panel
Needs attention opens with a verdict sentence ("3 clusters need attention: 1 critical, 1 unreachable, 1 warning"),
then one row per finding with its cause, environment and how long it has stood. A state this server only first saw
reads "Seen 12m", and one with no known start reads "Since unknown". Eight rows show, with "Show N more" that keeps
focus on its control. A finding that arrives is announced politely and marked New; nothing animates. Every Dashboard
panel gets one header: a keyboard-reachable "About" explanation, its age, how much of the whole it shows and a link to
the full view. The panel is not on the page yet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
MetricSamples gains rateSeriesByCluster and gaugeTotalByCluster, which return each cluster's rate or gauge total per bucket for a list of clusters in one query (an empty list asks the database nothing). The one-cluster gauge total now delegates to the batched read, so both give the same figures. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GET /api/v1/alerts/firing/counts gains `since` on every entry: when the earliest open firing of that cluster (or of the installation) started. It is null when the caller may see only some of the firings, because the earliest could be one they may not see. The Dashboard uses it to say how long an alert has been firing. Also adds ClusterEnvironmentIndex.environmentNames, a one-query lookup of environment names by id. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd an estate history GET /api/v1/estate/overview now carries what the redesigned Dashboard needs: every cluster row lists its health causes most severe first (`healthNotes`, at most five, with the count left out), totals gain health counts, nodes, dead letters and firing alerts (the installation's own included), attention items say since when (an exact start for alerts and held operations, "first seen by this server" for health), and the environments of the listed clusters are named. The 200 clusters listed are the ones that most need attention, worst first, so a critical cluster is never cut for its name. New: GET /api/v1/estate/series?range=15m|1h|6h|24h|7d returns the estate's messages added, acknowledged and backlog per bucket with a previous-window baseline, the top five clusters, the rest summed, coverage, and every cluster left out with its cause (withheld, not reported, no samples, unreadable, beyond the 200 listed). One cached read serves every viewer of a range; an unknown range is a 400 `range-unknown`. BREAKING CHANGE: API clients of /api/v1/estate/overview must handle two changed shapes. `systems[].clusters[].inFlight` is now a Measure object (value, accuracy, reason) instead of a number or null, and is "unavailable: not reported" for a system that does not report messages in flight. `rate.state` has a new value, `NOT_REPORTED`, for a system that does not report messages added. The overview also gains new fields (`healthNotes`, `healthNotesTruncated`, `totals.health`, `totals.nodes`, `totals.deadLetters`, `totals.firingAlerts`, `environments`, `attention.items[].sinceKind`). The generated TypeScript and Java clients are regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ashboard-redesign Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ange in step with the picker Adds the estate history read (one request per range, refreshed no faster than its bucket, the old chart kept while another range loads), the Dashboard search hook that writes only the keys it is given, and a figure formatter that reads a measure the system does not report as that fact. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… a lazy slot reserve its exact shape ChartPanel gains a bare mode that keeps the plot's loading, error and empty states at the one chart height but leaves the frame and title to the screen around it. A lazy slot can now name the fallback it shows while its code loads, so a screen that knows its layout holds the space instead of a generic block. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…asks first The Dashboard now reads top to bottom as the questions an on-call operator asks: what needs attention and since when, the estate in seven figures, throughput and backlog over the range you pick, the clusters by system, the deepest backlogs and the recent changes. - A refresh changes text and never animates, and the page holds its shape while it loads. - Throughput and backlog have a range picker held in the address (15m to 7d), a dashed line for the previous window, a shaded stretch where nobody sampled, and notes for what was left out and why. The comparison appears only when both windows are well sampled. - Clusters are grouped by system with the ones that need attention first, as cards with their cause, since when and every figure. A cluster whose figures are stale says so beside its health and never shows a bare OK. Kafka says it has no dead letters and does not report messages in flight or added, never 0. - Healthy clusters are quiet one-line tiles, folded into one line per system above 96 (`?healthy=show` or `hide`). Filters for system, environment and health narrow only this panel and say so; `?view=table` is the full table with the environment column. - Totals now include cluster health, nodes that answer, dead letters and firing alerts. Alerting that is off says Off, never a count. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-cluster stub the new overview shape The Dashboard states the seed does not reach (healthy, mixed, 212 clusters, partial, history error, alerting off, Kafka only, filtered-empty, split by cluster, table view, 7 days) are captured on the real page with stated bodies. The unreachable Kafka cluster stub carries the causes and the in-flight measure the overview now has. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rd-redesign Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The rule sends exploration to an explorer agent on Haiku, but none existed, so sessions fell back to a model override. Add it as a read-only agent with no shell, beside the other four, and point the rule at it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y 30 seconds A cluster that was never contacted has no kinds in the database, and every metric check and every Dashboard digest asked the database again. The empty answer is now kept for 30 seconds, and replaced as soon as the cluster's kinds arrive, so the database is spared a query per read while such a cluster waits for its first contact. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hows The Dashboard used to read the cache of every cluster you can see before keeping the 200 that most need attention, so an estate of several hundred clusters took many seconds to open cold. Clusters are now ranked from what is cheap to read (node reachability, the stored health level and the firing alert counts), the 200 that most need attention are kept, and only those are read in full, then ranked again with their staleness. A cluster past the cut still counts in the health and node totals, from the same cheap inputs, and in the backlog total as a named estimate. Reads run side by side up to half the database pool, and the cheap standings are kept for 15 seconds so the Dashboard and its charts share them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…chine with one script scripts/qa-shots.sh starts the isolated QA stack with the demo's brokers and traffic, runs the estate sweep at 1920, 1440, 1280 and a 1024 tablet width, takes the README and site screenshots, takes the Dashboard again with one Kafka broker stopped, packs everything and can copy the archive to another host. The README and site shots are all 1440x900 now, so every picture has the same shape; a shot of a lower part of a page scrolls to its heading instead of growing. They are written under web/.shots by default (--out to change it). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…RabbitMQ registration QA_NO_BUILD=1 makes just qa-up reuse the image an earlier run built, and scripts/qa-shots.sh sets it unless QA_REBUILD=1, so a second run does not build again. A run that fails now leaves the stack up and the next run carries on from it. The seed's RabbitMQ registration is tried up to six times, because the nodes may still be joining when the stack reports healthy, and Rahdar's answer is printed when it never succeeds. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d it The demo and QA seeds register their Artemis, Kafka and RabbitMQ clusters through one helper, register_cluster in scripts/lib/signin.sh. It replaces a previous registration of the same name, tries a refused registration again for two minutes (the brokers may still be starting, or the previous registration still being removed) and prints Rahdar's answer when it never succeeds, instead of a Python KeyError. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ironment Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ka, RabbitMQ and Artemis The rahdar.dev home now follows one made-up order down a scroll-driven road through the three brokers: a Kafka record and its lag as an estimate, a RabbitMQ disk alarm that blocks every publisher, an Artemis request that got no reply and the SQL console that finds it. The reader then presses and holds the product's real 1.5 s button to delete the backlog, sees the audit rows it wrote, and the page pulls back to the estate Dashboard. A reader who scrolls past the hold sees the order still waiting. What changes for a reader of the site: - The home is built from VitePress components (layout road) instead of one static file, so it shares fonts, tokens and the light and dark switch with the docs. - Motion is CSS scroll-driven animation with an IntersectionObserver fallback and a designed still page under prefers-reduced-motion. No library, no third-party origin. - Docs links and buttons use one teal that passes AA on white (#0b7285; the old #0c8599 was 4.35:1), and the docs dark scheme moves to the home's night palette. - The Chinese and Persian homes say the same new things. - The MCP guide says that a confirmed message_action delete or retry is held where the approval gate is on. The build now runs scripts/check-home.ts first: it fails on an internal link of the home that resolves to no page, a quickstart that differs from the README line for line, an origin outside the allowlist, or an em dash, en dash or middle dot in copy. The product captures on the home are placeholders (the existing 16:10 set) until the redesigned captures replace them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… built from VitePress components ADR-0243 supersedes the story of ADR-0217 and the single hand-written file of ADR-0121, and keeps ADR-0217's rules: no third-party origin, self-hosted fonts, a complete still page under reduced motion, and the 1.5 s hold in every tier. Both older records point to it and the index lists it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…MQ pages, and skip a finished sweep Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ion shots in the shell's own scroller Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ll-back are repaired The rahdar.dev home story had visible defects in review. For a reader of the site: - The hero road now starts at a dot resting on the checkout pill, bends once inside the first screen, and the Kafka, RabbitMQ and Artemis signs are plates beside it. - Headings no longer touch their text: a CSS reset was out-ranking every paragraph margin on the page. - The queue in scene 3 is the full-width strip of 28 dots at 1024 px and wider, so the caption's arithmetic holds. The status pill in the arrival scene sits under the warehouse pill, clear of the header. - The pull-back keeps its threads below the headline, draws our road in the accent, and brings the screenshot in earlier. The road dot stays out of the way of scene 6's text and relights on its result row. - Scene 5 gets its own row for the flow strip with the road cut there, a two-row pair chip and the "2 s, no reply" label (it was animated away instead of in). Scene 7 reserves the audit table's empty state. - The theme toggle is a quiet ghost button, the sky steps are visible in both schemes, and the fallback font uses measured metrics. The home is its own async chunk, so the docs no longer load it. - On a phone the page no longer shifts when the reader passes scene 7 (CLS 0.11 to 0), and the audit table is keyboard reachable. The three scene 8 callouts are re-measured on the current estate capture; they need measuring again when the redesigned Dashboard capture replaces it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e home's styles no longer ship with the docs
The home page on rahdar.dev changed after review:
- The theme button names the scheme a click switches to ("Light" while dark, "Dark" while light) and carries an accessible name of "Switch to light scheme" or "Switch to dark scheme".
- The road's walls are two road widths each instead of three, so the hero reads as a road and not a grey ribbon; the Kafka, RabbitMQ and Artemis plates stand 8 px off the wall.
- The "2 s, no reply" label stands outside the road, and the audit caption of the hold scene stops before the road.
- Scene 2 starts at the top instead of leaving a gap above its copy; the small-screen hero lists its supported versions one per line and no longer leaves a gap under them.
- The pull-back shows its headline as soon as it pins, and the capture and callouts lift early instead of leaving an empty screen.
- The home's stylesheet is its own file, linked from the home's head only. A docs page loads 19.5 KB gzip of CSS instead of 27.9 KB.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… logged A RabbitMQ registration that failed for an unrelated reason could be refused with "The host name of the address does not resolve." even though every host resolved. The check now reports an unresolvable host name only when the connection failure really is one (an unknown host or an unresolved address); any other failure keeps its own cause: refused, timed out, TLS, credentials, permissions or a wrong endpoint. A refused check is now also logged once at INFO with the management URLs, the driver's reason and the failure chain, so an operator can see the real cause. User info in URLs is removed from the log. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d fills two empty scenes The rahdar.dev home now says in its hero that an AI assistant waits at the same approval gate as a person, and links the real screens. Scene 8 and the first screens tab show the Dashboard (the Needs attention table, seven tiles, Backlog marked as an estimate) in place of the old estate page, with the callouts re-measured on the new capture. The close section carries a quiet trust line linking Verify a release, and the footer explains the name. Scene 8 no longer opens as a blank gap under its headline: the mat is on the page at reduced opacity from the first paint and its capture is fetched when scene 7 is near. Scene 2's six partition lanes now run the full width under the copy. The social preview image is regenerated at 1280 x 640 from the Dashboard capture. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ird-party origin The site has a blog section with an index, a per-post layout in the docs theme with a date and author line, and an Atom 1.0 feed at /blog/feed.xml that the build writes by hand (no package, nothing from another origin). The first post explains why Kafka consumer lag is shown as an estimate, down to the Count type of the OpenBroker SDK. The root nav gains Blog and a Systems menu, and the English sidebar is regrouped into Start, Systems, Use, Operate, Extend and Reference (ADR-0244). check-home now runs its origin allowlist over the blog's Markdown too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…page, a features matrix, and fixes to stale facts The guide opens on one estate across Kafka, RabbitMQ and Artemis. A new Apache Artemis page carries registration, capability gating with the broker.xml snippet, the live and backup roles and split-brain corroboration, and the Artemis-only features. Supported versions gains a Features by system matrix filled only from what the code gates on, and the SQL Console, message capture and broker configuration pages link it. The Dashboard page lists its seven tiles with the exclusion notes they print. The quickstart leads with the single generated-.env block, with just and the bare container behind a disclosure, and its container example uses sudoit1/rahdar:latest. The reverse proxy section moves to Configuration, sizing.md is published under Reference, and Teams and permissions gets its title and description. The Chinese and Persian guides keep What Rahdar is and Quickstart, re-translated from the new English pages, and link the other pages to the English ones; their copies of Configuration, SQL Console, Message capture, Broker configuration and MCP are removed. The sentence that purge and delete are confirmed by typing the resource name is gone: they are confirmed by pressing and holding (ADR-0186). Spring Boot is 4.2 in the architecture document and the translated READMEs, and the Docker Hub page runs :latest. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The README now opens with the pitch for Kafka, RabbitMQ and Artemis, one row of three links (Quickstart, Follow one message, Docs), the five badges that prove the project is alive and secure, and the Dashboard capture. The old "Play the story" badge, which described a story that no longer exists, is gone, and the Sonar badges moved to Contributing. What it does is a grid of captures that covers every system (Kafka lag and groups, offset reset, transactions, RabbitMQ and Artemis topology) and comes before Why. The Kafka registration capture moved into the Kafka section, the hardware requirements moved below Why, and Contributing links the Q&A discussions and the engineering blog. The stack line now says Spring Boot 4.2 and the bare container example uses the latest image. README.zh.md and README.fa.md follow the same order, links and images. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The three READMEs (English, Chinese, Persian) still opened Why with the 02:51 on-call story that the new home page replaced. Why now runs from the meaning of the name straight into what Rahdar does with every cluster in one estate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on table
The seven totals now sit in one row from a 1280px window and wrap four and
three only below it, with tiles sized to their content. A long caption keeps
its key words ("Estimate: see why", "Excludes 1 cluster") and the full
per-cluster detail is behind those words, a button a keyboard reaches and a
screen reader hears in full.
The Dashboard description is one line. The selected range reads clearly in
both colour schemes (selection tint inside an accent edge, contrast-tested).
In Needs attention a finding's cluster carries its system mark and links to
the cluster. The "largest contributors" switch moved into the header of a new
"Over time" section; its URL parameter is unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Renumbers the Dashboard, site home and blog ADRs to 0245, 0246 and 0247, after the dead-letter, log transfer and declared views ADRs that main took as 0242 to 0244. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…alias Docker Hub now has two channels. `sudoit1/rahdar:nightly` is main as it stood that night, rebuilt at 02:17 UTC when the application changed since the last nightly, for trying what the next release holds. A stable release is `:<YYYY.MM.N>` (immutable), `:<YYYY.MM>` (the month's newest) and `:latest`, and its GitHub Release is titled "Rahdar <version>". The operator compose files and `.env.example` now default to `:latest` instead of the moving build, and the build cache leaves the image's tag list for its own repository. BREAKING CHANGE: `:dev` and `:stable` are no longer updated. Replace `sudoit1/rahdar:dev` with `sudoit1/rahdar:nightly`, and `sudoit1/rahdar:stable` with `sudoit1/rahdar:latest` or, for an install that must not move, a version tag such as `sudoit1/rahdar:2026.12.1`. Verify the nightly with `--signer-workflow sudoitir/rahdar/.github/workflows/nightly.yml`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A manual run from another branch would have pushed that branch as :nightly and into the shared build cache. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it as a tag Co-Authored-By: Claude Opus 5.5 <[email protected]>
minimatch 11.0.1 compiled long wildcard patterns in quadratic time and its escape() could match more than the literal input; ws 8.21 answered pings without bound and could exhaust memory. Both were build tooling of the web app and the plugin template, not code that ships in the image; npm audit now reports nothing for either. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…th the healthy clusters only The range converter parses 15m or 1h from the query and names no queue. The cap test asserted that its unreachable cluster was first of all, which other tests' clusters in the shared database can precede by name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e server sends The charts looked the series up as ENQUEUED, ACKNOWLEDGED and BACKLOG while the server names them openbroker.enqueued, openbroker.acknowledged and openbroker.backlog, so a real estate always showed "Nothing to plot in this window". The API now lists the three names as the metric's allowed values, and the web takes its names from that type. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mes on one line A panel's caption now sits under its title and holds its line before the first read, and the charts' headline figure keeps its row, so nothing moves when the data arrives. The chart's hidden tooltip no longer reads Invalid Date. In the top lists a long subscription name is cut with an ellipsis, the cluster and figure keep their columns and a cause reads under the row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A broker outside the cluster, such as a shovel's remote end, was drawn at a full box's height while its frame had room for a compact one, so the box ran out of the dashed frame. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd the guides The set shows the Dashboard on a full 15 minute window, the topology of Artemis and RabbitMQ, an offset reset and a transaction abort before they run, a Kafka dead-letter re-drive, a topic followed live, the flow graph, a query in the SQL Console and the broker configuration views. The registration shot is gone: its live check can only reach clusters the stack has registered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




What this changes
The estate Dashboard is redesigned as an operations overview (OpenSpec change
estate-dashboard-redesign, ADR-0245):A new read,
GET /api/v1/estate/series?range=15m|1h|6h|24h|7d, serves the charts from stored samples:Other overview fixes:
15mrange steps at one minute.RabbitMQ: a refused connection check is logged with its cause chain, and "does not resolve" is reported only when a host name really did not resolve.
Images and releases (ADR-0248, breaking):
:nightly, rebuilt at 02:17 UTC bynightly.ymlwhen the application changed;:devand:stableare no longer updated;:YYYY.MM.N,:YYYY.MMand:latest, titled "Rahdar ";sudoit1/rahdar-cache.Site and docs:
Tooling:
scripts/qa-shots.shruns the isolated QA stack and the capture;readme-shots.tstakes 16:10 captures;register_clusterretries a refused registration.Breaking: the OpenAPI change to the estate payloads is marked
feat(estate)!, and the image tags are markedfeat(release)!. Each commit body carries its migration steps.Verification
OpenApiSnapshotTest,EstateOverviewServiceTest,EstateSeriesServiceTest,ClusterKindsTest,ClusterViewsTest.SchemaLintTestpasses on a freshly migrated Postgres after the merge withmain. The nightly workflow's scripts pass shellcheck, and the workflows parse as YAML.2ce496c5(totals row, range picker contrast, attention rows, the "Over time" section).🤖 Generated with Claude Code