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

Dependabot running for more than 6 hours since update to version 2.40 #1523

Closed
Patrick-3000 opened this issue Dec 27, 2024 · 6 comments
Closed

Comments

@Patrick-3000
Copy link

Up to (including) Dependabot version 2.39.1099, Dependabot took ~1 hour for one of our repositiories.

Since the update to 2.40.1110, Microsoft is aborting the pipeline after 6:15 hours.

@sailro
Copy link

sailro commented Dec 30, 2024

I have the exact same issue. I have multiple dependabot pipelines, with distinct repositories. Since 2.40 all processing times exploded.

@epicstar
Copy link

This is probably a spin-off of #1441.

@sailro
Copy link

sailro commented Dec 30, 2024

@epicstar, the behaviour is clearly aligned with the 2.40 release (here jobs are canceled after 1h):

image

last good one is on 2.39.1099:
before.txt

first bad one is on 2.40.1110:
after.txt

@rhyskoedijk
Copy link
Contributor

rhyskoedijk commented Dec 30, 2024

The only code change in 2.40 was #1514. This change sets the default list of experiments to match those used by the GitHub hosted Dependabot, for better accuracy of updates.

Could you try explicitly set the experiments list in your task input so that the GitHub defaults are not used and see if this reduces the task runtime. e.g.

steps:
- task: dependabot@2
  inputs:
    # Use no experiments
    experiments: 'none'
    # Use GitHub default experiments
    #experiments: 'record-ecosystem-versions=true,record-update-job-unknown-error=true,proxy-cached=true,move-job-token=true,dependency-change-validation=true,nuget-native-analysis=true,nuget-use-direct-discovery=true,enable-file-parser-python-local=true,lead-security-dependency=true,enable-record-ecosystem-meta=true'

@sailro
Copy link

sailro commented Dec 31, 2024

Could you try explicitly set the experiments list in your task input so that the GitHub defaults are not used and see if this reduces the task runtime. e.g.

Indeed it seems to solve the issue. Thanks !

@Patrick-3000
Copy link
Author

Patrick-3000 commented Jan 3, 2025

This mitigates the issue, as Dependabot now runs ~2 hours instead of ~6 hours. However, this is still double the time compared to version < 2.40

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

4 participants