DataDog / datadog-ci

Use Datadog from your CI.
https://datadoghq.com
Apache License 2.0
129 stars 55 forks source link

Deprecated cli warning log #1424

Closed filipStoklasa23 closed 2 months ago

filipStoklasa23 commented 3 months ago

Bug description

When I run datadog cli in pipeline I keep getting pollingTimeout deprecation warning even though it is not configured in the script.

npm warn exec The following package was not found and will be installed: @datadog/datadog-ci@2.42.0 The 'pollingTimeout' property is deprecated. Please use 'batchTimeout' instead. If both 'pollingTimeout' and 'batchTimeout' properties exist, 'batchTimeout' is used!

Describe what you expected

I would expect the log not to appear If I define batchTimeout in the script

Steps to reproduce the issue

Run: npx -p @datadog/datadog-ci@2.42.0 datadog-ci synthetics run-tests ... --batchTimeout 12000

Additional context

Command

synthetics

Drarig29 commented 2 months ago

Hi @filipStoklasa23! We added a card in our backlog. For now, you can simply ignore that warning.

Drarig29 commented 2 months ago

Hi! We merged a fix and it will be available in the next release!

filipStoklasa23 commented 2 months ago

Thank you so much!