Repository navigation
Conversation
While we are keeping this default so that we don't break existing users, setting this value is something that we want to move away from. The problem is that this setting limits how many operations can run in parallel. It is still possible for a single operation to max out all available cores. It is also known for a value of `2` to cause deadlocks, i.e. #6894 For now, we just allow this to be disabled with either `--set engine.args=''` or by explicitly setting this value to an empty list. This started as #7395 which turned out to be too big of a change. We since scaled back the initial ambition & are taking a smaller step towards eventually phasing this out. FWIW, all the Dagger Engines that we run inside the Dagger infra do not use the `--oci-max-parallelism` option. This also removes the option from tekton-dagger-task docs example. Signed-off-by: Gerhard Lazu <[email protected]>
--oci-max-parallelism num-cpu
| args: | ||
| - "--oci-max-parallelism" | ||
| - "num-cpu" |
There was a problem hiding this comment.
Only issue, when should we change the default?
Would we want to do a helm minor version bump instead of a patch? IMO, I think that's reasonable to do at any point, as long as we call it out in our release notes.
There was a problem hiding this comment.
I think that we should do it when we release v0.12.0. I also think that we should:
- align the chart version with the Dagger version
- add changie & release notes for the chart too
WDYT?
There was a problem hiding this comment.
Yes 🎉
Sounds perfect, let's do that!
There was a problem hiding this comment.
Could you create a tracking issue with that for the v0.12 milestone? Just so we definitely make sure to get it in.
|
@gerhard if you look at the logs, it indicates that the tests are actually complete: https://github.com/dagger/dagger/actions/runs/9449394865/job/26025540600?pr=7596#step:6:1331 But it doesn't exit. I think discussing with @vito, we think it may be a telemetry draining issue. |
matipan
left a comment
There was a problem hiding this comment.
Definitely a good idea to to allow disabling. We already suggest that for many customers running dagger in prod. I agree with Justin, we should remove it as the default in the next release! 🚀

While we are keeping this default so that we don't break existing users, setting this value is something that we want to move away from.
The problem is that this setting limits how many operations can run in parallel. It is still possible for a single operation to max out all available cores. It is also known for a value of
2to cause deadlocks, i.e. #6894For now, we just allow this to be disabled with either
--set engine.args=''or by explicitly setting this value to an empty list.This started as #7395 which turned out to be too big of a change. We since scaled back the initial ambition & are taking a smaller step towards eventually phasing this out.
FWIW, all the Dagger Engines that we run inside the Dagger infra do not use the
--oci-max-parallelismoption.This also removes the option from tekton-dagger-task docs example.