Skip to content

fix(endpoint): refresh user hooks after package install#271

Merged
shukieshah merged 1 commit into
mainfrom
fix/postinstall-refresh-user-hooks
Jun 29, 2026
Merged

fix(endpoint): refresh user hooks after package install#271
shukieshah merged 1 commit into
mainfrom
fix/postinstall-refresh-user-hooks

Conversation

@shukieshah

Copy link
Copy Markdown
Contributor

Summary

  • Add a hidden endpoint hooks repair-installed command that refreshes Beacon-managed user hooks for the active console user while preserving non-Beacon hooks.
  • Invoke the hook refresh best-effort from macOS package postinstall so self-updates refresh copied beacon-hooks payloads.
  • Document optional Jamf self-update enablement and MDM-owned inventory log/state permission remediation.

Test plan

  • cd cli/beacon && go test ./cmd -run 'TestRepairInstalledEndpointHooks' -count=1 -v
  • cd cli/beacon && go test ./...
  • sh packaging/macos/test-endpoint-scripts.sh
  • git diff --check

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@shukieshah shukieshah self-assigned this Jun 29, 2026
@shukieshah
shukieshah merged commit f1e9493 into main Jun 29, 2026
17 checks passed
@mintlify

mintlify Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
asymptote-labs 🟢 Ready View Preview Jun 29, 2026, 5:02 PM

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.

1 participant