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: invalid environment name parsing #2860

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

agatha197
Copy link
Contributor

@agatha197 agatha197 commented Nov 19, 2024

follows #2860

Use the name value only of image_metadata.json. It resolves unexpected parsing problems.

How to test

endpoint: https://cloud.backend.ai/

  1. Create a new session.
  2. Click 'Environments & Resource allocation'.
  3. Select Environments.
  4. See error.

Before

image.png

After

image.png

Checklist: (if applicable)

  • Mention to the original issue
  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link

graphite-app bot commented Nov 19, 2024

Your org requires the Graphite merge queue for merging into main

Add the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the size:XS ~10 LoC label Nov 19, 2024
Copy link

github-actions bot commented Nov 19, 2024

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 5.29% 395/7462
🔴 Branches 4.59% 237/5165
🔴 Functions 3.16% 78/2466
🔴 Lines 5.21% 380/7295

Test suite run success

124 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 4e7230b

@agatha197 agatha197 requested a review from yomybaby November 19, 2024 13:15
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

graphite-app bot commented Nov 20, 2024

Merge activity

follows #2860

Use the `name` value only of `image_metadata.json`. It resolves unexpected parsing problems.

### How to test
> endpoint: https://cloud.backend.ai/
1. Create a new session.
2. Click 'Environments & Resource allocation'.
3. Select Environments.
4. See error.

Before

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/edf376c1-4633-4633-9841-b56edcf87649.png)

After

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/2HueYSdFvL8pOB5mgrUQ/6bd39a04-b7d1-43ac-abe6-6fdd7b90d5b1.png)

**Checklist:** (if applicable)

- [x] Mention to the original issue
- [ ] Documentation
- [ ] Minium required manager version
- [x] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
@yomybaby yomybaby force-pushed the bugfix/invalid-environment-name-parsing branch from 24cfc21 to 4e7230b Compare November 20, 2024 09:30
@graphite-app graphite-app bot merged commit 4e7230b into main Nov 20, 2024
6 checks passed
@graphite-app graphite-app bot deleted the bugfix/invalid-environment-name-parsing branch November 20, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants