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(FR-382, FR-384): Handle deprecated image name fields in service launcher and image download #3042

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

ironAiken2
Copy link
Contributor

@ironAiken2 ironAiken2 commented Jan 17, 2025

resolves #3043 (FR-384) #3044 (FR-382)

Introduces a new namespace field for image objects while deprecating the existing name field. This change affects how image names are constructed throughout the application, particularly in the image installation modal, service launcher, and endpoint detail pages.

The image name construction now prioritizes the namespace field, falling back to name when namespace is not available: registry/namespace:tag or registry/name:tag.

Checklist:

  • 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

@github-actions github-actions bot added the size:M 30~100 LoC label Jan 17, 2025
Copy link
Contributor Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

@ironAiken2 ironAiken2 force-pushed the fix/handling-deprecated-name-field branch from 2b16f2c to 53437f5 Compare January 17, 2025 04:55
Copy link

github-actions bot commented Jan 17, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements 4.93% 398/8074
🔴 Branches
4.25% (-0.01% 🔻)
239/5617
🔴 Functions 2.95% 78/2640
🔴 Lines 4.85% 383/7899

Test suite run success

124 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from 5e36c40

@ironAiken2 ironAiken2 marked this pull request as ready for review January 17, 2025 05:08
@ironAiken2 ironAiken2 force-pushed the fix/handling-deprecated-name-field branch from 53437f5 to 70fa7d9 Compare January 17, 2025 05:54
@ironAiken2 ironAiken2 force-pushed the fix/handling-deprecated-name-field branch from 70fa7d9 to 91dca1f Compare January 17, 2025 07:02
@ironAiken2 ironAiken2 requested a review from yomybaby January 17, 2025 07:03
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 Jan 17, 2025

Merge activity

…auncher and image download (#3042)

resolves #3043 (FR-384) #3044 (FR-382)

Introduces a new `namespace` field for image objects while deprecating the existing `name` field. This change affects how image names are constructed throughout the application, particularly in the image installation modal, service launcher, and endpoint detail pages.

The image name construction now prioritizes the `namespace` field, falling back to `name` when namespace is not available: `registry/namespace:tag` or `registry/name:tag`.

**Checklist:**
- [ ] 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
@yomybaby yomybaby force-pushed the fix/handling-deprecated-name-field branch from 07aff36 to 5e36c40 Compare January 17, 2025 08:36
@graphite-app graphite-app bot merged commit 5e36c40 into main Jan 17, 2025
7 checks passed
@graphite-app graphite-app bot deleted the fix/handling-deprecated-name-field branch January 17, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M 30~100 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem occurs with installing a new image
2 participants