Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Conversation

@noidname01
Copy link
Contributor

What is this PR for?

Former PR has some edge case.
Like:

  • -
  • --invalid

Valid cases are like:

  • valid-one
  • valid1

So I change the pattern for validating experiment name to filter these cases.
And I also add this pattern to experiment name of predefine template.

What type of PR is it?

[Bug Fix]

Todos

None

What is the Jira issue?

https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-955

How should this be tested?

Open the workbench and type invalid experiment name.

Screenshots (if appropriate)

invalid name on custom experiment
2021-08-01 14-47-13 的螢幕擷圖
invalid name on predefine experiment
2021-08-01 14-47-34 的螢幕擷圖
valid name on custom experiment
2021-08-01 14-48-07 的螢幕擷圖
valid name on predefine experiment
2021-08-01 14-47-52 的螢幕擷圖

Questions:

  • Do the license files need updating? No
  • Are there breaking changes for older versions? No
  • Does this need new documentation? No

Copy link
Member

@kevin85421 kevin85421 left a comment

Choose a reason for hiding this comment

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

In addition, I am not familiar with regex, but we can discuss the regex with @MortalHappiness in today's meeting.

Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

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

LGTM

@asfgit asfgit closed this in be8d662 Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants