Skip to content

fix(utils): support float32 in numeric conversion - #11961

Open
embrace897 wants to merge 1 commit into
deepflowio:mainfrom
embrace897:codex/main-float32-conversion
Open

embrace897 wants to merge 1 commit into
deepflowio:mainfrom
embrace897:codex/main-float32-conversion

Conversation

@embrace897

Copy link
Copy Markdown

GetValueByOffsetAndKind supports float32 fields, but ConvertToFloat64 rejects float32 values. Add the missing conversion case and format its string representation with 32-bit precision.

Validation: the isolated production-function harness fails for zero, positive, negative and fractional float32 inputs before the change and passes afterward. gofmt and diff checks pass. Full utils package testing is blocked by missing local gopsutil dependencies. Exporter integration, full server and eBPF validation were not run; current production-field reachability has not been established.

Prepared with AI assistance.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant