Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring experiments as "enable-record-ecosystem-meta=false" in dependabot@2 doesn't prevent associated logs to be displayed #1531

Open
1 task done
emmanwl opened this issue Jan 9, 2025 · 0 comments

Comments

@emmanwl
Copy link

emmanwl commented Jan 9, 2025

Describe the bug
I run a dependabot@2 (2.40.1110) task and I am setting experiments to disable enable-record-ecosystem-meta by providing
experiments: 'enable-record-ecosystem-meta=false' as a task input.

In the task log, I still can see errors traces like:

  • cli | *** | unexpected output type: record_ecosystem_data

  • updater | *** | ERROR <job_update_0_npm_and_yarn_all> Failed to record ecosystem meta after 3 retries

I was supposing that disabling this experiment would result in not displaying those lines: the thing is those retries are time consuming from what I see.

Not sure this is a bug but I am missing something obviously.

I have done the same test by providing the V2 task a similar input (but using underscores between words instead of dashes since I found references to both in the documentation):
experiments: 'enable_record_ecosystem_meta=false' but it produces the same result.

Categorization

Repository
NA

To Reproduce
Steps to reproduce the behavior:

  1. Set experiments: 'enable-record-ecosystem-meta=false' as a dependabot@2 task input
  2. Run the task, notice that the new experiments value(s) was/were correctly passed into parameter but that the "faulty" log lines remain.

Expected behavior
I would expect those log lines not to be displayed (and presumably the underlying retries not to be performed)

Logs and screenshots
See extension troubleshooting for more on how to collect additional diagnostic logs.

Extension (please complete the following information):

  • Host: [Azure DevOps Service]
  • Version [e.g. Dev19.M247.1]

Additional context
None.

@emmanwl emmanwl changed the title Configuring experiments as "enable_record_ecosystem_meta=false" in dependabot@2 doesn't prevent associated logs to be displayed Configuring experiments as "enable-record-ecosystem-meta=false" in dependabot@2 doesn't prevent associated logs to be displayed Jan 9, 2025
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

No branches or pull requests

1 participant