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 error toasts in sample data page #9015

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport af429b6 from #8842.

* Set default index pattern when workspace disabled

Signed-off-by: Lin Wang <[email protected]>

* Move saved objects first to avoid partial deleted

Signed-off-by: Lin Wang <[email protected]>

* Skip ui setting update for non workspace admin

Signed-off-by: Lin Wang <[email protected]>

* Add UT for sample_data_client

Signed-off-by: Lin Wang <[email protected]>

* Changeset file for PR #8842 created/updated

---------

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

github-actions bot commented Dec 6, 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 6, 2024

Codecov Report

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

Project coverage is 60.88%. Comparing base (eaadd99) to head (0c7bdd4).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...me/server/services/sample_data/routes/uninstall.ts 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #9015      +/-   ##
==========================================
+ Coverage   60.86%   60.88%   +0.01%     
==========================================
  Files        3807     3807              
  Lines       91156    91162       +6     
  Branches    14392    14393       +1     
==========================================
+ Hits        55485    55505      +20     
+ Misses      32143    32130      -13     
+ Partials     3528     3527       -1     
Flag Coverage Δ
Linux_1 29.04% <ø> (ø)
Linux_2 56.52% <ø> (ø)
Linux_3 37.83% <ø> (+<0.01%) ⬆️
Linux_4 30.02% <85.71%> (+0.02%) ⬆️
Windows_1 29.06% <ø> (ø)
Windows_2 56.48% <ø> (ø)
Windows_3 37.83% <ø> (ø)
Windows_4 30.02% <85.71%> (+0.02%) ⬆️

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.

@ruanyl
Copy link
Member

ruanyl commented Dec 6, 2024

@wanglam checked the failed ci group 11 is not related to this PR.

@ruanyl ruanyl merged commit bc25b8c into 2.x Dec 6, 2024
69 of 72 checks passed
@github-actions github-actions bot deleted the backport/backport-8842-to-2.x branch December 6, 2024 04:52
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 distinguished-contributor failed changeset workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants