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

Update console_link logic on clearing snapshots with missing repo #1219

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

AndreKurait
Copy link
Member

@AndreKurait AndreKurait commented Jan 3, 2025

Description

Update console_link logic on clearing snapshots with missing repo

Fixes error

�[31m�[1mERROR   �[0m console_link.middleware.clusters:clusters.py:101 Error clearing snapshots from repository 'migration_assistant_repo': 404 Client Error: Not Found for url: [https://vpc-os-cluster-rfs-integ1-gqpxocxdv5z7hnfmjpvtekpvsy.us-east-1.es.amazonaws.com:443/_snapshot/migration_assistant_repo/_all](https://vpc-os-cluster-rfs-integ1-gqpxocxdv5z7hnfmjpvtekpvsy.us-east-1.es.amazonaws.com/_snapshot/migration_assistant_repo/_all)

Updates GHA to run with both 7.10 and 6.8 tests (will apply after pr is merged)

Issues Resolved

N/A

Testing

Added unit test

Check List

  • New functionality includes testing
  • [N/A] Public documentation issue/PR created, if applicable.

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.

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.58%. Comparing base (6ba12ba) to head (02afc4c).
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1219      +/-   ##
============================================
+ Coverage     80.49%   80.58%   +0.08%     
  Complexity     3079     3079              
============================================
  Files           421      421              
  Lines         15650    15658       +8     
  Branches       1057     1057              
============================================
+ Hits          12598    12618      +20     
+ Misses         2408     2396      -12     
  Partials        644      644              
Flag Coverage Δ
unittests 80.58% <ø> (+0.08%) ⬆️

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.

@AndreKurait AndreKurait marked this pull request as ready for review January 3, 2025 18:52
runs-on: ubuntu-latest
strategy:
matrix:
job-name: [full-es68source-e2e-test, rfs-default-e2e-test]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I have a few concerns here and would like to wait on enabling another Jenkins job on PRs:

  1. What is the additional tax on PR wait time
  2. Is this providing much value that our full test isn't covering? We would need to have additional environments on standby like we do for the full test in our current model as well to support this

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed for now, we can revisit later

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sure happy to chat more around this sometime

This reverts commit d49877d.
Signed-off-by: Andre Kurait <[email protected]>
Copy link
Collaborator

@lewijacn lewijacn left a comment

Choose a reason for hiding this comment

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

Thanks for taking up, I had this in my own mental backlog somewhere

@AndreKurait AndreKurait merged commit c79186d into opensearch-project:main Jan 3, 2025
22 checks passed
@AndreKurait AndreKurait deleted the FixRFSE2EJenkins branch January 3, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants