-
Notifications
You must be signed in to change notification settings - Fork 450
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
Allow software uninstalls, script-based lock/unlock/wipe, while scripts are globally disabled #24815
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24815 +/- ##
=======================================
Coverage 63.80% 63.80%
=======================================
Files 1612 1613 +1
Lines 153447 153432 -15
Branches 4003 4003
=======================================
- Hits 97907 97900 -7
+ Misses 47742 47735 -7
+ Partials 7798 7797 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…action with (un)install scripts
…ed lock/unlock/wipe TODO: * Fix tests * Write scripts to DB as eligible for skipping script disabled, read from DB when scripts disabled
…ed has no effect)
…s pending scripts when script execution is disabled globally
f1aa3d8
to
3e706c4
Compare
…ripts are disabled
Repushed to renumber the migration as stuff has merged ahead of me. @RachelElysia I've assigned FE review to you as it should be quick. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Left some nit comments and pending merging main
(conflict).
server/datastore/mysql/migrations/tables/20241224000000_InternalHostScriptResults_test.go
Outdated
Show resolved
Hide resolved
# Conflicts: # ee/server/service/software_installers_test.go # server/datastore/mysql/schema.sql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FE looks good
For #22875.
Checklist for submitter
If some of the following don't apply, delete the relevant line.
changes/
,orbit/changes/
oree/fleetd-chrome/changes
.See Changes files for more information.
SELECT *
is avoided, SQL injection is prevented (using placeholders for values in statements)COLLATE utf8mb4_unicode_ci
).