hercules-ci / support

User feedback, questions and our public roadmap. help@hercules-ci.com
5 stars 1 forks source link

Evaluation stuck indefinitely on large package set #67

Closed DavHau closed 1 year ago

DavHau commented 2 years ago

This job, which is a flake exporting about 5000 packages, is stuck indefinitely.

There is an Evaluation limit reached error, but the evaluation does not terminate.

The repo is automatically updated by a bot, so the number of such stuck hercules jobs increases every day: https://github.com/nix-community/dream2nix-nodejs-auto/commits/data I will now cancel the jobs manually except the one which I linked above, to allow for debugging.

roberth commented 2 years ago

I've made a change to the backend that should help with stuckness, though you'll have to cancel the (second-to) last job by hand.

Evaluation limit reached error,

This is actually due to the large amount of derivations rather than the intended limit on attributes. hercules-ci-agent master should fix this. I've created a PR to update it directly, https://github.com/nix-community/infra/pull/261. Otherwise it will take an agent release, a nixpkgs haskell-updates update, and channel update for this fix to reach you.

zowoq commented 1 year ago

@roberth Can we fix this in nixpkgs by patching the agent?

Opened a PR: https://github.com/NixOS/nixpkgs/pull/199292