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

fix: limit number of characters of model service name #2003

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

kyujin-cho
Copy link
Member

This PR updates model service constraint regex and its corresponding internationalization string to prevent model service session from being silently failing to be created. Due to the forming logic of model service session's name field (<Model Service Name>-<UUID>), the service name has to be smaller than 27 characters.

Checklist: (if applicable)

@kyujin-cho kyujin-cho requested a review from yomybaby October 28, 2023 07:53
@kyujin-cho kyujin-cho self-assigned this Oct 28, 2023
@kyujin-cho kyujin-cho added this to the 23.09 milestone Oct 28, 2023
@github-actions github-actions bot added field:UI / UX field:localization size:XL 500~ LoC size:L 100~500 LoC size:M 30~100 LoC and removed size:XL 500~ LoC size:L 100~500 LoC labels Oct 28, 2023
@kyujin-cho kyujin-cho force-pushed the fix/service-name-too-long branch from 23110a8 to 16995cf Compare October 28, 2023 07:58
@github-actions
Copy link

github-actions bot commented Oct 28, 2023

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 2.42% 52/2153
🔴 Branches 1.42% 16/1123
🔴 Functions 0.81% 6/743
🔴 Lines 2.46% 52/2116

Test suite run success

10 tests passing in 3 suites.

Report generated by 🧪jest coverage report action from 2e711da

@aws-amplify-ap-northeast-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2003.d3g9cs6u59b8lw.amplifyapp.com

Copy link
Member

@inureyes inureyes left a comment

Choose a reason for hiding this comment

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

LGTM

@inureyes inureyes merged commit 281e29a into main Nov 1, 2023
7 checks passed
@inureyes inureyes deleted the fix/service-name-too-long branch November 1, 2023 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants