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] refactor: refactor the bulk_get handler in permission wrapper when item has permission error #9156

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport d947bd6 from #8906.

…pper when item has permission error (#8906)

* return response with error

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

* set Id

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

* resolve tests

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

* Changeset file for PR #8906 created/updated

* typo

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

* fix integration tests

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

* add try catch

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

* resolve conflicts

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

* delete data source permission

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

* add try catch

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

---------

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

github-actions bot commented Jan 8, 2025

❌ 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 Jan 8, 2025

Codecov Report

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

Project coverage is 60.91%. Comparing base (d6d7d66) to head (aa299f2).
Report is 5 commits behind head on 2.x.

Files with missing lines Patch % Lines
..._objects/workspace_saved_objects_client_wrapper.ts 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #9156      +/-   ##
==========================================
- Coverage   60.91%   60.91%   -0.01%     
==========================================
  Files        3808     3808              
  Lines       91204    91209       +5     
  Branches    14392    14392              
==========================================
+ Hits        55561    55564       +3     
- Misses      32117    32119       +2     
  Partials     3526     3526              
Flag Coverage Δ
Linux_1 29.00% <81.81%> (+<0.01%) ⬆️
Linux_2 56.59% <ø> (ø)
Linux_3 37.80% <ø> (ø)
Linux_4 30.04% <ø> (ø)
Windows_1 29.01% <81.81%> (+<0.01%) ⬆️
Windows_2 56.54% <ø> (ø)
Windows_3 37.80% <ø> (ø)
Windows_4 30.04% <ø> (ø)

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.

@Hailong-am Hailong-am merged commit f68ad35 into 2.x Jan 9, 2025
69 of 73 checks passed
@github-actions github-actions bot deleted the backport/backport-8906-to-2.x branch January 9, 2025 09:48
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 failed changeset seasoned-contributor v2.19.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants