-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
fix: ensure namespace parallelism and parallelism work together. Fixes #10985 #14039
Conversation
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
2 similar comments
/retest |
/retest |
/retest |
@isubasinghe The E2E tests are broken due to a bug in Kit. I have a fix for it in #14048. Could you please review that PR? |
183177a
to
8be3e3c
Compare
/retest |
Thanks, I will do |
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also needs some documentation in docs/parallelism.md
to document that when using namespaceParallelism a lower priority workflow in a namespace that has capacity will run before a high priority workflow in a namespace with no capacity.
I assume this is the intentional behaviour - it feels the sane option.
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
1 similar comment
/retest |
/retest |
The test have gotten flakier, unsure if this contributed or something else did. |
Signed-off-by: isubasinghe <isitha@pipekit.io>
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
This PR seems to be the cause of the SignalsSuite test failures - they almost always fail with this change, and reverting makes them much better. |
…argoproj#10985 (argoproj#14039) Signed-off-by: isubasinghe <isitha@pipekit.io>
…argoproj#10985 (argoproj#14039) Signed-off-by: isubasinghe <isitha@pipekit.io>
…argoproj#10985 (argoproj#14039) Signed-off-by: isubasinghe <isitha@pipekit.io>
Fixes #10985
Motivation
The current throttler code does not work when used in unison with namespace parallelism and parallelism. This is because the concept of the chain throttler unfortunately doesn't work.
Modifications
Corrected a bug where workflows weren't added into the running list/map when the parallelism was set to 0.
Added tracking for namespace counts into a new throttler.
Verification
Relied on tests to pass