Skip to content

fix(instance): improve error handling for RefreshSecrets#7260

Merged
mnencia merged 2 commits intomainfrom
dev/reconciler-refactor
Apr 10, 2025
Merged

fix(instance): improve error handling for RefreshSecrets#7260
mnencia merged 2 commits intomainfrom
dev/reconciler-refactor

Conversation

@armru
Copy link
Member

@armru armru commented Mar 28, 2025

Enhance error handling for the RefreshSecrets function across multiple components. Errors are now properly propagated and logged, ensuring that issues during secret refresh operations are surfaced and handled appropriately.

@armru armru requested a review from a team as a code owner March 28, 2025 16:50
@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.22 release-1.24 release-1.25 labels Mar 28, 2025
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@armru armru added the no-issue label Mar 28, 2025
@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

3 similar comments
@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@leonardoce
Copy link
Contributor

@leonardoce leonardoce changed the title fix:(instance): properly handle RefreshSecrets errors fix(instance): properly handle RefreshSecrets errors Apr 8, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 8, 2025
@leonardoce
Copy link
Contributor

I'm for backporting this, it is a really nice patch

@mnencia mnencia force-pushed the dev/reconciler-refactor branch from de2cf87 to 9f04bd7 Compare April 9, 2025 17:36
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 9, 2025
@mnencia
Copy link
Member

mnencia commented Apr 9, 2025

/ok-to-merge E2E green on EDB fork

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Apr 9, 2025
armru and others added 2 commits April 10, 2025 13:56
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia force-pushed the dev/reconciler-refactor branch from 174afc2 to e0e02ac Compare April 10, 2025 11:56
@mnencia mnencia changed the title fix(instance): properly handle RefreshSecrets errors fix(instance): improve error handling for RefreshSecrets Apr 10, 2025
@mnencia mnencia merged commit 852fdf6 into main Apr 10, 2025
28 checks passed
@mnencia mnencia deleted the dev/reconciler-refactor branch April 10, 2025 12:02
mnencia added a commit that referenced this pull request Apr 11, 2025
Enhance error handling for the `RefreshSecrets` function across multiple
components. Errors are now properly propagated and logged, ensuring that
issues during secret refresh operations are surfaced and handled
appropriately.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 852fdf6)
mnencia added a commit that referenced this pull request Apr 11, 2025
Enhance error handling for the `RefreshSecrets` function across multiple
components. Errors are now properly propagated and logged, ensuring that
issues during secret refresh operations are surfaced and handled
appropriately.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 852fdf6)
mnencia added a commit that referenced this pull request Apr 11, 2025
Enhance error handling for the `RefreshSecrets` function across multiple
components. Errors are now properly propagated and logged, ensuring that
issues during secret refresh operations are surfaced and handled
appropriately.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
(cherry picked from commit 852fdf6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases lgtm This PR has been approved by a maintainer no-issue ok to merge 👌 This PR can be merged release-1.22 release-1.24 release-1.25 size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants