make clear passcode activity global as well - #43483
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
WalkthroughThe Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Makes the “cleared passcode” activity appear in the global activity feed (in addition to the host-scoped activity feed), per the design review follow-up.
Changes:
- Updated the Clear Passcode integration test to assert both host and global activities are recorded.
- Removed the
HostOnly()marker fromActivityTypeClearedPasscode, allowing it to be included in/api/latest/fleet/activities.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| server/service/integration_mdm_commands_test.go | Verifies the clear passcode action generates both host and global activity entries. |
| server/fleet/activities.go | Stops marking cleared_passcode as host-only so it shows up in the global activity list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #43483 +/- ##
==========================================
- Coverage 66.90% 66.90% -0.01%
==========================================
Files 2596 2596
Lines 208220 208220
Branches 9208 9208
==========================================
- Hits 139313 139309 -4
- Misses 56237 56239 +2
- Partials 12670 12672 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Follow up work after design review, makes the clear passcode activity global as well
Summary by CodeRabbit