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

Correctly Utilize Cache in Tables Flyout #1662

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

sejli
Copy link
Member

@sejli sejli commented Mar 29, 2024

Description

Previously, updating the cache in the tables flyout doesn't update it in the associated objects array. Fix by checking cache before loading schema.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Sean Li <lnse@amazon.com>
Signed-off-by: Sean Li <lnse@amazon.com>
Copy link

codecov bot commented Mar 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 57.60%. Comparing base (628f3fd) to head (76cefe5).

Files Patch % Lines
...ated_objects/associated_objects_details_flyout.tsx 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1662      +/-   ##
==========================================
- Coverage   57.63%   57.60%   -0.03%     
==========================================
  Files         367      367              
  Lines       13914    13921       +7     
  Branches     3649     3651       +2     
==========================================
  Hits         8019     8019              
- Misses       5832     5839       +7     
  Partials       63       63              
Flag Coverage Δ
dashboards-observability 57.60% <0.00%> (-0.03%) ⬇️

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.

@ps48 ps48 merged commit 3be2d39 into opensearch-project:main Mar 29, 2024
16 of 23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 29, 2024
* correctly check for cache on table flyout

Signed-off-by: Sean Li <lnse@amazon.com>

* skip start loading if fail

Signed-off-by: Sean Li <lnse@amazon.com>

---------

Signed-off-by: Sean Li <lnse@amazon.com>
(cherry picked from commit 3be2d39)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 29, 2024
* correctly check for cache on table flyout

Signed-off-by: Sean Li <lnse@amazon.com>

* skip start loading if fail

Signed-off-by: Sean Li <lnse@amazon.com>

---------

Signed-off-by: Sean Li <lnse@amazon.com>
(cherry picked from commit 3be2d39)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Apr 3, 2024
* correctly check for cache on table flyout



* skip start loading if fail



---------


(cherry picked from commit 3be2d39)

Signed-off-by: Sean Li <lnse@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…pensearch-project#1663)

* correctly check for cache on table flyout

* skip start loading if fail

---------

(cherry picked from commit 3be2d39)

Signed-off-by: Sean Li <lnse@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit edda14e)
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.

3 participants