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

[Backport 2.x] [Workspace] Fix: optimization on handling invalid workspace id in workspace_ui_settings wrapper #6672

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 29a09b0 from #6669.

…kspace_ui_settings wrapper (#6669)

* fix: invalid workspace id

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #6669 created/updated

* Update src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts

Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* feat: update error message

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* fix: type error

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* feat: remove useless code

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
(cherry picked from commit 29a09b0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Apr 29, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 67.83%. Comparing base (fcc06de) to head (2953968).

Files Patch % Lines
...ed_objects/workspace_ui_settings_client_wrapper.ts 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #6672   +/-   ##
=======================================
  Coverage   67.82%   67.83%           
=======================================
  Files        3410     3410           
  Lines       66751    66756    +5     
  Branches    10842    10844    +2     
=======================================
+ Hits        45277    45283    +6     
+ Misses      18840    18839    -1     
  Partials     2634     2634           
Flag Coverage Δ
Linux_1 33.20% <87.50%> (+<0.01%) ⬆️
Linux_2 55.71% <ø> (ø)
Linux_3 45.27% <ø> (+<0.01%) ⬆️
Linux_4 35.07% <ø> (ø)
Windows_1 33.22% <87.50%> (+<0.01%) ⬆️
Windows_2 55.67% <ø> (ø)
Windows_3 45.27% <ø> (ø)
Windows_4 35.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@SuZhou-Joe SuZhou-Joe merged commit 67730a6 into 2.x Apr 30, 2024
92 of 93 checks passed
@github-actions github-actions bot deleted the backport/backport-6669-to-2.x branch April 30, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports bug Something isn't working seasoned-contributor v2.14.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants