Skip to content

Automatic plugin installation does not work in version 4.0.0 #1912

@florianmutter

Description

@florianmutter

Bug description

When running we get the following output:

$ npx @datadog/datadog-ci synthetics run-tests
Could not find @datadog/datadog-ci-plugin-synthetics. Installing...

┏━ [Installed plugin 🔌]
┃ Successfully installed @datadog/datadog-ci-plugin-synthetics@4.0.0
┗━


┏━ [Plugin not installed 🔌]
┃ The datadog-ci synthetics run-tests command could not be found.
┃ To use this command, please install @datadog/datadog-ci-plugin-synthetics alongside datadog-ci.
┗━

You can install the plugin using:
  datadog-ci plugin install synthetics
or
  datadog-ci plugin install @datadog/datadog-ci-plugin-synthetics

To troubleshoot, run:
  datadog-ci plugin check synthetics
or
  datadog-ci plugin check synthetics run-tests

Next run does not fail anymore

Describe what you expected

We expect the command to work on the first try.

Steps to reproduce the issue

Run npx @datadog/datadog-ci synthetics run-tests

Additional context

  • macOS 26
  • node v20.19.5
  • npx v10.8.2

Command

synthetics

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsyntheticsRelated to [synthetics]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions