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

GraphQL API modify_compute_session fails to validate duplicate names #3467

Open
yomybaby opened this issue Jan 15, 2025 — with Lablup-Issue-Syncer · 0 comments
Open

Comments

@yomybaby
Copy link
Member

Summary  

Currently, the GraphQL API modify_compute_session does not validate name duplication.

Steps to Reproduce  

  1. Use the modify_compute_session mutation with a session name that already exists.
  2. Observe that the API does not raise an error and proceeds with the modification. 
  3. Check the resulting session list, which now contains duplicate names.

Expected Behavior  

The API should validate the session name to prevent duplication. An error message should be returned if a duplicate name is detected.

Actual Behavior

The API return result without validate error for the duplicated name.

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

No branches or pull requests

1 participant