The GitHub Actions job "CI" on 
rocketmq-dashboard.git/codex/cluster-drop-uncomputed-counts has succeeded.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
21290d687296578767a8bc5883791110355cc85e / iloveeyjafjalla <[email protected]>
fix(cluster): drop the resource counts no cluster path measures

GET /api/clusters and GET /api/clusters/{id} answered topicCount: 0 and
groupCount: 0 for every cluster. Nothing measures them on a cluster path:
RocketMQClusterProvider hardcoded both in buildClusterVO, RealClusterProvider
never set them, and the repository only copies them through - the sole
non-zero values in the tree were the demo fixtures it builds itself.

Both fields are primitives, so a client could not tell "no topics" from "not
measured": docs/api-spec.md documents them as plain counts and the web type
declares them numbers. The measured per-cluster numbers are already served by
GET /api/dashboard, which walks each master broker for them (32 topics and
1 consumer group for the same cluster the list called empty).

Drop the two counts from the view, the spec and the web type, and pin the wire
shape so re-adding one means teaching a cluster path to measure it first.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/45939813943

With regards,
GitHub Actions via GitBox

Reply via email to