Skip to content

[WLM] Add WLM mode validation for workload group CRUD requests #18652

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

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

Conversation

ruai0511
Copy link
Contributor

Description

This PR adds a check for the current WLM mode in the prepareRequest() method of the Create, Update, and Delete workload group handlers. If the WLM mode is set to DISABLED, the requests will now fail with error, preventing unintended workload group operations when WLM is turned off.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ruai0511 ruai0511 requested a review from a team as a code owner June 30, 2025 20:45
@ruai0511 ruai0511 changed the title [WLM] Add check for WLM mode to control whether CRUD requests for workload group proceed [WLM] Add WLM mode validation for workload group CRUD requests Jun 30, 2025
@ruai0511 ruai0511 force-pushed the wlmmode-fix branch 3 times, most recently from 145a19b to 4705a32 Compare June 30, 2025 20:51
Copy link
Contributor

❌ Gradle check result for 4705a32: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented Jul 1, 2025

❌ Gradle check result for ab07f3d: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Ruirui Zhang <[email protected]>
Copy link
Contributor

github-actions bot commented Jul 3, 2025

❌ Gradle check result for 13c3030: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

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

Successfully merging this pull request may close these issues.

2 participants