⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@agaudreault
Copy link
Member

@agaudreault agaudreault commented Jan 9, 2026

Closes #23226

Add e2e test assertions to verify that hooks have their finalizers
removed after completion, both for successful and failed syncs.

This ensures:
- Hooks do not retain finalizers after sync operations complete
- Failed hooks also have finalizers properly removed
- The hook finalizer lifecycle is correctly managed

Also fixes comment typo: 'did not create' -> 'did create' in PostSyncHookFailure

Signed-off-by: Alexandre Gaudreault <[email protected]>
…nalizer-termination

Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
@bunnyshell
Copy link

bunnyshell bot commented Jan 9, 2026

❗ Preview Environment deployment failed on Bunnyshell

See: Environment Details | Pipeline Logs

Available commands (reply to this comment):

  • 🚀 /bns:deploy to redeploy the environment
  • /bns:delete to remove the environment

Signed-off-by: Alexandre Gaudreault <[email protected]>
@agaudreault agaudreault changed the title Fix/hook finalizer termination fix(hooks): always remove finalizers Jan 9, 2026
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.

ArgoCD fails on hook-finalizer (after upgrade to 3.x)

1 participant