Repository navigation
Conversation
…l hooks on uninstall Fixes HexmosTech#144
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 LiveReview
⚙️ Customize risk-based approval policy for this repository or your organization.
Summary
It addresses the behavior reported in issue #144.
fix: prevent self-chaining in local hook dispatcher and clean up local hooks on uninstall
Linked Issue
Fixes #144
Validation
The targeted tests for the git-lrc uninstallGitHookSurface change pass locally.
The tests passed with the git-lrc uninstallGitHookSurface change applied; a run with it reverted gave no clear result, so no test is shown to catch this bug.
The changed test hooks/templates_test.go did not run here: no test runner for it was available.
The changed test internal/appcore/hooks_management_test.go did not run here: no test runner for it was available.
Checklist
storage/responsibilities, I updatedstorage/storage_status.mdand ranmake check-status-doc.network/responsibilities, I updatednetwork/network_status.mdand ranmake check-status-doc.SECURITY.mdand updated related documentation if needed.Notes For Reviewers
Anything specific you want reviewers to focus on.
AI was used for assistance.