Skip to content

IPA: add support of ipa to unified queue (partial) - #34005

Merged
jahzielv merged 8 commits into
feat-in-house-appsfrom
mna-33086-ipa-unified-queue-2
Oct 9, 2025
Merged

IPA: add support of ipa to unified queue (partial)#34005
jahzielv merged 8 commits into
feat-in-house-appsfrom
mna-33086-ipa-unified-queue-2

Conversation

@mna

@mna mna commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Related issue: Partial #33086

Checklist for submitter

  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements)

Testing

  • Added/updated automated tests
    I haven't added tests yet as too many things are missing (enqueue an IPA install request, XML of the command, etc.), I'll circle back to it later when more of the story is implemented - noted as todo in the ticket).

@mna mna mentioned this pull request Oct 8, 2025
3 tasks

// TODO(sarah): do we need to handle host_deleted_at similar to GetSummaryHostSoftwareInstalls?
// Currently there is no host_deleted_at in host_vpp_software_installs, so
// not handling it as part of the unified queue work.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We do soft-deletes for host software installs because the row contains the execution result (exit code, script outputs, etc.) needed for the past activity when clicking on "Details" (those activities outlive the host), but for MDM-command-based installs (VPP and In-House), the past activity contains the MDM command uuid so my understanding is that it doesn't need the host vpp installs/host in-house installs row at all.

@codecov

codecov Bot commented Oct 8, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 34.10405% with 228 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (feat-in-house-apps@7f839be). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/datastore/mysql/activities.go 30.69% 205 Missing and 14 partials ⚠️
server/datastore/mysql/vpp.go 72.41% 4 Missing and 4 partials ⚠️
server/service/mdm.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             feat-in-house-apps   #34005   +/-   ##
=====================================================
  Coverage                      ?   64.14%           
=====================================================
  Files                         ?     2056           
  Lines                         ?   206801           
  Branches                      ?     6754           
=====================================================
  Hits                          ?   132644           
  Misses                        ?    63745           
  Partials                      ?    10412           
Flag Coverage Δ
backend 65.23% <34.10%> (?)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mna
mna marked this pull request as ready for review October 8, 2025 18:28
@mna
mna requested review from a team and lukeheath as code owners October 8, 2025 18:28
@jahzielv
jahzielv merged commit e63cf00 into feat-in-house-apps Oct 9, 2025
41 checks passed
@jahzielv
jahzielv deleted the mna-33086-ipa-unified-queue-2 branch October 9, 2025 18:46
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.

2 participants