Skip to content

chore(hooks): prune allow-list entries for signals no longer emitted - #64579

Merged
susnux merged 1 commit into
masterfrom
worktree-prune-stale-hook-allowlist
Sep 20, 2026
Merged

susnux merged 1 commit into
masterfrom
worktree-prune-stale-hook-allowlist

Conversation

@susnux

@susnux susnux commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Drops rollback, pre/post_passwordReset, logout, changeUser, post_read and the OCP\Config js entry, so connecting to them fails loudly instead of silently never firing.

  • post_read was never emitted at all: runHooks only emits read in its pre branch, so ViewTest no longer connects it either.

Checklist

AI (if applicable)

Used to double check for any existing usage.

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 36 milestone Sep 20, 2026
@susnux
susnux requested a review from a team as a code owner September 20, 2026 09:18
@susnux susnux added 3. to review Waiting for reviews technical debt 🧱 🤔🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Sep 20, 2026
@susnux
susnux requested review from Altahrim, come-nc, icewind1991, provokateurin and salmart-dev and removed request for a team September 20, 2026 09:18
Drops rollback, pre/post_passwordReset, logout, changeUser, post_read and
the OCP\Config js entry, so connecting to them fails loudly instead of
silently never firing. post_read was never emitted at all: runHooks only
emits read in its pre branch, so ViewTest no longer connects it either.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux force-pushed the worktree-prune-stale-hook-allowlist branch from bee05ec to c432f48 Compare September 20, 2026 22:33
@susnux
susnux merged commit ea9a50e into master Sep 20, 2026
28 of 29 checks passed
@susnux
susnux deleted the worktree-prune-stale-hook-allowlist branch September 20, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants