Skip to content

Conversation

lewijacn
Copy link
Collaborator

@lewijacn lewijacn commented Mar 21, 2025

Description

To allow for more accurate status tracking of K8s pods, this introduces a TERMINATING status for K8s services so that users and our test cases can better tell when a service has completely scaled down.

This change also refactors to use the K8s python client as there doesn't seem to be a good reason to use the kubectl command directly

Issues Resolved

N/A

Testing

Unit testing and local K8s testing

Check List

  • New functionality includes testing
  • 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.

Signed-off-by: Tanner Lewis <[email protected]>
@lewijacn lewijacn temporarily deployed to migrations-cicd March 21, 2025 16:25 — with GitHub Actions Inactive
Signed-off-by: Tanner Lewis <[email protected]>
@lewijacn lewijacn temporarily deployed to migrations-cicd March 21, 2025 16:30 — with GitHub Actions Inactive
Signed-off-by: Tanner Lewis <[email protected]>
@lewijacn lewijacn temporarily deployed to migrations-cicd March 21, 2025 17:25 — with GitHub Actions Inactive
Signed-off-by: Tanner Lewis <[email protected]>
@lewijacn lewijacn temporarily deployed to migrations-cicd March 21, 2025 18:16 — with GitHub Actions Inactive
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.11%. Comparing base (9dd0390) to head (45daf05).
Report is 31 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1374      +/-   ##
============================================
- Coverage     80.13%   80.11%   -0.02%     
  Complexity     2978     2978              
============================================
  Files           440      440              
  Lines         16188    16207      +19     
  Branches       1078     1078              
============================================
+ Hits          12972    12985      +13     
- Misses         2582     2588       +6     
  Partials        634      634              
Flag Coverage Δ
unittests 80.11% <ø> (-0.02%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

Nice! Much more informative status and test workflow.

@lewijacn lewijacn merged commit 8513e16 into opensearch-project:main Mar 25, 2025
60 checks passed
@lewijacn lewijacn deleted the enhance-status-tracking branch August 4, 2025 15:47
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