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: better filtering to handle de-scoping after uninstall edge case #24963

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

jahzielv
Copy link
Contributor

Issue found during testing

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements)
  • Added/updated tests
  • Manual QA for all new/changed functionality

@jahzielv jahzielv marked this pull request as ready for review December 20, 2024 21:52
@jahzielv jahzielv requested a review from a team as a code owner December 20, 2024 21:52
Comment on lines +2299 to +2300
LEFT OUTER JOIN
host_script_results hsr ON hsr.host_id = :host_id AND hsr.execution_id = hsi.last_uninstall_execution_id
Copy link
Contributor

Choose a reason for hiding this comment

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

We can keep an eye on performance and maybe consider adding some index coverage on some of these columns in the future.

@jahzielv jahzielv merged commit 4a4ebfb into feat-labels-scoped-software Dec 20, 2024
16 checks passed
@jahzielv jahzielv deleted the jve-fix-descope branch December 20, 2024 21:56
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.79%. Comparing base (7aa0433) to head (7df39fa).
Report is 42 commits behind head on feat-labels-scoped-software.

Additional details and impacted files
@@                       Coverage Diff                       @@
##           feat-labels-scoped-software   #24963      +/-   ##
===============================================================
+ Coverage                        63.56%   63.79%   +0.23%     
===============================================================
  Files                             1604     1604              
  Lines                           152081   152748     +667     
  Branches                          3967     3960       -7     
===============================================================
+ Hits                             96663    97445     +782     
+ Misses                           47715    47536     -179     
- Partials                          7703     7767      +64     
Flag Coverage Δ
backend 64.61% <100.00%> (+0.23%) ⬆️

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants