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

fix: remove the MustGatherContext and InsightsOperatorContext #4330

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xiangce
Copy link
Contributor

@xiangce xiangce commented Jan 9, 2025

These two contexts are actually used by CCX rules and redefined
in CCX Core too. They are not used in case of non-CCX scenario.
Leaving them here would cause archive context identification
error, see RHINENG-15103

And deprecate all relevant example scripts, e.g. insighst.ocp and
insights.ocpshell. From now on, the CCX Core will be the only
entry to analyze must gather and insights operator archives.

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • No Sensitive Data in this change?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

Add your description here

@xiangce xiangce requested a review from JoySnow January 9, 2025 07:46
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.05%. Comparing base (2afde47) to head (5347fef).

Files with missing lines Patch % Lines
insights/core/context.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4330      +/-   ##
==========================================
- Coverage   77.06%   77.05%   -0.01%     
==========================================
  Files         736      736              
  Lines       41366    41360       -6     
  Branches     8789     8787       -2     
==========================================
- Hits        31877    31869       -8     
- Misses       8429     8432       +3     
+ Partials     1060     1059       -1     
Flag Coverage Δ
unittests 77.03% <66.66%> (-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.

@zhangqianqian
Copy link
Collaborator

test me

2 similar comments
@zhangqianqian
Copy link
Collaborator

test me

@zhangqianqian
Copy link
Collaborator

test me

These two contexts are actually used by CCX rules and redefined
in CCX Core too.  They are not used in case of non-CCX scenario.
Leaving them here would cause archive context identification
error, see RHINENG-15103.  After this the CCX Core will be the
only entry for analyzing must-gather and insights operator archive.

Signed-off-by: Xiangce Liu <xiangceliu@redhat.com>
Signed-off-by: Xiangce Liu <xiangceliu@redhat.com>
Signed-off-by: Xiangce Liu <xiangceliu@redhat.com>
@zhangqianqian
Copy link
Collaborator

test me

@xiangce xiangce added the QE label Jan 13, 2025
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