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][Bug] Check if workspaces exists when creating saved objects #8997

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 340326f from #8739.

…ts (#8739)

* Check if workspaces exists when creating saved objects

Signed-off-by: yubonluo <[email protected]>

* Changeset file for PR #8739 created/updated

* optimize the code

Signed-off-by: yubonluo <[email protected]>

* fix test error

Signed-off-by: yubonluo <[email protected]>

* optimize the code

Signed-off-by: yubonluo <[email protected]>

* fix test errors

Signed-off-by: yubonluo <[email protected]>

* add integration tests

Signed-off-by: yubonluo <[email protected]>

---------

Signed-off-by: yubonluo <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 340326f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Dec 3, 2024

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 2 lines in your changes missing coverage. Please review.

Project coverage is 60.91%. Comparing base (657ff20) to head (db9c901).
Report is 20 commits behind head on 2.x.

Files with missing lines Patch % Lines
...ver/saved_objects/workspace_id_consumer_wrapper.ts 90.90% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #8997   +/-   ##
=======================================
  Coverage   60.91%   60.91%           
=======================================
  Files        3801     3801           
  Lines       91050    91054    +4     
  Branches    14366    14366           
=======================================
+ Hits        55459    55466    +7     
+ Misses      32065    32064    -1     
+ Partials     3526     3524    -2     
Flag Coverage Δ
Linux_1 29.05% <90.90%> (+<0.01%) ⬆️
Linux_2 56.52% <ø> (ø)
Linux_3 37.83% <ø> (+<0.01%) ⬆️
Linux_4 30.00% <ø> (ø)
Windows_1 29.06% <90.90%> (+<0.01%) ⬆️
Windows_2 56.48% <ø> (ø)
Windows_3 37.83% <ø> (ø)
Windows_4 30.00% <ø> (ø)

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 544cf40 into 2.x Dec 27, 2024
70 of 73 checks passed
@github-actions github-actions bot deleted the backport/backport-8739-to-2.x branch December 27, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-star-contributor autocut Skip the changelog verification check on backports failed changeset v2.19.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants