Skip to content

fix(endpoint): restore Vector forwarders during package update#264

Merged
shukieshah merged 2 commits into
mainfrom
fix/forwarder-restore-on-update
Jun 26, 2026
Merged

fix(endpoint): restore Vector forwarders during package update#264
shukieshah merged 2 commits into
mainfrom
fix/forwarder-restore-on-update

Conversation

@shukieshah

Copy link
Copy Markdown
Contributor

Summary

  • Restore existing Falcon/S3 Vector forwarders during package postinstall with retry and running-state verification.
  • Preserve launchctl diagnostics when restore attempts fail.
  • Fail package/self-update if a previously configured forwarder cannot be restored, instead of silently dropping customer log forwarding.

Test plan

  • sh packaging/macos/test-endpoint-scripts.sh

Made with Cursor

Restore existing Vector forwarders with retry and diagnostics during package postinstall so self-update cannot silently stop customer log forwarding.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shukieshah shukieshah self-assigned this Jun 26, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 74c24bb. Configure here.

Comment thread packaging/macos/scripts/postinstall
Add bootout/bootstrap recovery for loaded-but-stuck Vector forwarders so package updates do not fail when kickstart cannot revive launchd state.

Co-authored-by: Cursor <cursoragent@cursor.com>
@shukieshah
shukieshah merged commit c48a4cb into main Jun 26, 2026
18 checks passed
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