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

fix: ensure namespace parallelism and parallelism work together. Fixes #10985 #14039

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

isubasinghe
Copy link
Member

@isubasinghe isubasinghe commented Dec 30, 2024

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

@isubasinghe isubasinghe changed the title Fix namespace parallelism. Fixes #10985 fix: ensure namespace parallelism and parallelism work together. Fixes #10985 Dec 30, 2024
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
Signed-off-by: isubasinghe <[email protected]>
@isubasinghe
Copy link
Member Author

/retest

@isubasinghe
Copy link
Member Author

/retest

@Joibel Joibel self-assigned this Jan 2, 2025
@Joibel Joibel added area/controller Controller issues, panics area/parallelism `parallelism` for the Controller, Workflows, or templates labels Jan 2, 2025
@isubasinghe
Copy link
Member Author

/retest

2 similar comments
@isubasinghe
Copy link
Member Author

/retest

@isubasinghe
Copy link
Member Author

/retest

@isubasinghe isubasinghe marked this pull request as ready for review January 3, 2025 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Controller issues, panics area/parallelism `parallelism` for the Controller, Workflows, or templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot set both parallelism and namespaceParallelism
2 participants