Skip to content

[feat] Support version-like environment names - #3720

Draft
RiMillo wants to merge 1 commit into
reframe-hpc:developfrom
RiMillo:feat/version_like_names
Draft

[feat] Support version-like environment names#3720
RiMillo wants to merge 1 commit into
reframe-hpc:developfrom
RiMillo:feat/version_like_names

Conversation

@RiMillo

@RiMillo RiMillo commented Sep 4, 2026

Copy link
Copy Markdown

This relaxes the validation schema for environment names to allow, for instance, foo-1.0.0, 2026.09.0.

Fixes #3645.

This relaxes the validation schema for environment names to allow, for
instance, `foo-1.0.0`, `2026.09.0`.

Fixes reframe-hpc#3645

Signed-off-by: RiMillo <ricc.milani@gmail.com>
@RiMillo

RiMillo commented Sep 4, 2026

Copy link
Copy Markdown
Author

Hello,

I pushed it as draft because I would like to check with maintainers some things first:

  • If new ref name is acceptable, alphanum_ext_vers_string
  • If pattern is OK or should be extended (e.g., to accepts names like foo-1.0.0+alpha, notice + not included now)
  • If it should be applied also to system and partition names (ATM, it's only for environment)
  • If a test is needed. If so, guidance / suggestions are appreciated. ATM, I found something that might be related, test_validate_config_invalid_syntax, but it checks only system names.

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.92%. Comparing base (00ffd41) to head (315bba9).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3720   +/-   ##
========================================
  Coverage    91.92%   91.92%           
========================================
  Files           62       62           
  Lines        13808    13808           
========================================
  Hits         12693    12693           
  Misses        1115     1115           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RiMillo

RiMillo commented Sep 4, 2026

Copy link
Copy Markdown
Author

Not sure how to deal with failing CI-job about performance benchmark(?)

@vkarak vkarak added this to the ReFrame 4.11 milestone Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Relax alphanum_ext_string schema to support numeric and version-based environment names

2 participants