The GitHub Actions job "CI" on rocketmq-dashboard.git/fix-yaml-json-number has 
failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
48f5b6799115d03a6e82ccdc7ce199d336926f7c / lizhimins <[email protected]>
fix(rmqctl): keep numbers unquoted in YAML output

#5262 made the studio client decode response payloads with `UseNumber()` so
integer literals survive instead of being folded into float64. `json.Number` is 
a
string type, and `encoding/json` marshals it as a bare literal - but yaml.v3 
does
not know it, so every number in `-o yaml` output came out quoted (`size: "3"`)
and the payload no longer round-tripped to what the server sent.
`TestMessageQueryCompletenessWarningTest` caught it on the yaml subtests.

Restore the numeric types on the way into the YAML encoder: integers become
int64 (so 2^53+1 offsets stay exact, which is the reason `UseNumber()` is 
there),
other numbers become float64, and anything else is left alone. The JSON path is
unchanged.

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

With regards,
GitHub Actions via GitBox

Reply via email to