Skip to content

improve windows resending - #40365

Merged
MagnusHJensen merged 2 commits into
mainfrom
improve-windows-resending
Feb 24, 2026
Merged

improve windows resending#40365
MagnusHJensen merged 2 commits into
mainfrom
improve-windows-resending

Conversation

@MagnusHJensen

Copy link
Copy Markdown
Member

Improves windows resending

@codecov

codecov Bot commented Feb 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.27%. Comparing base (ddeeb39) to head (930064c).
⚠️ Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #40365      +/-   ##
==========================================
- Coverage   66.27%   66.27%   -0.01%     
==========================================
  Files        2459     2459              
  Lines      196694   197077     +383     
  Branches     8609     8609              
==========================================
+ Hits       130364   130614     +250     
- Misses      54516    54637     +121     
- Partials    11814    11826      +12     
Flag Coverage Δ
backend 68.14% <100.00%> (-0.01%) ⬇️

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.

@JordanMontgomery JordanMontgomery left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

one question. Assuming we don't allow users to control the UUIDs on custom commands, LGTM

Comment thread server/service/microsoft_mdm.go Outdated
if protoCMD.Cmd.Data != nil && *protoCMD.Cmd.Data == "418" {
if protoCMD.Cmd.Data != nil && *protoCMD.Cmd.Data == "418" && protoCMD.Cmd.CmdRef != nil {
if _, err := uuid.Parse(*protoCMD.Cmd.CmdRef); err != nil {
continue // if it's not a valid UUID, we skip it since it can't be a reference to a command_uuid in windows_mdm_commands

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If a user runs a custom command do we allow them to control the UUID?

@MagnusHJensen
MagnusHJensen merged commit 8d5be2f into main Feb 24, 2026
48 checks passed
@MagnusHJensen
MagnusHJensen deleted the improve-windows-resending branch February 24, 2026 14:10
MagnusHJensen added a commit that referenced this pull request Feb 24, 2026
Improves windows resending
iansltx pushed a commit that referenced this pull request Feb 24, 2026
@georgekarrv

Copy link
Copy Markdown
Member

#40628

georgekarrv pushed a commit that referenced this pull request Feb 27, 2026
Improves windows resending
@georgekarrv georgekarrv mentioned this pull request Mar 3, 2026
@georgekarrv georgekarrv mentioned this pull request Mar 6, 2026
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.

3 participants