dd-sdk-flutter icon indicating copy to clipboard operation
dd-sdk-flutter copied to clipboard

Generating 128-bit tracing id throws on web

Open curt-weber opened this issue 7 months ago • 1 comments

Describe the bug

Using the graphql link throws when generating tracing ids on web due to integer overflow: nextInt

I had to pin the version to 1.0.1, before the 128-bit trace ids were added.

Reproduction steps

DatadogGqlLink(DatadogSdk.instance, uri),

SDK logs

No response

Expected behavior

No response

Affected SDK versions

datadog_gql_link 1.1.1

Latest working SDK version

datadog_gql_link 1.0.1

Did you confirm if the latest SDK version fixes the bug?

Yes

Flutter Version

No response

Setup Type

No response

Device Information

No response

Other relevant information

No response

curt-weber avatar Apr 23 '25 21:04 curt-weber

Hi @curt-weber ,

Sorry for the inconvenience here. I'll look into it.

Thanks for reporting!

fuzzybinary avatar Apr 28 '25 12:04 fuzzybinary

This should be fixed in 2.12.0

fuzzybinary avatar Jul 23 '25 14:07 fuzzybinary