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

FMA: missing pieces #22593

Merged
merged 3 commits into from
Oct 3, 2024
Merged

FMA: missing pieces #22593

merged 3 commits into from
Oct 3, 2024

Conversation

roperzh
Copy link
Contributor

@roperzh roperzh commented Oct 2, 2024

Checklist for submitter

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

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.
  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements)
  • Added support on fleet's osquery simulator cmd/osquery-perf for new osquery data ingestion features.
  • Added/updated tests
  • If paths of existing endpoints are modified without backwards compatibility, checked the frontend/CLI for any necessary changes
  • If database migrations are included, checked table schema to confirm autoupdate
  • For database migrations:
    • Checked schema for all modified table for columns that will auto-update timestamps during migration.
    • Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects.
    • Ensured the correct collation is explicitly set for character columns (COLLATE utf8mb4_unicode_ci).
  • Manual QA for all new/changed functionality
  • For Orbit and Fleet Desktop changes:
    • Orbit runs on macOS, Linux and Windows. Check if the orbit feature/bugfix should only apply to one platform (runtime.GOOS).
    • Manual QA must be performed in the three main OSs, macOS, Windows and Linux.
    • Auto-update manual QA, from released version of component to new version (see tools/tuf/test).

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 78.85463% with 48 lines in your changes missing coverage. Please review.

Please upload report for BASE (feat-fleet-app-library@3727474). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/mdm/maintainedapps/scripts.go 79.89% 34 Missing and 5 partials ⚠️
ee/server/service/maintained_apps.go 69.23% 2 Missing and 2 partials ⚠️
ee/server/service/software_installers.go 33.33% 2 Missing ⚠️
server/mdm/maintainedapps/ingest.go 50.00% 1 Missing and 1 partial ⚠️
server/service/maintained_apps.go 90.90% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##             feat-fleet-app-library   #22593   +/-   ##
=========================================================
  Coverage                          ?   65.15%           
=========================================================
  Files                             ?     1518           
  Lines                             ?   117804           
  Branches                          ?     3532           
=========================================================
  Hits                              ?    76761           
  Misses                            ?    33913           
  Partials                          ?     7130           
Flag Coverage Δ
backend 66.44% <78.85%> (?)
frontend 52.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.

@roperzh roperzh marked this pull request as ready for review October 3, 2024 16:00
@roperzh roperzh requested review from a team as code owners October 3, 2024 16:00
Copy link
Contributor

@gillespi314 gillespi314 left a comment

Choose a reason for hiding this comment

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

Very nice!

})
}

type scriptBuilder struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

Neato!

Copy link
Contributor

@jahzielv jahzielv left a comment

Choose a reason for hiding this comment

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

backend lgtm ✨

@roperzh roperzh merged commit ad99cbd into feat-fleet-app-library Oct 3, 2024
24 of 25 checks passed
@roperzh roperzh deleted the fma-missing-pieces branch October 3, 2024 17:49
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.

3 participants