123123213weqw opened a new pull request, #6136: URL: https://github.com/apache/rocketmq-dashboard/pull/6136
## Why `restoreNumbers` (already on main) converts `json.Number` leaves before YAML encoding. The exactness guarantees it exists for are not pinned anywhere: a regression back to quoting, or a switch to float64-first parsing, would only be caught in production. ## What changed - Adds `internal/output/yaml_numbers_test.go`: numbers render unquoted; an offset of 2^53+1 keeps its exact digits through the YAML round-trip; floats stay floats; nested maps/slices are walked. ## Validation - `go test ./internal/output/ ./cmd/` green on top of current rocketmq-studio; gofmt/vet clean. Test-only change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
