Skip to content

chore/allow hyphens in partition_name and slurm_cluster_name, increase max length to 20 for slurm_cluster_name#4316

Merged
mufaqam-gcl merged 2 commits intoGoogleCloudPlatform:developfrom
rbekhtaoui:AllowHyphensAndLengthIncrease
Jan 30, 2026
Merged

chore/allow hyphens in partition_name and slurm_cluster_name, increase max length to 20 for slurm_cluster_name#4316
mufaqam-gcl merged 2 commits intoGoogleCloudPlatform:developfrom
rbekhtaoui:AllowHyphensAndLengthIncrease

Conversation

@rbekhtaoui
Copy link
Contributor

In our setup, we have a Slurm cluster name that exceeds 9 characters and includes hyphens (-).
Similarly, some of our partition names also contain hyphens.

These naming patterns were not passing the existing validation rules in the Terraform module.

Changes made:

  • Updated the regex validation to allow hyphens (-) in both partition_name and slurm_cluster_name.
  • Increased the maximum allowed length for slurm_cluster_name to 20 characters (previously limited to 9).

@rbekhtaoui rbekhtaoui requested review from a team and samskillman as code owners June 25, 2025 13:00
@rbekhtaoui rbekhtaoui force-pushed the AllowHyphensAndLengthIncrease branch from 5fed3bb to 3e9dc21 Compare July 25, 2025 07:52
@rbekhtaoui rbekhtaoui force-pushed the AllowHyphensAndLengthIncrease branch from 3e9dc21 to 3a929d8 Compare August 18, 2025 09:48
@Priya-Quad
Copy link
Contributor

@rbekhtaoui Please take some action on this PR, since it is open from very long

@rbekhtaoui rbekhtaoui force-pushed the AllowHyphensAndLengthIncrease branch from 3a929d8 to 229f09b Compare December 5, 2025 08:06
@rbekhtaoui rbekhtaoui force-pushed the AllowHyphensAndLengthIncrease branch from 229f09b to c38d0ea Compare January 8, 2026 16:59
@cboneti cboneti added the release-bugfix Added to release notes under the "Bug fixes" heading. label Jan 9, 2026
@cboneti
Copy link
Member

cboneti commented Jan 9, 2026

hi @rbekhtaoui, is this ready for review?

@rbekhtaoui
Copy link
Contributor Author

hi @rbekhtaoui, is this ready for review?

Hello, yes

@rbekhtaoui rbekhtaoui force-pushed the AllowHyphensAndLengthIncrease branch from faa1c40 to b5d099c Compare January 16, 2026 08:58
Copy link
Contributor

@saara-tyagi27 saara-tyagi27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mufaqam-gcl mufaqam-gcl self-requested a review January 30, 2026 06:19
@mufaqam-gcl mufaqam-gcl enabled auto-merge (squash) January 30, 2026 06:19
Copy link
Contributor

@Neelabh94 Neelabh94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution

@Neelabh94
Copy link
Contributor

/gcbrun

@mufaqam-gcl mufaqam-gcl merged commit 90a9c1c into GoogleCloudPlatform:develop Jan 30, 2026
12 of 78 checks passed
AdarshK15 pushed a commit to AdarshK15/cluster-toolkit that referenced this pull request Jan 31, 2026
AdarshK15 pushed a commit to AdarshK15/cluster-toolkit that referenced this pull request Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-bugfix Added to release notes under the "Bug fixes" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants