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

[Manual Backport 2.x]Fix missing customApiRegistryPromise param for test connection (#5944) #5971

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

BionIT
Copy link
Collaborator

@BionIT BionIT commented Feb 27, 2024

Description

This is cherry pick of 6d5560e from #5944

Issues Resolved

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

…earch-project#5944)

* fix missing param and add changelog and test

Signed-off-by: Lu Yu <[email protected]>

* change pr number

Signed-off-by: Lu Yu <[email protected]>

* remove dangling changelog

Signed-off-by: Lu Yu <[email protected]>

---------

Signed-off-by: Lu Yu <[email protected]>
CHANGELOG.md Outdated
@@ -81,6 +81,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [Discover] Fix missing index pattern field from breaking Discover [#5626](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5626)
- [BUG] Remove duplicate sample data as id 90943e30-9a47-11e8-b64d-95841ca0b247 ([5668](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5668))
- [BUG][Multiple Datasource] Fix datasource testing connection unexpectedly passed with wrong endpoint [#5663](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5663)
- [Table Visualization] Fix filter action buttons for split table aggregations ([#5619](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5619))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like that you include the others changes here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't include it, but it is hanging here since it was left alone from the auto backport https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5823/files, and original PR has the changelog https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5619/files

If I remove it, it will not be in 2.x but it should. How should we handle it? @bandinib-amzn @ashwin-pc

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Backport workflow, we skip changelog for backport PR. That's why we don't see changelog in autocut backport. I'm not sure if we use changelog from 2.x branch.

So for this PR, I would suggest keep only your changes in CHANGELOG.md.

@ashwin-pc Can you tell us what is best practice for changelog when we manually backport PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the dangling changelog for now

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.93%. Comparing base (b6468fa) to head (ddae494).

❗ Current head ddae494 differs from pull request most recent head ec41891. Consider uploading reports for the commit ec41891 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #5971      +/-   ##
==========================================
- Coverage   67.05%   66.93%   -0.12%     
==========================================
  Files        3305     2599     -706     
  Lines       63657    48940   -14717     
  Branches    10158     8786    -1372     
==========================================
- Hits        42684    32760    -9924     
+ Misses      18507    14039    -4468     
+ Partials     2466     2141     -325     
Flag Coverage Δ
Linux_1 ?
Linux_2 55.13% <ø> (ø)
Linux_3 44.40% <ø> (+0.75%) ⬆️
Linux_4 35.32% <ø> (ø)
Windows_1 ?
Windows_2 ?
Windows_3 ?
Windows_4 ?

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.

Flyingliuhub
Flyingliuhub previously approved these changes Feb 27, 2024
@ZilongX ZilongX merged commit 2868e0a into opensearch-project:2.x Feb 27, 2024
52 of 53 checks passed
@BionIT BionIT mentioned this pull request Mar 1, 2024
@BionIT BionIT added the v2.13.0 label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants