The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix-consumer-instance-protocol-placeholder has failed.
Run started by GitHub user 123123213weqw (triggered by 123123213weqw).

Head commit for run:
f1f62e99fd6b706a8fc9af98d27ea130e5160f2a / 123123213weqw 
<[email protected]>
fix(web): render a placeholder for an unknown instance protocol

The consumer group detail's online-instance table rendered the protocol
column through PROTOCOL_MAP[protocol], which falls back to
{ labelKey: protocol } when the protocol is unknown. The Apache provider
builds the instance list from a broker connection set that carries no
protocol marker, so the API returns the field absent for every real
deployment - t(undefined) then resolves to undefined and the column shows
an empty tag on every row (the mock data always supplies gRPC/Remoting,
which is why it looked right).

Render a muted '-' placeholder when the field is absent, and mark
protocol, subscribedTopics, lastHeartbeat and topicLag optional on the
ConsumerInstance API type to match what the backend actually returns;
the mock-mode clone helper follows suit.

Signed-off-by: 123123213weqw <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to