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] feat: only allow essential use case when creating workspace if all data sources are serverless #7684

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport f59c2b9 from #7612.

…ce if all data sources are serverless (#7612)

* feat: only allow essential use case when all data sources are serverless

Signed-off-by: tygao <tygao@amazon.com>

* Changeset file for PR #7612 created/updated

* update and only keep workspace create case

Signed-off-by: tygao <tygao@amazon.com>

* Changeset file for PR #7612 created/updated

* remove useless disabled logic

Signed-off-by: tygao <tygao@amazon.com>

* use useMemo

Signed-off-by: tygao <tygao@amazon.com>

* update filter and tests to update with essiential use case change

Signed-off-by: tygao <tygao@amazon.com>

---------

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

❌ 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 Aug 12, 2024

Codecov Report

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

Project coverage is 63.79%. Comparing base (f2f363a) to head (7eba135).
Report is 2 commits behind head on 2.x.

Files Patch % Lines
src/plugins/workspace/public/utils.ts 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #7684      +/-   ##
==========================================
+ Coverage   63.78%   63.79%   +0.01%     
==========================================
  Files        3633     3633              
  Lines       80167    80194      +27     
  Branches    12689    12696       +7     
==========================================
+ Hits        51134    51161      +27     
  Misses      25930    25930              
  Partials     3103     3103              
Flag Coverage Δ
Linux_1 30.64% <90.00%> (+<0.01%) ⬆️
Linux_2 55.75% <ø> (ø)
Linux_3 40.62% <ø> (+<0.01%) ⬆️
Linux_4 31.47% <ø> (+0.01%) ⬆️
Windows_1 30.66% <90.00%> (+<0.01%) ⬆️
Windows_2 55.70% <ø> (ø)
Windows_3 40.63% <ø> (+<0.01%) ⬆️
Windows_4 31.47% <ø> (+0.01%) ⬆️

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 ruanyl merged commit a35df4b into 2.x Aug 12, 2024
68 of 70 checks passed
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.17.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants