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

perf: Improve CLI speed and display options #1621

Merged
merged 1 commit into from
Jun 11, 2024
Merged

perf: Improve CLI speed and display options #1621

merged 1 commit into from
Jun 11, 2024

Conversation

MoritzWeber0
Copy link
Member

  • Improve the CLI speed by only importing large modules that are required for the requested command.
  • Add an log level option to set the log level via the CLI.
  • Add resources for OpenShift compatibility
  • Generate new clients to avoid passing the Kubernetes client via parameters.

- Improve the CLI speed by only importing large modules that are required
  for the requested command.
- Add an log level option to set the log level via the CLI.
- Add resources for OpenShift compatibility
- Generate new clients to avoid passing the Kubernetes client via
  parameters.
Copy link

sonarcloud bot commented Jun 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Jun 11, 2024

Codecov Report

Attention: Patch coverage is 80.51948% with 15 lines in your changes missing coverage. Please review.

Project coverage is 80.70%. Comparing base (91ca9f5) to head (8f336e1).
Report is 143 commits behind head on main.

Files with missing lines Patch % Lines
backend/capellacollab/cli/ws.py 80.26% 11 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1621      +/-   ##
==========================================
+ Coverage   79.81%   80.70%   +0.89%     
==========================================
  Files         185      185              
  Lines        5970     6401     +431     
  Branches      666      723      +57     
==========================================
+ Hits         4765     5166     +401     
- Misses       1061     1076      +15     
- Partials      144      159      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MoritzWeber0 MoritzWeber0 merged commit 2a6e31c into main Jun 11, 2024
29 checks passed
@MoritzWeber0 MoritzWeber0 deleted the improve-cli branch June 11, 2024 15:31
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.

1 participant