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

Head commit for run:
05d887688a8d9d669a59688d5b572a4da42c5eb3 / Yue Wang <[email protected]>
fix(rmqctl): keep yaml numbers unquoted

Studio results are decoded with decoder.UseNumber so int64 offsets and
timestamps beyond 2^53 survive the JSON round-trip. json.Number is a
string type and yaml.v3 has no special case for it, so every number in
a --output yaml dump was rendered quoted (skippedCount: "5"), which
breaks YAML consumers and the yaml/json payload equivalence the
renderer tests assert — TestMessageQueryCompletenessWarningTest has
been failing on main for exactly this reason.

Walk the value tree before YAML encoding and convert json.Number
leaves to int64 when parseable (keeping large offsets' exact digits),
else float64, else the raw string.

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

With regards,
GitHub Actions via GitBox

Reply via email to