Repository navigation
[2.1] Keep service lists available when a connection cannot decrypt (backport 2.1 #35681) - #38998
Merged
Merged
Conversation
Contributor
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
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.
Describe your changes:
Backport of PR #35681 to 2.1. Fixes #31887.
When one service has a stored connection that cannot be decrypted, the whole service list request used to fail, so every other service disappeared from the UI. The list now handles each service on its own: the broken service is returned with its connection cleared, and the healthy ones are returned as before. Nothing is written, and reading or saving a single service behaves as before.
2.1 still has the old code in
ServiceEntityResource, so the cherry-pick applied with no conflicts and no changes to the original code.Type of change:
Tests:
ServiceEntityResourceTest: 6 passed on this branch.ServiceConnectionResilienceITwas not run on 2.1. The original PR ran it on MySQL and PostgreSQL.